Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
DP DP is offline
external usenet poster
 
Posts: 58
Default Understanding complex IF Formula within IF formula

I do not know what this formula is doing can you help?

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

Thanks for your help.

DP
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default Understanding complex IF Formula within IF formula

Hi,

The formula is looking at a worksheet called QBCash

Breaking the formula down


=IF(LEFT(QBCash!$B2,5)="Total","",
1. It looks at the contents of B2 and if the word 'Total' are the first 5
letters of the cell the formula return a null string


IF(ISBLANK(QBCash!$B2),$A1,
2. If that isn't TRUE it then checks if B2 is blank and if it is it returns
the value of cell A1.

3. If B2 isn't blank the value of B2 is returned

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


--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.


"DP" wrote:

I do not know what this formula is doing can you help?

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

Thanks for your help.

DP

  #3   Report Post  
Posted to microsoft.public.excel.misc
DP DP is offline
external usenet poster
 
Posts: 58
Default Understanding complex IF Formula within IF formula

Hi, Mike H:

Thanks for this information. It will help me decipher other similar complex
formulas.

"Mike H" wrote:

Hi,

The formula is looking at a worksheet called QBCash

Breaking the formula down


=IF(LEFT(QBCash!$B2,5)="Total","",
1. It looks at the contents of B2 and if the word 'Total' are the first 5
letters of the cell the formula return a null string


IF(ISBLANK(QBCash!$B2),$A1,
2. If that isn't TRUE it then checks if B2 is blank and if it is it returns
the value of cell A1.

3. If B2 isn't blank the value of B2 is returned

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


--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.


"DP" wrote:

I do not know what this formula is doing can you help?

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

Thanks for your help.

DP

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default Understanding complex IF Formula within IF formula

Your welcome and thanks for the feedback
--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.


"DP" wrote:

Hi, Mike H:

Thanks for this information. It will help me decipher other similar complex
formulas.

"Mike H" wrote:

Hi,

The formula is looking at a worksheet called QBCash

Breaking the formula down


=IF(LEFT(QBCash!$B2,5)="Total","",
1. It looks at the contents of B2 and if the word 'Total' are the first 5
letters of the cell the formula return a null string


IF(ISBLANK(QBCash!$B2),$A1,
2. If that isn't TRUE it then checks if B2 is blank and if it is it returns
the value of cell A1.

3. If B2 isn't blank the value of B2 is returned

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


--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.


"DP" wrote:

I do not know what this formula is doing can you help?

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

Thanks for your help.

DP

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
understanding of a formula sabi New Users to Excel 5 March 25th 09 08:43 AM
Understanding formula Dig Excel Worksheet Functions 1 July 3rd 08 03:31 PM
NOT UNDERSTANDING THE FORMULA PAPABEAR2252 Excel Worksheet Functions 1 September 12th 05 05:37 PM
NOT UNDERSTANDING THE FORMULA PAPABEAR2252 Excel Worksheet Functions 3 September 10th 05 10:45 PM
Understanding this formula Sal Excel Worksheet Functions 4 March 26th 05 06:32 PM


All times are GMT +1. The time now is 11:50 PM.

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

About Us

"It's about Microsoft Excel"