separate multiple separated ranges into multiple sheets

Maklil

Board Regular
Joined
Jun 23, 2022
Messages
174
Office Version
  1. 2019
Platform
  1. Windows
Hi
I have many separated ranges for each customer in one sheet , what I want split for each customer into multiple sheets and rename for each sheet based on customer name based on cell contains name . and should delete the data for each sheet has already splited becuase I want to update data could be change in sheet SUMMARISE
Names_6.xlsm
ABCDEFG
1
2NAMEBALANCEDEBITCREDITNET
3Maklil21,000.00190,100.004,050.00187,050.00
4
5DATEDESCRIBEINVOICE NODEBITCREDITBALANCE
61/9/2022BALANCE-1,000.001,000.00
711/1/2012CASHA99100.00100.001,000.00
816/1/2012BANKA1065,000.001,000.005,000.00
918/1/2012BANKA106100.004,900.00
1019/1/2012BANKA107250.004,650.00
1120/1/2012BANKA10810,000.00100.0014,550.00
1221/1/2012DEBTA10920,000.0034,550.00
1322/1/2012BANKA1101,000.00100.0035,450.00
1423/1/2012DEBTA111150,000.00185,450.00
1524/1/2012CASHA1122,000.001,200.00186,250.00
1625/1/2012CASHA1132,000.001,200.00187,050.00
17TOTAL191,100.004,050.00187,050.00
18
19
20NAMEBALANCEDEBITCREDITNET
21Maklil30.003,969,156,000.003,171,944,400.00797,211,600.00
22
23DATEDESCRIBEINVOICE NODEBITCREDITBALANCE
241/8/2022BALANCE-0.000.00
2526/1/2012CASHA1143,000.001,200.001,800.00
2627/1/2012CASHA1153,000.001,200.003,600.00
2728/1/2012CASHA1163,000.001,200.005,400.00
2829/1/2012CASHA1174,000.002,000.007,400.00
2930/1/2012CASHA1185,000.002,800.009,600.00
3031/1/2012CASHA1196,000.003,600.0012,000.00
311/2/2012CASHA1207,000.004,400.0014,600.00
322/2/2012CASHA1218,000.005,200.0017,400.00
333/2/2012CASHA1229,000.006,000.0020,400.00
344/2/2012CASHA12310,000.006,800.0023,600.00
355/2/2012CASHA12411,000.007,600.0027,000.00
366/2/2012CASHA12512,000.008,400.0030,600.00
377/2/2012CASHA12613,000.009,200.0034,400.00
388/2/2012CASHA12714,000.0010,000.0038,400.00
Summaries
Cell Formulas
RangeFormula
D3,D21D3=IFERROR(VLOOKUP(C3, Tabla2[[NAME]:[BALANCE]], 3, 0), 0)
E3E3=SUM(Tabla121[DEBIT]) - D3
F3F3=SUM(Tabla121[CREDIT])
G3,G21G3=D3+E3-F3
B6,B24B6=IFERROR(VLOOKUP(C3, Tabla2[[NAME]:[DATE]], 2, 0), "---")
E6,E24E6=D3
G24:G38,G6:G16G6= N(G5) + E6 - F6
E17E17=SUBTOTAL(109, [DEBIT])
F17F17= SUBTOTAL(109, [CREDIT])
G17G17= Tabla121[[#Totals],[DEBIT]] - Tabla121[[#Totals],[CREDIT]]
E21E21=SUM(Tabla122[DEBIT]) - D21
F21F21=SUM(Tabla122[CREDIT])



RESULT
Names_6.xlsm
ABCDEF
1NAMEBALANCEDEBITCREDITNET
2Maklil21,000.00190,100.004,050.00187,050.00
3
4DATEDESCRIBEINVOICE NODEBITCREDITBALANCE
51/9/2022BALANCE-1,000.001,000.00
611/1/2012CASHA99100.00100.001,000.00
716/1/2012BANKA1065,000.001,000.005,000.00
818/1/2012BANKA106100.004,900.00
919/1/2012BANKA107250.004,650.00
1020/1/2012BANKA10810,000.00100.0014,550.00
1121/1/2012DEBTA10920,000.0034,550.00
1222/1/2012BANKA1101,000.00100.0035,450.00
1323/1/2012DEBTA111150,000.00185,450.00
1424/1/2012CASHA1122,000.001,200.00186,250.00
1525/1/2012CASHA1132,000.001,200.00187,050.00
16TOTAL191,100.004,050.00187,050.00
Maklil2
Cell Formulas
RangeFormula
C2C2=IFERROR(VLOOKUP(B2, Tabla2[[NAME]:[BALANCE]], 3, 0), 0)
D2D2=SUM(Tabla1214[DEBIT]) - C2
E2E2=SUM(Tabla1214[CREDIT])
F2F2=C2+D2-E2
A5A5=IFERROR(VLOOKUP(B2, Tabla2[[NAME]:[DATE]], 2, 0), "---")
D5D5=C2
F5:F15F5= N(F4) + D5 - E5
D16D16=SUBTOTAL(109, [DEBIT])
E16E16= SUBTOTAL(109, [CREDIT])
F16F16= Tabla1214[[#Totals],[DEBIT]] - Tabla1214[[#Totals],[CREDIT]]



Names_6.xlsm
ABCDEF
1NAMEBALANCEDEBITCREDITNET
2Maklil30.003,969,156,000.003,171,944,400.00797,211,600.00
3
4DATEDESCRIBEINVOICE NODEBITCREDITBALANCE
51/8/2022BALANCE-0.000.00
626/1/2012CASHA1143,000.001,200.001,800.00
727/1/2012CASHA1153,000.001,200.003,600.00
828/1/2012CASHA1163,000.001,200.005,400.00
929/1/2012CASHA1174,000.002,000.007,400.00
1030/1/2012CASHA1185,000.002,800.009,600.00
1131/1/2012CASHA1196,000.003,600.0012,000.00
121/2/2012CASHA1207,000.004,400.0014,600.00
132/2/2012CASHA1218,000.005,200.0017,400.00
143/2/2012CASHA1229,000.006,000.0020,400.00
154/2/2012CASHA12310,000.006,800.0023,600.00
165/2/2012CASHA12411,000.007,600.0027,000.00
176/2/2012CASHA12512,000.008,400.0030,600.00
187/2/2012CASHA12613,000.009,200.0034,400.00
198/2/2012CASHA12714,000.0010,000.0038,400.00
Maklil3
Cell Formulas
RangeFormula
C2C2=IFERROR(VLOOKUP(B2, Tabla2[[NAME]:[BALANCE]], 3, 0), 0)
D2D2=SUM(Tabla122[DEBIT]) - C2
E2E2=SUM(Tabla122[CREDIT])
F2F2=C2+D2-E2
A5A5=IFERROR(VLOOKUP(B2, Tabla2[[NAME]:[DATE]], 2, 0), "---")
D5D5=C2
F5:F19F5= N(F4) + D5 - E5

I have about 20 separated ranges for each name , could be 5000 rows
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number

Forum statistics

Threads
1,223,227
Messages
6,170,848
Members
452,361
Latest member
d3ad3y3

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