Feeding through to a Summary Tab

Excel_77

Active Member
Joined
Sep 15, 2016
Messages
311
Office Version
  1. 2019
Platform
  1. Windows
Hi All,

I have a "Summary" tab that records a list of subject in column B2 onwards, in Column C1-E1 there are heading with peoples names that relate to my three sub tabs, the sub are named "David," "Mike" and "Susan".

So in C2 of the "Summary" tab, I want to look at the subject in column B, then go to the tab called "David", match the subject in column G and return the corresponding value in column H of tab "David".

Is this possible and if so how?

Thanks in advance
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
Hi, you could try:

=VLOOKUP($B2,INDIRECT("'"&C$1&"'!G:H"),2,0)
 
Upvote 0
Upvote 0
Are you sure the value in C1 is exactly the same as the name of your sheet?

In the summary tab I have moved the name "David" to cell F2, the remaining names will be input to G2 and H2 respectively.

The first tab after "Summary" is called "David".

Within the summary tab in column B are the list of subjects that I want found in column B of each tab and then the value in column C returned.

I hope this simplified version makes things clearer.
 
Upvote 0
I hope this simplified version makes things clearer.

Hi, if you are having difficulty updating the formula already suggested to your set-up then it would probably work best if you described the actual cells involved rather than a simplified version.
 
Upvote 0
Hi, if you are having difficulty updating the formula already suggested to your set-up then it would probably work best if you described the actual cells involved rather than a simplified version.

OK I'll start again, the error is on my side in how I have described things.

1. In a "Summary" tab I have a list of subjects in column B, the heading for column B "Subject" resides in B2.

2. Also within the "Summary" tab I have a row of three names in cells F2-H2.

3. I have three sub tabs each with a name, each name matches with the names in cells F2-H2 of the summary tab.

4. In column B of each of the sub tabs is a list of subjects, these will match what is in column B of the "Summary" tab, however there maybe less of them and they maybe in a different order.

What I need a formula for columns F-H of the summary tab is to find the subject listed in B2 and then locate the name in cells F-H, find the tab that has the corresponding name, find the subject name in column B and then return the value in column C, if the value is missing return "error".
 
Upvote 0
Hi, the adapted formula in F3 is copied down and across as needed.

Summary Sheet:


Excel 2013/2016
BCDEFGH
2SubjectDavidMikeSusan
3Maths376
4Science18Error
5Art295
Summary
Cell Formulas
RangeFormula
F3=IFERROR(VLOOKUP($B3,INDIRECT("'"&F$2&"'!B:C"),2,0),"Error")



David Sheet:


Excel 2013/2016
BC
1
2Science1
3
4Art2
5Maths3
David


Susan Sheet:


Excel 2013/2016
BC
1
2
3
4Maths6
5
6
7
8
9
10Art5
Susan


Mike Sheet:


Excel 2013/2016
BC
1
2
3Science8
4Maths7
5Art9
6
Mike
 
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,240
Members
452,621
Latest member
Laura_PinksBTHFT

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