How Can I Reference multiple sheets

camshaftss

New Member
Joined
Dec 17, 2024
Messages
2
Office Version
  1. 365
Platform
  1. Windows
Looking for some help to reference multiple sheets. I have a master spread sheet for parts used and multiple sheets of equipment each parts are used. I would like to display on the master sheet where each of the parts are used.

so in the master sheet parts are listed in column D and I'd like to in column X that part # in D15 is used on MCC 322(name of other sheet where the same part number is found) pulled from the 322 MCC Sheet Cell D128. Id like to do this for each part number on the master sheet "nonduplicated" and from multiple sheets if possible. if its simpler/easier to have additional columns for each sheet referenced id be happy with that
 

Attachments

  • excel 2.PNG
    excel 2.PNG
    82.9 KB · Views: 14
  • excele1.PNG
    excele1.PNG
    104.9 KB · Views: 13

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
Hi Camshaftss!

I would go with the additional columns to look it up, one for each sheet. Simpler to add in another column and tab at a later if ever required.

Mocked up the below and you would have the columns in grey for each sheet, which could be hidden, and then Column H is a count of matches found and column I is the tab/s it is found on.

Formulas I've used are as follows...

E2:E5...
Excel Formula:
=IF(COUNTIF(Sheet2!$D:$D,"=" &$D2)>0,$E$1,"")

F2:F5
Excel Formula:
=IF(COUNTIF(Sheet3!$D:$D,"=" &$D2)>0,$F$1,"")

G2:G5...
Excel Formula:
=IF(COUNTIF(Sheet4!$D:$D,"=" &$D2)>0,$G$1,"")

Cells E1:G1 need to have the tab names in them. This to return in the sheet name it is looking up against in the formulas above.

H2:H5...
Excel Formula:
=COUNTIF(E2:G2,"=" & "?*")

I2:I5...
Excel Formula:
=TEXTJOIN(", ",TRUE,FILTER(E2:G2,E2:G2<>"","Not Found"))


By adding the count it will show if more than 1 sheet has a match found, and any sheet names will be added in to column 'I'. In my example I have part DEF on 2 sheets and getthe return for both. Part JKL is on none so get 'Not Found' as a result.

1734523630479.png
 
Upvote 0
Hi Camshaftss!

I would go with the additional columns to look it up, one for each sheet. Simpler to add in another column and tab at a later if ever required.

Mocked up the below and you would have the columns in grey for each sheet, which could be hidden, and then Column H is a count of matches found and column I is the tab/s it is found on.

Formulas I've used are as follows...

E2:E5...
Excel Formula:
=IF(COUNTIF(Sheet2!$D:$D,"=" &$D2)>0,$E$1,"")

F2:F5
Excel Formula:
=IF(COUNTIF(Sheet3!$D:$D,"=" &$D2)>0,$F$1,"")

G2:G5...
Excel Formula:
=IF(COUNTIF(Sheet4!$D:$D,"=" &$D2)>0,$G$1,"")

Cells E1:G1 need to have the tab names in them. This to return in the sheet name it is looking up against in the formulas above.

H2:H5...
Excel Formula:
=COUNTIF(E2:G2,"=" & "?*")

I2:I5...
Excel Formula:
=TEXTJOIN(", ",TRUE,FILTER(E2:G2,E2:G2<>"","Not Found"))


By adding the count it will show if more than 1 sheet has a match found, and any sheet names will be added in to column 'I'. In my example I have part DEF on 2 sheets and getthe return for both. Part JKL is on none so get 'Not Found' as a result.

Hi Camshaftss!

I would go with the additional columns to look it up, one for each sheet. Simpler to add in another column and tab at a later if ever required.

Mocked up the below and you would have the columns in grey for each sheet, which could be hidden, and then Column H is a count of matches found and column I is the tab/s it is found on.

Formulas I've used are as follows...

E2:E5...
Excel Formula:
=IF(COUNTIF(Sheet2!$D:$D,"=" &$D2)>0,$E$1,"")

F2:F5
Excel Formula:
=IF(COUNTIF(Sheet3!$D:$D,"=" &$D2)>0,$F$1,"")

G2:G5...
Excel Formula:
=IF(COUNTIF(Sheet4!$D:$D,"=" &$D2)>0,$G$1,"")

Cells E1:G1 need to have the tab names in them. This to return in the sheet name it is looking up against in the formulas above.

H2:H5...
Excel Formula:
=COUNTIF(E2:G2,"=" & "?*")

I2:I5...
Excel Formula:
=TEXTJOIN(", ",TRUE,FILTER(E2:G2,E2:G2<>"","Not Found"))


By adding the count it will show if more than 1 sheet has a match found, and any sheet names will be added in to column 'I'. In my example I have part DEF on 2 sheets and getthe return for both. Part JKL is on none so get 'Not Found' as a result.

View attachment 120468
Thanks , This seems to work for the most part but I am having trouble with it not pulling all the data say on sheet 3 has 157 part numbers but its only pulling about 12 of the numbers. I thought maybe it was that they were just entered slightly differently so i copied the cell from sheet on onto sheet 3 so they would be the same but that didn't help. What am I missing???
 
Upvote 0

Forum statistics

Threads
1,224,734
Messages
6,180,631
Members
452,991
Latest member
JM_000888

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