#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 13
Default nesting formulas

I'm trying to get this formula to work.

=IF(OR(K2="L",K2="M",E2<=10),120,60,IF(OR(K2="L",K 2="M",E2=11,E2=12,E2=13,E2=14),90,60,IF(OR(K2="L", K2="M",E2=15,E2=16,E2=17),45,45,IF(OR(K2="L",K2="M ",K2="H",E217),30,30))))


But it tells me that I have too many arguements within the function.

The problem is they are required to get the answer I am looking for. What
I'm asking is: If column K has an L or M and column E is <=10, then the value
is 120, if false, 60. If in K, L and M are equal to 11 through 14 in column
E, then the value is 90 and if false 60, IF in column K, L and M are equal to
15-17 in column E then the answer is 45 and if not it is 45, and if in column
K, L and M are greater than 17 in column E, then the answer is 30 and if mot
it is 30.


Please Help
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,574
Default nesting formulas

Yeah you have too many arguments, starting with the first IF clause.

You're saying "If (K2 = L OR M) OR (E2 is less than or equal to 10), THEN
120, ELSE 60"

Then you have another IF clause....

Nested IFs have to work like =IF(Condition 1,Then Do X, Else If(Condition 2,
Then Do...)

See the difference?
--
Brevity is the soul of wit.


"Vladimir" wrote:

I'm trying to get this formula to work.

=IF(OR(K2="L",K2="M",E2<=10),120,60,IF(OR(K2="L",K 2="M",E2=11,E2=12,E2=13,E2=14),90,60,IF(OR(K2="L", K2="M",E2=15,E2=16,E2=17),45,45,IF(OR(K2="L",K2="M ",K2="H",E217),30,30))))


But it tells me that I have too many arguements within the function.

The problem is they are required to get the answer I am looking for. What
I'm asking is: If column K has an L or M and column E is <=10, then the value
is 120, if false, 60. If in K, L and M are equal to 11 through 14 in column
E, then the value is 90 and if false 60, IF in column K, L and M are equal to
15-17 in column E then the answer is 45 and if not it is 45, and if in column
K, L and M are greater than 17 in column E, then the answer is 30 and if mot
it is 30.


Please Help

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 change column letters to correct ones in many formulas automatically? Dmitry Kopnichev Links and Linking in Excel 7 October 13th 05 09:52 PM
How to change column letters to correct ones in many formulas automatically? Dmitry Kopnichev Excel Worksheet Functions 7 October 13th 05 09:52 PM
how can i get formulas in excel to copy and paste? bman Excel Worksheet Functions 1 October 3rd 05 04:15 PM
How prevent formulas to get external references/path to current workbook? Gunnar Johansson Excel Worksheet Functions 1 August 15th 05 10:39 AM
calculating formulas for all workbooks in a folder Chad Excel Worksheet Functions 3 November 13th 04 05:22 PM


All times are GMT +1. The time now is 08:44 AM.

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

About Us

"It's about Microsoft Excel"