View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.misc
T. Valko T. Valko is offline
external usenet poster
 
Posts: 15,768
Default IF (formula is true) put a "1" in another cell

This will return 1 if true and 0 if false:

=--(A1=3000)

To make it more robust you might want to ensure that A1 actually conatins
number (a TEXT entry will evaluate to be =3000):

=COUNT(A1)*(A1=3000)

--
Biff
Microsoft Excel MVP


"Sandta" wrote in message
...
How do you put a value in another cell if the formula you are using is
true.

=if(A1=3000,"(put a 1 in B1)",otherwise false)