IF (formula is true) put a "1" in another cell

  • Thread starter Thread starter Sandta
  • Start date Start date
S

Sandta

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)
 
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)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

IF Formula Help 1
IF Formula Help 5
If statement for a range of cells 3
Excel VBA 1
Formula for If "" AND "" are true... 3
IF Then 3
Conditional Format on another cell's value 7
date logic 14

Back
Top