Excel Forum
Similar Content
Filter Data in Excel to Display Results that Contain 1 of 2 Possible Values - AutoFilter
Macro: This Excel macro filters data in Excel to display results that contain 1 of 2 possible val...
Generate a Unique List of Random Numbers With a Simple Formula + (GUID/UUID Generator)
Tutorial: Sections: GUID/UUID V4 Formula in Excel Versatile Formula to Generate a Unique List of N...
Increment a Value Every X Number of Rows in Excel
Tutorial: (New Easier Version for Excel 2010 and Later) How to increment a value, number, percent, e...
Excel VBA Course
Excel VBA Course - From Beginner to Expert

200+ Video Lessons
50+ Hours of Video
200+ Excel Guides

Become a master of VBA and Macros in Excel and learn how to automate all of your tasks in Excel with this online course. (No VBA experience required.)

View Course




Excel Magic Trick 261: Random Num 1- 100 Not Divisible By 3


See how to create random numbers between 1 and 100 that are not divisible by 3 with a large array formula. See these functions in this video:
The INDEX function allows you to look for a value in an array and return it to a cell
The RAND function returns a random number between 0 and 1, out to 15 digits
The INT function takes the integer part of a number only (1.567 becomes 1 and -2.876 becomes -3)
The ROW function tells you what row a reference is in
The INDIRECT function converts a reference as text to a reference
Read about the question I posted to the Mr Excel Message Board
Also see how we copy VBA Excel code from the Mr Excel Message Board and Paste it into the VBA editor, Edit the code, and run the macro.





Got a Question? Ask it Here in the Forum.