Basic CountIf question regards a date

Johnagall

New Member
Joined
Jul 17, 2011
Messages
6
I'm just learning Excel beyond the basics so this is a newbie question. I have some raw data from a download of the date and time that people signed up to a training course my organisation put on. I'm looking to count how many sign ups happened on each date of a two month period before cross referencing that with a number of dates we sent out promotional sign up emails to see how effective our email campaigns were.

Given the sparse basic nature of the data with date and time in one cell, I first of all seperated the date out as I'm not worried about the time. I did this by using the Integer function and then formatting the new column to date format to give me the date as in picture 1. These were then all individual signups that needed to be counted.

Then I sorted all of them into date order and wanted to count how many sign ups were received on the start date using =countif,(range,"19/07/2022") Whilst this worked for the first few dates I entered manually, it would not automatically fill down. Instead flashfill just repeated the outcomes of the first few cells. Instead I ended up doing the counts for each day manually and entering them manually too as in picture 2.

Can somebody advise on how I should have approached this instead? I know this should have taken 2 minutes and instead it took me 45.
 

Attachments

  • 1.png
    1.png
    75.5 KB · Views: 14
  • 2.png
    2.png
    50.8 KB · Views: 14

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
you could have all the dates you want to count in a column and then use
countif(range, cell with the date in

Book1
ABCD
1
21/19/221/19/224
31/19/221/20/226
41/19/221/21/226
51/19/221/22/226
61/20/221/23/222
71/20/221/24/220
81/20/221/25/220
91/20/221/26/221
101/20/221/27/220
111/20/221/28/220
121/21/221/29/221
131/21/221/30/222
141/21/221/31/222
151/21/222/1/222
161/21/222/2/222
171/21/222/3/222
181/22/222/4/220
191/22/222/5/220
201/22/222/6/220
211/22/222/7/220
221/22/222/8/220
231/22/222/9/220
241/23/22
251/23/22
261/26/22
271/29/22
281/30/22
291/30/22
301/31/22
311/31/22
322/1/22
332/1/22
342/2/22
352/2/22
362/3/22
372/3/22
Sheet4
Cell Formulas
RangeFormula
D2:D23D2=COUNTIF(A2:A37,C2)


Or a pivot table
 
Upvote 0
Solution

Forum statistics

Threads
1,223,234
Messages
6,170,891
Members
452,366
Latest member
TePunaBloke

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