Can someone help me witha sum formula

Colinology

New Member
Joined
Jul 30, 2018
Messages
1
Hi everyone,

Can someone help me with a sum formula for Excel?

I have a column with a series of order numbers from my client, lets say about 100.
Some of the order numbers are the same so lets say 65 of them are unique and the other 35 are doubles or triples etc as per the example below.

94600
94655
94666
94666
94666
94689
94691

The reason some of these numbers multiply is that the spread sheet also shows what items have been ordered and so one order might have 4 items on it, hence the repeated numbers.

Is there a sum that will add up the unique numbers only and not the doubles?

Thanks for your help.

Cheers
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
Code:
=SUMPRODUCT(1/COUNTIF(A1:A7,A1:A7&""),A1:A7)
replace A1:A7 with whatever your range is
hope that works
 
Upvote 0
Hello, are you looking for a formula solution? If not, do you have power query (get and transform), if so, you can solve this fairly quickly.
 
Upvote 0

Forum statistics

Threads
1,224,828
Messages
6,181,209
Members
453,023
Latest member
alabaz

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