Cell/row sorting - data from two locations

TAPS_MikeDion

Well-known Member
Joined
Aug 14, 2009
Messages
622
Office Version
  1. 2011
Platform
  1. 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!
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
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).
 
Upvote 0
Thanks, I'll try that. Never used VLOOKUP before so I guess it's time to do some researching.
 
Upvote 0

Forum statistics

Threads
1,215,277
Messages
6,124,010
Members
449,139
Latest member
sramesh1024

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