Sum values(column C) based on unique value(column A) after filtering(column B)

liakos

New Member
Joined
Mar 17, 2018
Messages
8
Office Version
  1. 2016
Platform
  1. Windows
Hello everybody,

I need some help creating a formula.
I have an excel file with 3 columns and I need to sum values of column C, based on the unique values of column A.
I achieved that using the formula '=SUMPRODUCT((C3:C13/COUNTIF(A3:A13;A3:A13)))' but when I use filter in column B, the result is not updated.

I attached a picture of a sample spreadsheet.
Could you please help me?

Thanks in advance,
Liakos
 

Attachments

  • test file.JPG
    test file.JPG
    46.4 KB · Views: 9
Odd, that works for me. Try confirming the formula with Ctrl Shift Enter, rather than just Enter.
Fluff you rock my friend!
It worked just perfect after I confirmed the formula with Ctrl Shift Enter!

Thanks a lot!
 
Upvote 0

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,143
Messages
6,123,282
Members
449,094
Latest member
GoToLeep

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