Sum unique values

creative999

Board Regular
Joined
Jul 7, 2021
Messages
85
Office Version
  1. 365
  2. 2019
Platform
  1. Windows
  2. MacOS
Trying to do a sum of column B if col A = Finished (and where col c value is unique).
For example

'Finished' should = 350

Book3
ABC
1STATUSSELL PRICEREF
2START300RET5644403
3FINISHED200RET77600004
4FINISHED150RET5644403
5TBC200RET5644403
6FINISHED 200RET77600004
7FINISHED150RET5644403
8TBC200RET77600004
Sheet2
 
Will the data in those other colums be the same for each ref number?
 
Upvote 0

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
Ok, how about
+Fluff 1.xlsm
ABCDEFG
1STATUSSELL PRICEREF
2START44565300aRET56444033350
3FINISHED44563200bRET77600004
4FINISHED44565150cRET5644403
5TBC44566200dRET5644403
6FINISHED44564200eRET77600004this is being included in the formula
7FINISHED44565150fRET5644403
8TBC44567200gRET77600004
9FINISHED445691000hRET9999
10FINISHED445692000iRET99990
11XXXX445621000jRET123456
12FINISHED445691000kRET9999
13FINISHED445692000lRET99990
Data
Cell Formulas
RangeFormula
G2G2=SUM(INDEX(UNIQUE(FILTER(FILTER(C2:E13,A2:A13="FINISHED"),{1,0,1})),,1))
 
Upvote 0
Ok, how about
+Fluff 1.xlsm
ABCDEFG
1STATUSSELL PRICEREF
2START44565300aRET56444033350
3FINISHED44563200bRET77600004
4FINISHED44565150cRET5644403
5TBC44566200dRET5644403
6FINISHED44564200eRET77600004this is being included in the formula
7FINISHED44565150fRET5644403
8TBC44567200gRET77600004
9FINISHED445691000hRET9999
10FINISHED445692000iRET99990
11XXXX445621000jRET123456
12FINISHED445691000kRET9999
13FINISHED445692000lRET99990
Data
Cell Formulas
RangeFormula
G2G2=SUM(INDEX(UNIQUE(FILTER(FILTER(C2:E13,A2:A13="FINISHED"),{1,0,1})),,1))
Thank you... this seemed to work. Thank you all for all your help on this..
 
Upvote 0
Glad we could help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,994
Messages
6,122,633
Members
449,092
Latest member
bsb1122

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