Consolidate values

Assamita

Board Regular
Joined
Sep 23, 2011
Messages
131
Hello everyone.
I'm having troubles with a huge file I'm trying to reduce.
I have a list of almost 280k sales orders that it's slowing the file (and the whole computer) down a lot. For my purposes, I realized I can reduce that drastically by summing up the number of orders per month, instead of having one line per each single order.
My original idea was to use the consolidate button, but I haven't figured out how to properly use it, so my second option was to add a columns with a sumifs formula, and then delete duplicates. But it takes so long the file finally crashes.

The values are looking something like:
[TABLE="width: 500"]
<tbody>[TR]
[TD]Country[/TD]
[TD]Vendor[/TD]
[TD]Sales order[/TD]
[TD]Full Date[/TD]
[TD]Month only[/TD]
[TD]Number of invoices[/TD]
[/TR]
</tbody>[/TABLE]

I would need to group by month the number of sales orders per country per vendor (I hope I made myself clear).

Any ideas on how can I do it?
Thank you
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
Can you send the file? Because I dont think we can help otherwise... it's too theoretical your problem. Sorry
 
Upvote 0
well, it's an 18Mb file, and it has sensitive data in it (it's a work file), so I'm afraid I can't. But I can copy the headers and make up one line, see if that could help.

[TABLE="width: 1185"]
<colgroup><col><col><col><col><col><col><col><col><col><col></colgroup><tbody>[TR]
[TD]Company code[/TD]
[TD] [/TD]
[TD]Global Manufacturer (MD)[/TD]
[TD]Local Manufacturer (MD)[/TD]
[TD]L- Prod Hierarchy (MD)[/TD]
[TD]Profit Center (MD)[/TD]
[TD]Sales document[/TD]
[TD]Sales order date[/TD]
[TD]No of invoices[/TD]
[TD]Month[/TD]
[/TR]
[TR]
[TD]0010[/TD]
[TD][/TD]
[TD]ACRONIS[/TD]
[TD]ACRONIS[/TD]
[TD]Acronis Lizenzen[/TD]
[TD]Acronis[/TD]
[TD]xxxxxxxxxxxx[/TD]
[TD]30/05/2017[/TD]
[TD]1[/TD]
[TD="align: right"]5[/TD]
[/TR]
</tbody>[/TABLE]
 
Upvote 0
Nevermind, I left it working and I've managed to do it. It took about 2 hours of computer time, but it's ok now.
Thank you
 
Upvote 0

Forum statistics

Threads
1,223,909
Messages
6,175,310
Members
452,634
Latest member
cpostell

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