How do I say "if this cell is blank, use this formula...

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I'd like to set up a formula (function?) that says,
If this cell is blank, then use this formula.
If the same cell has data, then use this forumula.
But I just can't figure out how to do it. Any help would be great.
I know the two formula's I want to use, I just don't know how to direct the
cell to the right one.
 
=if(a1="",yourfirstformula,yourotherformula)

=if(a1="",average(b3:c99),sum(x9:z99))
 
Try the ISBLANK() function, for example:

=IF(ISBLANK(A1),function_if_blank,function_if_non_blank)

Does that help?
 
This is definitely helping to get me in the right direction. I understand
that I need to put the cell that I want to check whether it is blank or not.
I'm not sure what to do w/ the function portion. So currently my formual
looks like this
=if(isblank(j22),=-e22+today()_if_blank,=j22-e22_if_non_blank)
Of course this isn't translating, but it's closer to where I should be.
 

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

Back
Top