LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 6
Default need help with lookup formula

i am trying to enter a formula that will return a specific number for
a range of numbers.

Example:
i know that if i have between a range of items, that i need to return
a specific number for that formula. if the number is between 0 and 53
it needs to return a 4, if the number is between 54 and 65 it needs to
return a 5 and so on.

i tried using lookup and choose, but i get errors in the
formula....this is the formula i used.

=LOOKUP(E45,{53,65,77,89,101,113,125,137,149,161,1 73},
{4,5,6,7,8,9,10,11})

E45 is the cell with the calculated value that now needs to be checked
to return the number i am looking for.

in this case, E45 has a 35 in it, so the formula should return a 4,
but instead i get a #N/A
 
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
Lookup formula Frances C[_2_] Excel Discussion (Misc queries) 2 September 29th 07 07:32 PM
row lookup formula adam Excel Worksheet Functions 7 July 12th 07 10:52 PM
lookup formula? Kfry57 Excel Worksheet Functions 1 July 24th 06 05:21 PM
Lookup Formula - but have a formula if it can't find/match a value Stephen Excel Worksheet Functions 11 June 14th 05 05:32 AM
If the lookup-value is a formula Adam Excel Worksheet Functions 0 February 17th 05 02:31 PM


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