View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Jesse CH Jesse CH is offline
external usenet poster
 
Posts: 4
Default Excel 2000, RAND and IF functions do not work together for me

I am using Excel 2000, and I cannot get RAND and IF functions to work
together properly.
For example, B2 is =RAND()*(6-1)+1 to generate a random number between 1 and
6.
B3 is =IF(B2=3,"Yes") to return the value Yes if B2 is 3.
But B3 always returns "FALSE" instead of any other value, even if B2 is 3.

--
-Jesse CH