Merge duplicates Batches based on column contains the same price

MKLAQ

Active Member
Joined
Jan 30, 2021
Messages
407
Office Version
  1. 2016
Platform
  1. Windows
Hello,
I have duplicates BATCH in column B ,contains many prices in column G . if the duplicates BATCH contains the same price then merge for column F , otherwise don't merge.
when merge duplicates batch should be based on column B .
the batches could be 2000 and repeated batches could reach 6000 rows.
I would merge in the same sheet
mkk ‫‬.xlsx
ABCDEFGH
8ITEMBATCHGOODSTYPEMODELIMPORTPRICETOTAL
91CCR-001 CR CCR-1 2010BMW380.0012,000.004,560,000.00
102CCR-001 CR CCR-1 2010BMW120.0012,000.001,440,000.00
113CCR-002TR CCB-3 TCR 1-TT2009 MER120.0011,000.001,320,000.00
124CCR-003CCR-2 FI 2012TIGUAN120.0012,500.001,500,000.00
135CCR-003CCR-2 FI 2012TIGUAN100.0012,300.001,230,000.00
146CCR-004TR CCB-3 TMIR 1-TT2009 MER101.004,400.00444,400.00
157CCR-004TR CCB-3 TMIR 1-TT2009 MER80.004,400.00352,000.00
16TOTAL10,846,400.00
CA
Cell Formulas
RangeFormula
H9:H15H9=F9*G9
H16H16=SUM(H9:H15)


should be like this

mkk ‫‬.xlsx
ABCDEFGH
8ITEMBATCHGOODSTYPEMODELIMPORTPRICETOTAL
91CCR-001 CR CCR-1 2010BMW500.0012,000.006,000,000.00
102CCR-002TR CCB-3 TCR 1-TT2009 MER120.0011,000.001,320,000.00
113CCR-003CCR-2 FI 2012TIGUAN120.0012,500.001,500,000.00
124CCR-003CCR-2 FI 2012TIGUAN100.0012,300.001,230,000.00
135CCR-004TR CCB-3 TMIR 1-TT2009 MER181.004,400.00796,400.00
14TOTAL10,846,400.00
CA
Cell Formulas
RangeFormula
H9:H13H9=F9*G9
H14H14=SUM(H9:H13)
 
Last edited:

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
Strangely !
when I enter PQ editor will show the same errors!
 
Upvote 0

Forum statistics

Threads
1,221,418
Messages
6,159,790
Members
451,589
Latest member
Harold14

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