Create report by merging amounts for specific sheets together for each name

KalilMe

Active Member
Joined
Mar 5, 2021
Messages
343
Office Version
  1. 2016
Platform
  1. Windows
Hi
I want merging duplicates names for sheets SALES and FIRST .
in SALES sheet should merge the same name based on column C for amount in column J for TOTAL row in this case CR-10000= 300+26000 =26300
and FIRST sheet should merge the name based on column B
then CR-10000=100
so the result should show in column C=26300+100=26400 in LIST sheet.
and PAID sheet should merge the name based on column B
then CR-10000=100+100=200
the result should show in column D=200 in LIST sheet
as to column E for LIST sheet should subtract column C from column D .
as to DATE in column A should populate based on DATE(TODAY) for LIST sheet.
and so on the others names across sheets with considering the data will increase across sheets
CR.xlsm
ABCDEFGHIJ
1ITEMDATENAMEINVOICEGOODSTYPEPRQTYUNITTOTAL
2126/05/2023CR-10000FRVG-10000ATRAM1GR1010.00100.00
3226/05/2023CR-10000FRVG-10000ATRAM2PO1020.00200.00
4TOTAL26/05/2023CR-10000FRVG-10000300.00
5126/05/2023CR-10001FRVG-10001ATRAM1GR1022.00220.00
6226/05/2023CR-10001FRVG-10001ATRAM2PO1033.00330.00
7TOTAL26/05/2023CR-10001FRVG-10001550.00
8126/05/2023CR-10002FRVG-10002ATRAM1GR1010.00100.00
9226/05/2023CR-10002FRVG-10002ATRAM1PO2010.00200.00
10326/05/2023CR-10002FRVG-10002ATRAM4QW10200.002,000.00
11TOTAL26/05/2023CR-10002FRVG-100022,300.00
12126/05/2023CR-10000FRVG-10003ATRAM1GR20100.002,000.00
13226/05/2023CR-10000FRVG-10003ATRAM1PO20200.004,000.00
14326/05/2023CR-10000FRVG-10003ATRAM4QW200100.0020,000.00
15TOTAL26/05/2023CR-10000FRVG-1000326,000.00
SALES
Cells with Data Validation
CellAllowCriteria
E2:E4List=#REF!
F2:F4List=TYPE
G2:G4List=PR
E6:E7List=#REF!
F6:F7List=TYPE
G6:G7List=PR
E10:E11List=#REF!
F10:F11List=TYPE
G10:G11List=PR
E14:E15List=#REF!
F14:F15List=TYPE
G14:G15List=PR




CR.xlsm
ABCDE
1DATENAMEVOUCHER NOCASEAMOUNT
226/05/2023CR-10000VCH001CASH100.00
326/05/2023CR-10000VCH002CASH100.00
426/05/2023CR-10002VCH003CASH120.00
5
6
7
8
9
10
11
PAID


CR.xlsm
ABC
1DATENAMEOPENING
226/05/2023CR-10000100.00
326/05/2023CR-10002-300.00
4
5
6
7
8
9
10
11
FIRST





before

CR.xlsm
ABCDE
1DATENAMEDEBITCREDITBALANCE
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
LIST

after
CR.xlsm
ABCDE
1DATENAMEDEBITCREDITBALANCE
226/05/2023CR-1000026,400.00200.0026,200.00
326/05/2023CR-10001550.00550.00
426/05/2023CR-100022,300.00-300.002,000.00
5
6
7
8
9
10
11
12
13
14
15
16
LIST


thanks
 

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.

Forum statistics

Threads
1,215,094
Messages
6,123,071
Members
449,092
Latest member
ipruravindra

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