Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default Multiple IF's Using Formulas from Other Cells

I could really use some help. I have only a basic knowledge of Excell
formulas, and I am trying to do the following calculation in a cell using
comparisons of other cells.

N1, and all the T cells are other cells that i am using for this formula

If N1=0, then zero
If N10, and T1-T2=T3*T4, then T3*T4
If N10 and T1-T2<T3*T4, then T1-T2

I hope this makes sense. Thanks in advance to anyone who can help me.
Thank you!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 896
Default Multiple IF's Using Formulas from Other Cells

would:

=IF(N1=0,0,IF(AND(N10,T1-T2=T3*T4),T3*T4,IF(AND(N10,T1-T2<T3*T4),T1-
T2,"other circumstance")))

be of help?
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,240
Default Multiple IF's Using Formulas from Other Cells

cmkbird wrote:
I could really use some help. I have only a basic knowledge of Excell
formulas, and I am trying to do the following calculation in a cell using
comparisons of other cells.

N1, and all the T cells are other cells that i am using for this formula

If N1=0, then zero
If N10, and T1-T2=T3*T4, then T3*T4
If N10 and T1-T2<T3*T4, then T1-T2

I hope this makes sense. Thanks in advance to anyone who can help me.
Thank you!



=IF(N1<0,"unknown",IF(N1=0,0,IF((T1-T2)=(T3*T4),T3*T4,T1-T2)))
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default Multiple IF's Using Formulas from Other Cells

Thanks! Worked like a charm. By the way, if N1 is never going to be less
than zero, do i have to have that first formula with "unknown"?

"Glenn" wrote:

cmkbird wrote:
I could really use some help. I have only a basic knowledge of Excell
formulas, and I am trying to do the following calculation in a cell using
comparisons of other cells.

N1, and all the T cells are other cells that i am using for this formula

If N1=0, then zero
If N10, and T1-T2=T3*T4, then T3*T4
If N10 and T1-T2<T3*T4, then T1-T2

I hope this makes sense. Thanks in advance to anyone who can help me.
Thank you!



=IF(N1<0,"unknown",IF(N1=0,0,IF((T1-T2)=(T3*T4),T3*T4,T1-T2)))



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,240
Default Multiple IF's Using Formulas from Other Cells

cmkbird wrote:
I could really use some help. I have only a basic knowledge of Excell
formulas, and I am trying to do the following calculation in a cell using
comparisons of other cells.

N1, and all the T cells are other cells that i am using for this formula

If N1=0, then zero
If N10, and T1-T2=T3*T4, then T3*T4
If N10 and T1-T2<T3*T4, then T1-T2

I hope this makes sense. Thanks in advance to anyone who can help me.
Thank you!


=IF(N1<0,"unknown",IF(N1=0,0,IF((T1-T2)=(T3*T4),T3*T4,T1-T2)))


cmkbird wrote:
Thanks! Worked like a charm. By the way, if N1 is never going to be less
than zero, do i have to have that first formula with "unknown"?



No, it wouldn't be necessary. But you didn't specify that it would never be
less than zero, so I accounted for it. With that piece of information, I
believe Don's solution is the most efficient.

=IF(N1=0,0,IF(T1-T2<T3*T4,T1-T2,T3*T4))
  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default Multiple IF's Using Formulas from Other Cells

Glenn,

Thanks a lot for all of your help.

cmk

"Glenn" wrote:

cmkbird wrote:
I could really use some help. I have only a basic knowledge of Excell
formulas, and I am trying to do the following calculation in a cell using
comparisons of other cells.

N1, and all the T cells are other cells that i am using for this formula

If N1=0, then zero
If N10, and T1-T2=T3*T4, then T3*T4
If N10 and T1-T2<T3*T4, then T1-T2

I hope this makes sense. Thanks in advance to anyone who can help me.
Thank you!

=IF(N1<0,"unknown",IF(N1=0,0,IF((T1-T2)=(T3*T4),T3*T4,T1-T2)))


cmkbird wrote:
Thanks! Worked like a charm. By the way, if N1 is never going to be less
than zero, do i have to have that first formula with "unknown"?



No, it wouldn't be necessary. But you didn't specify that it would never be
less than zero, so I accounted for it. With that piece of information, I
believe Don's solution is the most efficient.

=IF(N1=0,0,IF(T1-T2<T3*T4,T1-T2,T3*T4))

  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default Multiple IF's Using Formulas from Other Cells

Or =IF(N1=0,0,MIN(T1-T2,T3*T4)) ?
--
David Biddulph

"Don Guillett" wrote in message
...
Try
=IF(N1=0,0,IF(T1-T2<T3*T4,T1-T2,T3*T4))

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"cmkbird" wrote in message
...
I could really use some help. I have only a basic knowledge of Excell
formulas, and I am trying to do the following calculation in a cell using
comparisons of other cells.

N1, and all the T cells are other cells that i am using for this formula

If N1=0, then zero
If N10, and T1-T2=T3*T4, then T3*T4
If N10 and T1-T2<T3*T4, then T1-T2

I hope this makes sense. Thanks in advance to anyone who can help me.
Thank you!




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
How to avoid multiple IF's by LOOKUP's? FARAZ QURESHI Excel Discussion (Misc queries) 2 June 8th 07 05:15 AM
Multiple IF's to Select a Value JerryS Excel Worksheet Functions 6 May 9th 07 12:53 AM
Multiple If's and OR's Shelly Excel Worksheet Functions 16 February 19th 07 11:44 PM
multiple IF's ? foilprint0 Excel Worksheet Functions 1 January 31st 06 04:59 PM
Formula with multiple IF'S Kim46770 Excel Discussion (Misc queries) 2 May 17th 05 10:31 PM


All times are GMT +1. The time now is 10:32 AM.

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"