Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,939
Default How do I use VLOOKUP to nest more then 7 IF statements?

Index / match tends to work better...
In A1:B11 add
0 0.7
50 0.9
90 1
110 1.2
130 1.4
140 1.5
150 1.6
170 1.7
210 1.8
250 1.9
300 2

Now use the formula (In cell E1 or ???)
=INDEX($B$1:$B$11, MATCH(D1, $A$1:$A$11, TRUE))

Where you put the amount in Cell D1
--
HTH...

Jim Thomlinson


"yoshi" wrote:

Hello,

I have 12 different values I would like to return based on a range of
numbers. Right now, I have it set up to display the 7 most common of them
through nested if statements via this formula:

=IF(E5=250,"1.9",IF(E5=210,"1.8",IF(E5=170,"1.7 ",IF(E5=150,"1.6",IF(E5=140,"1.5",IF(E5=130,"1. 4",IF(E5=120,1.2,1)))))))

How can I include the missing values using a different function? I had read
to use either an index or lookup function, but don't know how to apply these.

The missing ranges and values I am trying to add are 0-49:0.70, 50-89:0.90,
90-109:1.00, 250-299:1.90, =300:2.00.

Any assistance would be highly appreciated.

thanks!
Yoshi

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
Can you combine VLOOKUP with a nest HLOOKUP? PCoyne Excel Discussion (Misc queries) 3 July 3rd 07 08:06 PM
Syntax to Nest ISERROR with a VLookup Christine Excel Worksheet Functions 2 March 8th 07 08:36 PM
Syntax to Nest ISERROR with a VLookup bj Excel Worksheet Functions 0 March 8th 07 07:21 PM
Nest vlookup within large function Mike S Excel Worksheet Functions 3 November 6th 06 08:13 PM
How do I nest IF statements to only return value if both true? kvnexcel Excel Worksheet Functions 3 August 14th 06 06:34 PM


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