Aligning sections for comparison based on section number

SkywardPalm

Board Regular
Joined
Oct 23, 2021
Messages
61
Office Version
  1. 365
Platform
  1. Windows
I'm working on a variance calculator and am in search of a way to Line up the matching sections and the proper variances. Where there are missing sections from previous/current, there should be blank cells rather than missing the blank sections and being unaligned with the wrong sections. Sometimes the names of sections are different, so the first 4 digits are all that should be accounted for.
The variance column is in order by section number and doesn't need aligning, so by creating blanks on each table should line up the sections properly. Right now the data is in pivot table but would probably need to be converted to a range of values?
Thanks in advance!
Here is a sample of what I am working with:
Variance Sample.xlsm
ABCDEFGHI
15
16SectionValueSectionValueVariance
170100-Section Name$ 38,476.810100-Section Name$ 40,402.57$ (1,925.77)
180101-Section Name$ 6,000.400101-Section Name$ 7,443.42$ (1,443.02)
190102-Section-Name$ 19,317.220102-Section-Name$ 16,333.52$ 2,983.70
200103-SectionName $ 33,311.790103-SectionName $ 39,846.82$ (6,535.04)
210104-SectionName$ 10,400.920104-SectionName$ 9,745.57$ 655.35
220105-Section Name$ 3,264.620105-Section Name$ 3,104.92$ 159.70
230106-Section-Name$ 459.260106-Section-Name$ 983.44$ (524.18)
240108-Section Name$ 5,238.300107-Section Name$ 1,302.61$ (1,302.61)
250109-Section Name$ 55,984.040108-Section Name$ 4,746.55$ 491.75
260112-Section Name$ 3,496.500109-Section Name$ 68,703.95$ (12,719.91)
270113-Section Name$ 9,134.660112-Section Name$ 2,560.37$ 936.13
280115-Section Name$ 839.550113-Section Name$ 24,364.05$ (15,229.39)
290117-Section Name$ 51,027.320116-Section Name$ 688.41$ 839.55
300118-Section Name$ 7,182.320117-Section Name$ 50,648.07$ (688.41)
310120-Section Name$ 10,670.100118-Section Name$ 1,706.04$ 379.25
320121-Section Name$ 4,206.460120-Section Name$ 8,008.62$ 5,476.28
330124-Section Name$ 667.590121-Section Name$ 3,182.29$ 2,661.49
340125-Section Name$ 18,846.500124-Section Name$ 882.50$ 1,024.18
350126-Section Name$ 2,296.160125-Section Name$ 14,835.72$ (214.91)
360200-Section Name$ 21,864.700126-Section Name$ 1,674.08$ 4,010.78
370300-Section Name$ 8,507.140200-Section Name$ 12,295.69$ 622.08
380301-Section Name$ 2,218.880300-Section Name$ 7,954.31$ 9,569.02
390302-Section Name$ 284.690301-Section Name$ 2,112.46$ 552.83
400303-Section Name$ 320.900302-Section Name$ 280.26$ 106.42
410400-Section Name$ 95,540.360303-Section Name$ 311.78$ 4.43
420500-Section Name$ 25,857.530400-Section Name$ 91,218.90$ 9.12
432000-Section Name$ 13,346.580500-Section Name$ 30,571.63$ 4,321.46
442100-Section Name$ 2,341.240600-Section Name$ 503.30$ (4,714.09)
45Current Total$ 451,102.552000-Section Name$ 11,211.68$ (503.30)
462100 - Section Name$ 93,451.89$ 2,134.90
47Previous Total$ 551,075.40$ (91,110.65)
227
Main
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).

Forum statistics

Threads
1,223,893
Messages
6,175,241
Members
452,622
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