VLOOKUP issue

R

ruchie

I have to search and put values in one of my sheets after looking in a
field of a field. I believe i need to to a nested vlookup, but im not
sure how to go about it. I copied the relevant portions of the data
below:

Department PriceType Monthly Average

NY
NY Average $1,000.00
NJ
NJ
NJ
NJ Average $1,500.35

I have to search within a department (for example NJ), and then search
where average is occuring in the Price Type field, and then pick the
corresponding Monthly average value(1500.35 in this case) and put it
in the vlookup formula origination sheet.
Any help?
 
D

Don Guillett

This is an array formula that must be entered using ctrl+shift+enter vs just
enter.
where col H is your dept and col I is your average. Looking for the MAX so
if the average goes down it wouldn't be correct. Then you could use the
MATCH function to find the last entry for that Dept and INDEX for the
average.

=MAX(IF(H2:H22="a",I2:I22))
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Vlookup issue? 8
Vlookup question 12
Nested VLOOKUP 8
vlookup problem 16
Vlookup across several sheets 3
need help doing a vlookup and average 7
vlookup for max value or any value>0 1
Help with VLOOKUP 1

Top