Sum text for unique dates in certain year

kayakginge

New Member
Joined
Dec 11, 2017
Messages
19
I have a set of data which is generated from MSForms submissions
I have a long list of dates in column E (ranging from 2015-2022) and a list of text options in Column G.
The text option in column G is either "Holly Mai" or "Alysee"
Some dates have more than one entry.
I wish to sum all of the unique days/entries each year and each month for either text option, ie how may unique days is there a form submission for Alysee or Holly Mai in a given year or month.

I can get close using the Unique and countifs formula but it is always a few short and i dont understand why. For example in 2015 by counting manually i get 67 entries but the formula returns 63.

Any help on this would be greatly appreciated.
 

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
Can you add an example (with a link or with the XL2BB-tool ?
I assume you have 365-2021 ?
 
Upvote 0
Without sample data, this is just a shot in the dark. Anytime you are getting strange results when comparing text, you should check for non-printing characters such as spaces. you may try wrapping the part of your formula that reads the text values with a TRIM function. For example, if your text is in A2 use TRIM(A2).

Hope that helps.

Regards,
Ken
 
Upvote 0
Yes i am using the latest version of excel 365, dont know how to use XL2BB so i have attached an image of the data.
 

Attachments

  • Screenshot 2022-07-22 at 11.50.09.png
    Screenshot 2022-07-22 at 11.50.09.png
    145.2 KB · Views: 2
Upvote 0
Yes i am using the latest version of excel 365

I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)
 
Upvote 0
Yes i am using the latest version of excel 365
Then please add that to your Account details (click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)

dont know how to use XL2BB
Follow the detailed instructions here: XL2BB
 
Upvote 0

Forum statistics

Threads
1,214,788
Messages
6,121,580
Members
449,039
Latest member
Arbind kumar

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