I have a spreadsheet in excel where in the leftmost column I have order numbers and the corresponding cell to each cell in the order number columns contain the dollar amount for that particular order. Orders from the same customer have the same order number but different dollar amounts and listed separately in the spreadsheet. Is there a way to systematically condense these orders into a single order for each customer with a corresponding dollar amount equal to the sum of all the orders?
order number Dollar Amount order number dollar amount
1234 $100 1234 $1,000
1234 $200 2345 $1,100
1234 $300
1234 $400
2345 $500
2345 $600