#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default IF functions

I need help with the following:

If cell A1 is < L1, then the answer is cell A1, but

If cell A1 is K1 but < K2, then the answer is 100% of L1 plus 90% of (cell
A1-L1), but

If cell A1 is K2 but < K3, then the answer is 100% of L1 plus 90% of L2
plus 84% of (Cell A1-L1-L2), but

If cell A1 is K3, then the answer is 100% of L1 plus 90% of L2 plus 84% of
L3 plus 79% of (Cell A1-L1-L2-L3)


Cell A1 is the variable

K1=2400 L1=2400
K2=4000 L2=1600
k3=7143 L3=3143

How do I do this? I'm supposing I use nested IF functions, but I cannot get
it to work. I need this late tonight if at ALL possible. Thanks so much!

Lisa

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,355
Default IF functions

Try this

=IF(A1<L1,A1,IF(AND(A1K1,A1<K2),L1+0.9*(A1-L1),IF(AND(A1K2,A1<K3),L1+0.9*L2+0.84*(A1-L1-L2),IF(A1K3,L1+0.9*L2+0.84*L3+0.79*(A1-L1-L2-L3)))))
--
HTH,
Barb Reinhardt



"LTHAM" wrote:

I need help with the following:

If cell A1 is < L1, then the answer is cell A1, but

If cell A1 is K1 but < K2, then the answer is 100% of L1 plus 90% of (cell
A1-L1), but

If cell A1 is K2 but < K3, then the answer is 100% of L1 plus 90% of L2
plus 84% of (Cell A1-L1-L2), but

If cell A1 is K3, then the answer is 100% of L1 plus 90% of L2 plus 84% of
L3 plus 79% of (Cell A1-L1-L2-L3)


Cell A1 is the variable

K1=2400 L1=2400
K2=4000 L2=1600
k3=7143 L3=3143

How do I do this? I'm supposing I use nested IF functions, but I cannot get
it to work. I need this late tonight if at ALL possible. Thanks so much!

Lisa

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default IF functions

THANK YOU, BARB....THAT IS EXACTLY WHAT I NEEDED!! I'M GRATEFUL!!

"Barb Reinhardt" wrote:

Try this

=IF(A1<L1,A1,IF(AND(A1K1,A1<K2),L1+0.9*(A1-L1),IF(AND(A1K2,A1<K3),L1+0.9*L2+0.84*(A1-L1-L2),IF(A1K3,L1+0.9*L2+0.84*L3+0.79*(A1-L1-L2-L3)))))
--
HTH,
Barb Reinhardt



"LTHAM" wrote:

I need help with the following:

If cell A1 is < L1, then the answer is cell A1, but

If cell A1 is K1 but < K2, then the answer is 100% of L1 plus 90% of (cell
A1-L1), but

If cell A1 is K2 but < K3, then the answer is 100% of L1 plus 90% of L2
plus 84% of (Cell A1-L1-L2), but

If cell A1 is K3, then the answer is 100% of L1 plus 90% of L2 plus 84% of
L3 plus 79% of (Cell A1-L1-L2-L3)


Cell A1 is the variable

K1=2400 L1=2400
K2=4000 L2=1600
k3=7143 L3=3143

How do I do this? I'm supposing I use nested IF functions, but I cannot get
it to work. I need this late tonight if at ALL possible. Thanks so much!

Lisa

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
formula/functions for average and if functions Petu71 Excel Worksheet Functions 2 August 5th 07 08:25 PM
XL2003 FILTER FUNCTIONS VS. XL2007 FILTER FUNCTIONS RET70168 Excel Worksheet Functions 0 June 15th 07 01:00 AM
efficiency: database functions vs. math functions vs. array formula nickname Excel Discussion (Misc queries) 2 July 14th 06 04:26 AM
Looking for a site with functions that substitute the ATP functions Franz Verga Excel Worksheet Functions 3 June 24th 06 04:30 AM
Nesting functions in the functions dialog box cs170a Excel Worksheet Functions 0 June 10th 05 10:36 PM


All times are GMT +1. The time now is 03:03 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"