reellavkastning
New Member
- Joined
- May 23, 2011
- Messages
- 10
I want to randomize days in the month based upon having 31 days in some months and some others having 27 and 30....
=IF(OR(I2=1;3;5;7;8;10;12);RANDBETWEEN(1;31);IF(I2=2;RANDBETWEEN(1;27);RANDBETWEEN(1;30)))
=IF(OR(I2=1;3;5;7;8;10;12);RANDBETWEEN(1;31);IF(I2=2;RANDBETWEEN(1;27);RANDBETWEEN(1;30)))