How to use an if statement to show if ANY value in the cell?

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

Guest

I have a spreadsheet that I am trying to seperate out into multiple ones. My
problem is, I may or may not need to have an account number show depending on
if there were transactions for it. Each account number could have 0 or many
different transactions. Is there anyway to do this? I was thinking of an if
statement something like...

=IF(Sheet2!C40-C81=(HERE IS PROBLEM...ANYTHING),C39,(0 or blank))

Please let me know if you have any suggestions!
 
I think I understand what you are asking. Instead of checking for = anything,
check for<>"" or does not equal nothing.
 
=IF(Sheet2!C40-C81=(HERE IS PROBLEM...ANYTHING),C39,(0 or blank))

I'm guessing that "ANYTHING" means any number greater than 0. I'm also
assuming that you're dealing with only positive numbers? Try this:

=IF(Sheet2!C40-C81,C39,"")

Or:

=IF(Sheet2!C40-C81,C39,0)
 

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 STATEMENT 19
If statement 2
using a IF statement to return a value 2
IF Statements 2
Using Formulae in If statements 8
IF Statement 1
How to use the search in an if statement 3
If statement combining average 3

Back
Top