Get the Unique Items for each Month Sum

  • Thread starter Thread starter Legacy 143009
  • Start date Start date
L

Legacy 143009

Guest
Hi,

I am currently using XL2019 so I can't go for UNIQUE-FILTER.
I have a table like this starting from A2:

AppleJan300
OrangeJan200
BananaJan100
AppleJan100
OrangeJan100
AppleFeb200
AppleFeb100
BananaFeb200

The desired result is:
AppleJan400
OrangeJan300
BananaJan100
AppleFeb300
BananaFeb200

Is this doable without a helper column? I am trying to move over the classic unique formula but COUNTIF function isn't accepting the array as a range.
=INDEX($A$2:$A$9,MATCH(0,COUNTIF($A$2:$B2&$A$1:$A1,$A$2:$A$9&$B$2:$B$9)),0))
I need the formulas only for Columns A and B in the 2nd table. I can handle Column C if I got those two columns. It would be a simple COUNTIFS.

Thanks a lot!
 

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,)
Any particular reason you didn't opt for a pivot table? Or would that be a good alternative for this usecase.
 
Upvote 0
I was not able to configure pivot table layout like the desired output. I am open if there is a way..
 
Upvote 0
A tabular layout pivot with no subtotals would look like your desired layout.
 
Upvote 0
I never did a tabular pivot before. Can you describe in few steps, plaese? I can figure out the rest myself.
 
Upvote 0
With a little bit of fiddling, this is what my pivot table looks like:

1668514928759.png


Here is a quick 'How-to" on creating a tabular layout. Maybe that is close enough to what it is you are trying.
 
Upvote 0
Solution
OK; I guess I can live with this. One last question:
I want to filter the results according to year. And the year is the sheet name. Is there any way to trick pivot table like a calculated field?
(original date data has year information)
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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