Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
barbarat
 
Posts: n/a
Default Nesting or new column?

I am having trouble changing a formula for another criteria. The formula is:
=IF(OR(DATEDIF(B2,"12/31/04","y")<21,E2<1000,D20),0,ROUND(IF(G2<=90000,11. 7%*G2,IF(G2<=200000,3%*90000+8.7%*G2,3%*90000+8.7% *200000)),2))
This calculates the profit share for each employee. I need to cap total
contributions for each employee at $40000. Columns a
Compensation G
Contribution to 401 H
Employer Share I
Profit Share J
Is there an easy way to adapt this formula in the same column (J)? Or do I
need to use K, and do another IF statement? I read that you can have 7
nested...but I keep getting ERROR, too many arguments when I try to add
another IF for the total of (H1+I1+J1)<=40000. I would like it to be the
profit sharing that is reduced if the total is over 40000, but again, if I
try to do it in another IF, I get the same ERROR message. Help, please!
Barbara

--
barbarat
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Phillips
 
Posts: n/a
Default Nesting or new column?

If you want to cap it at 40000, how about

=MIN(40000,IF(OR(DATEDIF(B2,--"2004/12/31","y")<21,E2<1000,D20),0,ROUND(IF(
G2<=90000,11.7%*G2,IF(G2<=200000,3%*90000+8.7%*G2, 3%*90000+8.7%*200000)),2))
)

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"barbarat" wrote in message
...
I am having trouble changing a formula for another criteria. The formula

is:

=IF(OR(DATEDIF(B2,"12/31/04","y")<21,E2<1000,D20),0,ROUND(IF(G2<=90000,11. 7
%*G2,IF(G2<=200000,3%*90000+8.7%*G2,3%*90000+8.7%* 200000)),2))
This calculates the profit share for each employee. I need to cap total
contributions for each employee at $40000. Columns a
Compensation G
Contribution to 401 H
Employer Share I
Profit Share J
Is there an easy way to adapt this formula in the same column (J)? Or do

I
need to use K, and do another IF statement? I read that you can have 7
nested...but I keep getting ERROR, too many arguments when I try to add
another IF for the total of (H1+I1+J1)<=40000. I would like it to be the
profit sharing that is reduced if the total is over 40000, but again, if I
try to do it in another IF, I get the same ERROR message. Help, please!
Barbara

--
barbarat



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
barbarat
 
Posts: n/a
Default Nesting or new column?

I think I tried that...and keep getting "too many arguments". help said 7...
I wll try it again. I am not proficient at this, so I may have entered it
incorrectly! I'll let you know.
Thanks for the suggestion.
Barbara
--
barbarat


"Bob Phillips" wrote:

If you want to cap it at 40000, how about

=MIN(40000,IF(OR(DATEDIF(B2,--"2004/12/31","y")<21,E2<1000,D20),0,ROUND(IF(
G2<=90000,11.7%*G2,IF(G2<=200000,3%*90000+8.7%*G2, 3%*90000+8.7%*200000)),2))
)

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"barbarat" wrote in message
...
I am having trouble changing a formula for another criteria. The formula

is:

=IF(OR(DATEDIF(B2,"12/31/04","y")<21,E2<1000,D20),0,ROUND(IF(G2<=90000,11. 7
%*G2,IF(G2<=200000,3%*90000+8.7%*G2,3%*90000+8.7%* 200000)),2))
This calculates the profit share for each employee. I need to cap total
contributions for each employee at $40000. Columns a
Compensation G
Contribution to 401 H
Employer Share I
Profit Share J
Is there an easy way to adapt this formula in the same column (J)? Or do

I
need to use K, and do another IF statement? I read that you can have 7
nested...but I keep getting ERROR, too many arguments when I try to add
another IF for the total of (H1+I1+J1)<=40000. I would like it to be the
profit sharing that is reduced if the total is over 40000, but again, if I
try to do it in another IF, I get the same ERROR message. Help, please!
Barbara

--
barbarat




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
barbarat
 
Posts: n/a
Default Nesting or new column?

Bob:
That did not account for the total including column H, match...but I just
did another column, with a short IF stmt, which did it fine. Thanks so much
for your help!
Barbara
--
barbarat


"Bob Phillips" wrote:

If you want to cap it at 40000, how about

=MIN(40000,IF(OR(DATEDIF(B2,--"2004/12/31","y")<21,E2<1000,D20),0,ROUND(IF(
G2<=90000,11.7%*G2,IF(G2<=200000,3%*90000+8.7%*G2, 3%*90000+8.7%*200000)),2))
)

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"barbarat" wrote in message
...
I am having trouble changing a formula for another criteria. The formula

is:

=IF(OR(DATEDIF(B2,"12/31/04","y")<21,E2<1000,D20),0,ROUND(IF(G2<=90000,11. 7
%*G2,IF(G2<=200000,3%*90000+8.7%*G2,3%*90000+8.7%* 200000)),2))
This calculates the profit share for each employee. I need to cap total
contributions for each employee at $40000. Columns a
Compensation G
Contribution to 401 H
Employer Share I
Profit Share J
Is there an easy way to adapt this formula in the same column (J)? Or do

I
need to use K, and do another IF statement? I read that you can have 7
nested...but I keep getting ERROR, too many arguments when I try to add
another IF for the total of (H1+I1+J1)<=40000. I would like it to be the
profit sharing that is reduced if the total is over 40000, but again, if I
try to do it in another IF, I get the same ERROR message. Help, please!
Barbara

--
barbarat




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
Check COlumn - Excel VBA magix Excel Discussion (Misc queries) 11 November 5th 05 02:32 AM
creating a bar graph Johnfli Excel Discussion (Misc queries) 0 October 26th 05 08:16 PM
Count Position of Filtered TEXT cells in a column Sam via OfficeKB.com Excel Worksheet Functions 8 May 18th 05 04:23 AM
How to group similar column titles together???? vrk1 Excel Discussion (Misc queries) 2 April 30th 05 12:17 AM
Return Count for LAST NonBlank Cell in each Row Sam via OfficeKB.com Excel Worksheet Functions 12 April 17th 05 10:36 PM


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