VLookup formula to extract data based on row and columns

bremar

New Member
Joined
Feb 22, 2018
Messages
2
Good day,

I’m not sure if vlookup is the right way to go, but this is all I really know. I am open to any suggestions to the following:

I have 2 sheets in my excel woorkwork:

Sheet one has the following data:
A2: Date
B2: Race
C2: LICNO
D2: NAME
E2: SURNAME
F2: SEX
G2: AGE
H2: CAT
I2: HMS

This sheet contains all club members who has participated in a particular race and their time so there are a number of repeats (example: Paul Smith has taken part in 10 races so far this year).

Now Sheet 2 is the one I want to create that consolidates all the info and it has the following columns
A2: Name
B2: Surname
C2: LICNO
D2: Race 1
E2: Race 2
F2: Race 3
G2: Race 4
H2: Race 5
I2: Race 6
Ect……

Column A, B and C have club members listed with no repeats:

A:Name B:Surname C:Licno D:Race 1 E: Race 2 F:Race 3 =>ect…
3 Paul Smith 3 ? ? ? ?
4 Mark Jupiter 987 ? ? ? ?
5 Peter Ample 410 ? ? ? ?
6 Robin Zulu 17 ? ? ? ?
7 June Thomas 89 ? ? ? ?
8 Rose Kimble 7 ? ? ? ?

So I want Paul Smith Time listed in columns D, E, F ect for the corresponding races. The Column (d onwards) headings are the exact words used in sheet 1 column B (rows)

I trust that this is enough info and that someone can help with the correct formula so that I can have the listed times for each row.

Regards
 

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.
Hi. Have you ever used a pivot table? It seems your data in Sheet1 is set up so you could get what you wanted from them without the need for formulas.
 
Upvote 0
You will need column headers the highlight all your data and press insert tab then pivot table. If you get stuck come back.
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,289
Members
452,631
Latest member
a_potato

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