Error alert required if two amounts not matching!

swaran_fca

Board Regular
Joined
Jun 27, 2005
Messages
78
I have a balance sheet in USD in which there is a column for Assets and other column for Liabilities (both the totals should always be the same i.e. total of assets should be equal to total liabilities).

The amounts in Asset column and Liabilities column is linked to various different cells in various worksheets of the same file.

Now, if there is any change in any of the linked numbers, I get a difference in the balance sheet (i.e. the total assets does not equal total liabilities). For e.g. if I change an amount (which is linked to an amount in liabilities column) from USD 100 to USD 150, I get a difference of USD 50 in my balance sheet.

What I want is, as soon as the total of assets and liabilities do not match, I should get an error alert saying that total of assets and liabilities are not matching and have a difference of XXX amount.

Also, I want to set a limit up to which the difference would be alright/tolerable (say in my case, a difference of +5 or -5 should be fine). So, only if the difference is more than +5 or is less than -5 I should get an error alert.

Thanks for your help!

Do let me know if you need any further clarification.
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney

Forum statistics

Threads
1,223,231
Messages
6,170,884
Members
452,364
Latest member
springate

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