Cross referencing based on Sheet Name

Simon Pipe

New Member
Joined
Sep 20, 2011
Messages
14
Office Version
  1. 365
Platform
  1. Windows
Hi,

I attach an example of what I am trying to do and stripped all the unnecessary stuff so I appreciate may look a bit odd but.....

Sheet 'Dave'
D3 should read from Sheet 'Rd1', and fill in relevant info from Column B for Dave's selection.
E6 to E13 should read from sheet 'Rd1', and as above and read from Daves row to fill in the cells.

There are many other sheets that are just replicates of 'Dave' but need to pull in the data relevant to their names in the corresponding cells as above.

There can be up to 100 sheets so don't want to copy and paste it all and want the workbook automatically reading from 'Rd1' which is a data from a form.

I do have D2 cells automatically named based on the sheet name but have removed it for this example.

Hope this makes sense and any help gratefully received!
Thanks!

M365

1709807947734.png
1709807994282.png
 
Last edited:

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
What version of Excel are you using?

I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)
 
Upvote 0
What version of Excel are you using?

I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)
M365 - I did put on the post but will update profile. Thanks
 
Upvote 0
Thanks for that. (y)
How about in D3
Excel Formula:
=XLOOKUP(D2,'Rd1'!A2:A20,'Rd1'!B2:B20)
and in E6
Excel Formula:
=TOCOL(XLOOKUP(D2,'Rd1'!A2:A20,'Rd1'!C2:H20))
 
Upvote 0
Solution
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,223,902
Messages
6,175,278
Members
452,629
Latest member
SahilPolekar

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