Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 32
Default I need a formula to calculate rates based on current age

I am calculate benefit rates based on current age. I have entered the
following, which works but I have more age catagories that need to be added.
=IF(E2270,"2.01",IF(E2265,"1.24",IF(E2260,".66" ,IF(E2255,".43",IF(E2250,".23",IF(E2245,".15",I F(E2240,".10",IF(E2235,".09",".07"))))))))
Two additional arguments need to be added. Help
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default I need a formula to calculate rates based on current age

Martha,

I suggest this is done with a table instead. Create a table of your values
like the one I have part created he-

0 7
36 9
41 10
46 15

Note it must be laid out ascending in the left column. then use the formula:-

=VLOOKUP(E22,A1:B4,2,TRUE)


It will check E22 and return the value from Column 2 of the table

Mike




"Martha" wrote:

I am calculate benefit rates based on current age. I have entered the
following, which works but I have more age catagories that need to be added.
=IF(E2270,"2.01",IF(E2265,"1.24",IF(E2260,".66" ,IF(E2255,".43",IF(E2250,".23",IF(E2245,".15",I F(E2240,".10",IF(E2235,".09",".07"))))))))
Two additional arguments need to be added. Help

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,268
Default I need a formula to calculate rates based on current age

If those are rates you should remove all the quotation marks since those
make the values text and not numbers, anyway you can bypass IF limits by
using a lookup formula, this will do exactly the same as your posted formula
and it can be amended

=VLOOKUP(E22,{0,0.07;36,0.09;41,0.1;46,0.15;51,0.2 3;56,0.43;61,0.66;66,1.24;71,2.01},2)



--
Regards,

Peo Sjoblom



"Martha" wrote in message
...
I am calculate benefit rates based on current age. I have entered the
following, which works but I have more age catagories that need to be
added.
=IF(E2270,"2.01",IF(E2265,"1.24",IF(E2260,".66" ,IF(E2255,".43",IF(E2250,".23",IF(E2245,".15",I F(E2240,".10",IF(E2235,".09",".07"))))))))
Two additional arguments need to be added. 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
Calculate date when funds run out based on current usage Alissa Wing Excel Discussion (Misc queries) 4 May 17th 23 03:43 AM
Formula to calculate the current year mda19652 Excel Discussion (Misc queries) 1 June 4th 07 05:53 AM
Current date formula based on month Renz09 Excel Discussion (Misc queries) 2 May 5th 06 07:04 AM
How can I calculate trend growth rates in Excel? david34 Excel Discussion (Misc queries) 4 July 16th 05 05:44 PM
how do i calculate pay from given hours and pay rates? ejm014 Excel Worksheet Functions 0 May 27th 05 01:22 PM


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