The difference is to be subtracted from those cells so that it becomes zero. There is nothing to do where there is no Value. vba or formula required.

KJAYPAL200

New Member
Joined
Dec 5, 2023
Messages
3
Office Version
  1. 2013
  2. 2011
  3. 2010
Platform
  1. Windows
AGEING-MrEXCEL.xlsx
AWXYZAAABACADAE
1Sundry Debtors
2Group Summary - AGEINGWISE
3
4As on 31 Oct'2023
7Particulars0-90d91-120d121-150d151-180d181-360dabove 360TOTALDIFF
8STILL 0SUBSTRACT FROM THIS THEN CHECK IN THIS, NOTHING FILL 0THEN CHECK IN THIS, NOTHING FILL 0THEN CHECK IN THIS, NOTHING FILL 0FIRST CHECK IN THIS, NOTHING FILL 0
9A A Agro -1,07,602.00----1,07,602.0010,000.00
10
11STILL 0STILL 0STILL 0STILL 0STILL 0NO DIFF, DO NOTHING
12AABA -----65,501.0065,501.00-
13
14 AFTER FILLED 0 IN AB13, NOW DIFF WILL BE 23538.25, SUBSTRACT FROM THIS STILL 0STILL 0STILL 0STILL 0FILL 0 IN THIS, THIS 7721.25 LESS THAN DIFF VALUE.
15Abhinav 27,000.00----7,721.2534,721.2531,259.50
16
17 DO NOTHING, BECOZ NO DIFF DO NOTHING, BECOZ NO DIFF
18ABHISAI ----19,62,334.0012,32,666.0031,95,000.00-
19
20 NOW SUBSTRACT 5423481.32 FROM THIS FILL 0 IN THIS, BECOZ THIS VALUE LESS THAN DIFF VALUE.
21Ankur 2,57,396.002,05,498.00-5,25,000.0065,53,004.003,26,706.3278,67,604.3257,50,187.64
SD AGEING (BANK) (New) (2)
Cell Formulas
RangeFormula
W9,W21,W18,W15,W12W9=C9
X9,X21,X18,X15,X12X9=G9
Y9,Y21,Y18,Y12Y9=K9
Z9,Z21,Z18,Z15,Z12Z9=O9
AA9,AA21,AA18,AA12AA9=S9
AB9,AB21,AB18,AB12AB9=MAX(0, IF(S9=T9, R9, IF(S9-T9<0, U9, R9)))
AC9,AC21,AC18,AC15,AC12AC9=+SUM(W9:AB9)
AE9,AE21,AE18,AE15,AE12AE9=+AC9-E9
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.

Forum statistics

Threads
1,215,156
Messages
6,123,338
Members
449,098
Latest member
thnirmitha

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