Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

STL - Formerly Best Training Solutions Through Learning
TrustPilot
Excellent
Request Callback We will call you back
0207 987 3777 Call for assistance
Your Basket Basket is empty
count function

ResolvedVersion 365

Sophie has attended:
TD Intermediate Plus course

Count function

I would like to count the total number of cells that contain each month from a date format

RE: count function

Hi Sophie,

Thank you for your question. The simplest way to do this would be to insert a column which shows the month from a date as a number.

The function is: =MONTH(B2) - if the dates are in column B. It will show 1 for Jan, 2 for Feb, etc.

In another column, write a COUNTIF function to count the number of e.g., Feb's (2s).

=COUNTIF(C:C,2) - Column C has the =MONTH functions.

I hope this helps!

Kind regards
Marius Barnard
STL






Thu 20 Oct 2022: Automatically marked as resolved.

Excel tip:

New to Excel 2010 - Sparklines!

Excel 2010 includes a new feature called Sparklines which are tiny charts that fit into a single cell and plot data in cells from the worksheet. There are a host of formatting and styles that can be applied to them and they are really quite interesting.

>insert
>sparklines
>Choose any style you want

You will be asked for the range and it will automatically select the cell your in to insert the sparklines.

View all Excel hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.09 secs.