Tips on finding inconsistent formulas?

bobby_smith

Board Regular
Joined
Apr 16, 2014
Messages
90
Hi all,

I'm looking for suggestions on how to find inconsistent formulas when reviewing a worksheet.
Specifically inconsistent formulas in columns.

Lets say for example, I have twelve columns of data for January to December.
I have a separate column which should be summing range January to August, however one of the columns range is January to June and not August.
What will be the easiest way to identify this inconsistency when you have thousands of rows of data?
I used the show formula in the illustration below, however this will not be practical for thousand of row.

Thanks in advance.
I'm using Excel M365

Book1
BCDEFGHIJKLMN
1FebruaryMarchAprilMayJuneJulyAugustSeptemberOctoberNovemberDecemberMonth to Date total
28853133636646935373648=SUM(A2:H2)
376879284744982814771=SUM(A3:H3)
43575465569536053565031=SUM(A4:H4)
5332146776443761445424=SUM(A5:H5)
660881731902771773174100=SUM(A6:H6)
75087972624442328111153=SUM(A7:H7)
8472458652537305511254=SUM(A8:F8)
9499565168628892499712=SUM(A9:H9)
103610001082741121237593=SUM(A10:H10)
11842195982159438364038=SUM(A11:H11)
12134177793137723710089=SUM(A12:H12)
132648948685451424336278=SUM(A13:F13)
143455862284471428526811=SUM(A14:H14)
151625576263168212954880=SUM(A15:H15)
168813774580514937324856=SUM(A16:H16)
Sheet1
Cell Formulas
RangeFormula
N2:N7,N9:N12,N14:N16N2=SUM(A2:H2)
N8,N13N8=SUM(A8:F8)
 

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
Hi bobby_smith,

Formulas, Error checking will show that issue, although it also shows on my Excel that not including column M may be an issue.

When I develop a sheet I try and put cross-checks in place, so I'd check that the column N total matches a SUM of the expected cells and if not show an error message.
 
Upvote 0
Hi all,

I'm looking for suggestions on how to find inconsistent formulas when reviewing a worksheet.
Specifically inconsistent formulas in columns.

Lets say for example, I have twelve columns of data for January to December.
I have a separate column which should be summing range January to August, however one of the columns range is January to June and not August.
What will be the easiest way to identify this inconsistency when you have thousands of rows of data?
I used the show formula in the illustration below, however this will not be practical for thousand of row.

Thanks in advance.
I'm using Excel M365

Book1
BCDEFGHIJKLMN
1FebruaryMarchAprilMayJuneJulyAugustSeptemberOctoberNovemberDecemberMonth to Date total
28853133636646935373648=SUM(A2:H2)
376879284744982814771=SUM(A3:H3)
43575465569536053565031=SUM(A4:H4)
5332146776443761445424=SUM(A5:H5)
660881731902771773174100=SUM(A6:H6)
75087972624442328111153=SUM(A7:H7)
8472458652537305511254=SUM(A8:F8)
9499565168628892499712=SUM(A9:H9)
103610001082741121237593=SUM(A10:H10)
11842195982159438364038=SUM(A11:H11)
12134177793137723710089=SUM(A12:H12)
132648948685451424336278=SUM(A13:F13)
143455862284471428526811=SUM(A14:H14)
151625576263168212954880=SUM(A15:H15)
168813774580514937324856=SUM(A16:H16)
Sheet1
Cell Formulas
RangeFormula
N2:N7,N9:N12,N14:N16N2=SUM(A2:H2)
N8,N13N8=SUM(A8:F8)
Or you can change reference style in Excel to R1C1: File menu -> Options -> Formulas -> tick checkbox before "R1C1 reference style":

1632077002618.png


Then in Excel: Formulas menu -> Show formulas: you'll see same formula everywhere except incorrect ones in that column:

1632077078578.png


Of course you can use VBA or formula (like Exact) to find mismatches.

Regards,

KeepTrying
 
Upvote 0

Forum statistics

Threads
1,215,480
Messages
6,125,049
Members
449,206
Latest member
Healthydogs

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