Vlookup help

superkopite

Board Regular
Joined
Jun 28, 2007
Messages
54
Hi Boys and Girls,

I need a little help. I have a set of data with the following columns;

Job Name, Claim Number, Value
Job 1, claim 1, £300
Job 1, claim 2, £450
Job 2, claim 1, £300
Job 3, claim 1, £600

I am trying to use VLOOKUP, somewhat erroneously, to pull across all rows pertaining to each Job. At the moment, with my regular VLOOKUP formula, I am pulling Job 1, Claim 1 across twice, rather than getting both claims 1 and 2.

Any ideas?

Many thanks
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
to pull across all rows pertaining to each Job.
What does this mean? Are you wanting to copy to another sheet, highlight? Please clarify in simple terms.
 
Upvote 0
I think i understand. Put your table in A1:C5. In E1 place eg 'Job 1'. Then use:

=IFERROR(INDEX($A$2:$C$5,SMALL(IF($A$2:$A$5=$E$1,ROW($A$2:$A$5)-ROW($A$2)+1),ROWS($A$1:A1)),COLUMNS($A$1:A1)),"")

Enter CTRL-SHIFT-ENTER or it will not work. Drag across and down until you get blanks.
 
Upvote 0

Forum statistics

Threads
1,214,889
Messages
6,122,097
Members
449,065
Latest member
albertocarrillom

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top