2 min readfrom Microsoft Excel | Help & Support with your Formula, Macro, and VBA problems | A Reddit Community

Get rid of duplicates in several columns based on a unique value in one column?

Our take

Managing duplicates in a spreadsheet can be a daunting task, especially when handling extensive data for invoicing. In your case, where order numbers are unique but other details like shipping costs and totals are not, there’s a more efficient way to streamline your process. Instead of manually deleting duplicates, consider using a formula that leverages the unique order numbers to summarize the necessary data.

EDIT: Thanks for all the suggestions! I like the one I marked as verified because it's very simple and something I can easily teach to coworkers.

I manage a private Wordpress-based web store. We invoice the client each month based on a spreadsheet export from Wordpress.

It's necessary for this export to have a row per line item, which means we get duplicates of all the other order data, like shipping cost, order subtotal, and order total. We need the sums of those mentioned columns, so we end up manually deleting all the duplicates to do an =SUM at the bottom.... It's time consuming and prone to error, given that a monthly invoice has anywhere between 800 to 1500 line items.

I've searched up similar solutions that can formulaically delete duplicates after the first unique value, but I don't think that would work here because there could be the same values across different orders. How can I do this using the order numbers, since those are unique?

Example attached. Note that several orders have the same shipping cost.

https://preview.redd.it/0jfht5w4ejyg1.png?width=460&format=png&auto=webp&s=bc237e320069cc78e73e3525253575af4f92e10a

This is what I want the result to be.

https://preview.redd.it/qf2gafp5ejyg1.png?width=460&format=png&auto=webp&s=9d6fb08df35a80c5e802c03b88be0b8e754b1e22

Is this possible, or has anyone got any ideas for how to gather these sums a different way?

submitted by /u/rehaharbor
[link] [comments]

Read on the original site

Open the publisher's page for the full experience

View original article

Tagged with

#Excel alternatives for data analysis#generative AI for data analysis#cloud-based spreadsheet applications#natural language processing for spreadsheets#enterprise-level spreadsheet solutions#AI-driven spreadsheet solutions#real-time data collaboration#no-code spreadsheet solutions#data cleaning solutions#rows.com#big data management in spreadsheets#modern spreadsheet innovations#machine learning in spreadsheet applications#digital transformation in spreadsheet software#conversational data analysis#Excel compatibility#row zero#collaborative spreadsheet tools#automation in spreadsheet workflows#intelligent data visualization