View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Jaybisco Jaybisco is offline
external usenet poster
 
Posts: 2
Default How to return multiple instances using VLOOKUP

I'm using data similar to the following:
On one page, in Column A is a sequence of numbers from 100-140.
On another page, Column A and C are the following:
103 $500
106 $275
108 $145
110 $800
103 $615
108 $420

I have a VLOOKUP formula that will search for the number in Column A on each
row of the first page in Column A on the second page and then return the
value of the same row in Column B of the second page. The problem is that it
only returns the first value and then moves on. In the example, it would
return only $500 for 103 and would never see the next $615. How do I get it
to return more than one instance? I'd like to be able to show the instances
in the same row and then provide a sum at the end. It seems like I should
just be able to reference what instance of the VLOOKUP I want or to make it
so it searches the rows after the first instance. Any help is appreciated.