Formula Consistency Checking

mikecroom

New Member
Joined
Oct 8, 2010
Messages
47
I have created and am handing over a big spreadsheet.
Every so often I get an issue with formulae being inconsistent between rows:
eg row 1 of a table refers to row 1 of another table and verifies/reformats/recalculates it
then row2 does the same for row 2 etc
BUT - then you can get rogue rows where the rows do not match. Probably finger trouble but very hard to detect.

The Error Checking button does not help.
I was thinking of adding a column which checks the rows refererenced - but I don't even know how to extract the formula in one cell and process in another

Mike
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
Can you show a couple of the formulas as an example?

Are you happy to use VBA?
 
Upvote 0
If you compare the FormulaR1C1 property of the cells in a column, would they all be consistent? ( I'd have been able to see this myself if you'd given examples of formulas as I suggested )
 
Upvote 0
Glenn

Thank you.

Sorry I didn't post the formuale concerned:
1) the ones I was looking at were very trival (and then there are some monsters)
2) I was eating my lunch at the same time

I never use R1C1 "stuff" but this exactly does the trick. So thank you again.

Looks like:

Code:
Function ShowRow(rngCell As Range)
   ShowRow = rngCell.FormulaR1C1
End Function

I just ensure that the whole column has the same R1C1 contents as you suggested.

Now, strictly I could check every column but I think it is an issue with some rows being mis-propagated

Mike
Mike
 
Upvote 0

Forum statistics

Threads
1,224,504
Messages
6,179,142
Members
452,892
Latest member
JUSTOUTOFMYREACH

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