Subtracting the difference in reverse. until the diff becomes zero. Required VBA Code or Formula.

Status
Not open for further replies.

KJAYPAL200

New Member
Joined
Dec 5, 2023
Messages
3
Office Version
  1. 2013
  2. 2011
  3. 2010
Platform
  1. Windows
AGEING-MrEXCEL.xlsx
ABCDEFGHIJK
1
2AGEINGWISE
3As on 31 Oct'2023Subtracting the difference in reverse order.
4654321
50-90d91-120d121-150d151-180d181-360dabove 360TOTALDIFF
612,57,396.002,05,498.00-5,25,000.0065,53,004.003,26,706.3278,67,604.3257,50,187.64
72-1,07,602.00----97,602.0010,000.00
83-----65,501.0065,501.00-
9427,000.00----7,721.2534,721.2531,259.50
105----19,62,334.0012,32,666.0031,95,000.00-
116----3,36,656.00-3,36,656.0087,500.00
1274,46,401.003,64,356.002,10,000.00--45,087.0010,65,844.001,54,718.00
13825,45,420.00-----25,45,420.003,15,643.00
149-----1,40,837.501,40,837.50-
151080,850.005,07,769.001,35,001.0067,003.007,36,798.005,69,030.0020,96,451.0014,05,698.00
16
17FOR EXAMPLE
18
190-90d91-120d121-150d151-180d181-360dabove 360TOTALDIFF
2012,57,396.002,05,498.00-5,25,000.0065,53,004.003,26,706.3278,67,604.3257,50,187.64
21
22STEP 12,57,396.002,05,498.00-5,25,000.0065,53,004.00-75,40,898.0054,23,481.32
23STEP 22,57,396.002,05,498.00-5,25,000.0011,29,522.68-75,40,898.00-
24
251080,850.005,07,769.001,35,001.0067,003.007,36,798.005,69,030.0020,96,451.0014,05,698.00
26STEP 180,850.005,07,769.001,35,001.0067,003.007,36,798.00-15,27,421.008,36,668.00
27STEP 280,850.005,07,769.001,35,001.0067,003.00--7,90,623.0099,870.00
28STEP 380,850.005,07,769.001,35,001.00---7,23,620.0032,867.00
29STEP 480,850.005,07,769.001,02,134.00---6,90,753.00-
30
Sheet1
Cells with Conditional Formatting
CellConditionCell FormatStop If True
H25:J29Cell Value<0textNO
B22:H23Cell Value<0textNO
B20:J20Cell Value<0textNO
H15:J15,B6:J14Cell Value<0textNO
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
Welcome to the MrExcel Message Board!

Cross-posting (posting the same question in more than one forum) is not against our rules, but the method of doing so is covered by #13 of the Forum Rules.

Be sure to follow & read the link at the end of the rule too!

Cross posted at:

There is no need to repeat the link(s) provided above but if you have posted the question at other places, please provide links to those as well.

If you do cross-post in the future and also provide links, then there shouldn’t be a problem.
 
Upvote 0
Also, this appears to be yet another duplicate post. Please do not post the same question repeatedly. This is now closed too.
 
Upvote 0
Status
Not open for further replies.

Forum statistics

Threads
1,215,345
Messages
6,124,408
Members
449,157
Latest member
mytux

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