Dissect IF Statement

D

DP

Hi:

I need help with this complicated IF Statement. Would you please let me
know what the formula means?

=IF(LEFT(QBCash!$B2,5)="Total","",IF(ISBLANK(QBCash!$B2),$A1,QBCash!$B2))

Thanks,
Diana
 
B

Bob Phillips

First, it is checking if B2 on sheet QBCash starts with 'Total', if it does
it returns nothing.

Then it checks if it is blank, if it is, if returns the value in cell A1 on
the active sheet, otherwise it returns that value in B2.
 
D

Dave Peterson

If the value in QBCash B2 starts with Total (5 leftmost characters = "Total"),
then show "" (make the cell look blank).

If QBCash B2 doesn't start with Total, then check to see if it's blank. If it
is, then show what's in A1 of the cell with the formula.

If it's not blank, then show what's in QBCash B2.
 

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

Top