Cell/row sorting - data from two locations

TAPS_MikeDion

Well-known Member
Joined
Aug 14, 2009
Messages
524
Office Version
2011
Platform
MacOS
Hi everyone,

Hopefully this can be done, and hopefully you follow what I'm trying to do.


Sheet1 (for argument sake, columns = A - G, rows = 2+header)

LASTFIRSTMONTUEWEDTHUFRI
JonesBob55555
SmithAnn88888

<tbody>
</tbody>






Sheet2 (just references from sheet1, except for column H)

LASTFIRSTMONTUEWEDTHUFRIOTHERTOTAL
=A2=B2=C2=D2=E2=F2=G2=nothing=sum(sheet2 A2-H2)
=A3=B3=C3=D3=E3=F3=G3=sheet2 X1=sum(sheet2 A3-H3)

<tbody>
</tbody>






The problem is when sheet1 is sorted (let's say last name & first name), the sheet2 cell X1 reference doesn't follow the sort. In the case of the example, instead of cell X1 data moving from cell H3 to H2, it remains at H3.

Thanks to anyone who replies!
 

Some videos you may like

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.

anglais428

Well-known Member
Joined
Nov 23, 2009
Messages
634
Office Version
2016
Platform
Windows
Perhaps you could create a table to hold each person's first name and last name. Then you could use either vlookup or index/match to pull in the data (these would be dynamic and not break due to sorting in Sheet1).
 

TAPS_MikeDion

Well-known Member
Joined
Aug 14, 2009
Messages
524
Office Version
2011
Platform
MacOS
Thanks, I'll try that. Never used VLOOKUP before so I guess it's time to do some researching.
 

Watch MrExcel Video

Forum statistics

Threads
1,090,142
Messages
5,412,708
Members
403,442
Latest member
keowinvip1

This Week's Hot Topics

Top