Random numbering

hopelessvolunteer

New Member
Joined
Jan 30, 2007
Messages
27
Hello all, new to the board.

I have a list of names in Column A going from row 2 to 15. I want to randomly assign them a number ranging from 1-14, but that random number can not be assigned twice. I only need each number once.

I am putting the formula in column B.

Can someone please help me.

Thanks!! :-P
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
A simple way to check if your random header is the same as the heeler is to enter this formula in column E and fill down:

=If(A2=C2,"Same Header/Heeler!","")

Then press the F9 key until you see no warning messages. Copy the results into a new worksheet using Paste Special -> Values
 
Upvote 0
Random

Thank you so much for that formula, it works great!

Each time I switch worksheet it re-does the draw, how do I get it to quit doing that?
 
Upvote 0
A simple way would be to put this formula in column E and fill down

=If(A2=B2,"Warning, same Header/Heeler!!!","")

Then press the F9 key until you get no warnings and copy, Paste Special -> Values into a new worksheet
 
Upvote 0
sorry for the double post.

It shouldn't be recalculating when you switch worksheets. It should only recalcualte when you change the value of a cell.

Anyway, you can stop the recalculation by going to Tools -> Options and on the Calculation tab select Manual Calculation. Then Excel will only recalculate when you press the F9 key.

But if you leave calculation in manual mode you need to realize that all formulas will only be calculated when you press F9.
 
Upvote 0

Forum statistics

Threads
1,223,249
Messages
6,171,031
Members
452,374
Latest member
keccles

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top