Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / July 2007

Tip: Looking for answers? Try searching our database.

VLOOKUP and Ranges

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
BoRed79 - 17 Jul 2007 09:38 GMT
I wonder if you can help me.

I am trying to use VLOOKUP to do the following:

- I have a two column table, the first has words in it and the second has
percentages.
- What I want to do is lookup values (from a variety of different cells) and
match them to the percentages column - but bring back the words in the first
column.

The problem is that the values will not be an exact match - as basically the
percentages column is a list to define the ranges (i.e. it would say in the
first column a quarter and then the second column would say 24%-26%).  What I
have done is entered "a quarter" twice and then put 24% in one and 26% in the
other (to define the range).

I need a formula though to pick up the relevant match.

Thanks.
Bob Phillips - 17 Jul 2007 09:53 GMT
Assuming the check percentage is in I2

=INDEX(A2:A20,MATCH(1,(B2:B20<=I2)*(D2:D20>=I2),0))

which is an array formula, it should be committed with Ctrl-Shift-Enter, not
just Enter.
Excel will automatically enclose the formula in braces (curly brackets), do
not try to do this manually.
When editing the formula, it must again be array-entered.

Signature

HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

>I wonder if you can help me.
>
[quoted text clipped - 21 lines]
>
> Thanks.
BoRed79 - 17 Jul 2007 11:18 GMT
Bob.

Thanks for this.  

Could I just query which range D2:D20 is referring to, as I only have two
columns - A and B and then the cell that I am looking up I2

> Assuming the check percentage is in I2
>
[quoted text clipped - 31 lines]
> >
> > Thanks.

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.