A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Dissect IF Statement



 
 
Thread Tools Display Modes
  #1  
Old March 8th, 2010, 09:29 PM posted to microsoft.public.excel.worksheet.functions
DP
external usenet poster
 
Posts: 223
Default Dissect IF Statement

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(QBCas h!$B2),$A1,QBCash!$B2))

Thanks,
Diana
  #2  
Old March 8th, 2010, 09:37 PM posted to microsoft.public.excel.worksheet.functions
Bob Phillips[_3_]
external usenet poster
 
Posts: 489
Default Dissect IF Statement

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.

--

HTH

Bob

"DP" wrote in message
...
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(QBCas h!$B2),$A1,QBCash!$B2))

Thanks,
Diana



  #3  
Old March 8th, 2010, 09:44 PM posted to microsoft.public.excel.worksheet.functions
Dave Peterson
external usenet poster
 
Posts: 19,791
Default Dissect IF Statement

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.



DP wrote:

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(QBCas h!$B2),$A1,QBCash!$B2))

Thanks,
Diana


--

Dave Peterson
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 04:34 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.