copy columns based on another

matthew123456789

New Member
Joined
Dec 11, 2023
Messages
1
Office Version
  1. 365
Platform
  1. Windows
Sorry if this is pretty simple, but I'm struggling to find what I'm looking for.

I want to create a totals page based off of multiple other sheets.

sheet 1
find a specfic name between a2:a7
once that name is found, take the data from the corresponding row (where the name is) in both B2:B7 and c2:c7 and take it to another page.

The data in a2:a7 can be in different orders, so I need to find the specific name in that range and then move the data in that row to a totals page.

do the exact same thing for sheet 2 and so on.

in the example:
Find Ainslee, take her Game 1 and Game 2 score and show it on the totals page

WESTGAME 1GAME 2SERIES
Natalie
116​
103​
219​
Macy
126​
116​
242​
Ainslee
184​
195​
379​
Reese
107​
121​
228​
Addison
171​
126​
297​
Callie
171​
161​
332​

Thanks in advance for the help!!!
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
Not 100% sure exactly what you're looking for, but is this somewhere close?
Sheet1
Book1
ABCD
1WESTGAME 1GAME 2SERIES
2Reese107121228
3Natalie116103219
4Macy126116242
5Callie1711613
6Ainslee184195379
7Addison171126297
Sheet1


Sheet2
Book1
ABCD
1WESTGAME 1GAME 2SERIES
2Addison171126297
3Ainslee184195379
4Callie1711613
5Macy126116242
6Natalie116103219
7Reese107121228
Sheet2


Totals sheet:
Book1
ABCD
1WESTGAME 1GAME 2SERIES
2Natalie232206438
3Macy252232484
4Ainslee368390758
5Reese214242456
6Addison342252594
7Callie3423226
Totals
Cell Formulas
RangeFormula
B2:D7B2=SUMPRODUCT(--(Sheet1!$A:$A=$A2),Sheet1!B:B)+SUMPRODUCT(--(Sheet2!$A:$A=$A2),Sheet2!B:B)
 
Upvote 0
Welcome to the MrExcel board!

in the example:
Find Ainslee, take her Game 1 and Game 2 score and show it on the totals page
Like Kevin, I am not entirely sure but is this the sort of thing you mean?

matthew123456789.xlsm
ABCD
1WESTGAME 1GAME 2SERIES
2Natalie116103219
3Macy126116242
4Ainslee184195379
5Reese107121228
6Addison171126297
7Callie171161332
Sheet1


matthew123456789.xlsm
ABC
1NAMEGAME 1GAME 2
2Addison171126
3Ainslee184195
4Callie171161
5Macy126116
6Natalie116103
7Reese107121
Totals
Cell Formulas
RangeFormula
B2:C7B2=FILTER(Sheet1!B$2:C$7,Sheet1!A$2:A$7=A2)
Dynamic array formulas.
 
Upvote 0

Forum statistics

Threads
1,223,886
Messages
6,175,194
Members
452,616
Latest member
intern444

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