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

countif

ResolvedVersion 2010

Hannah has attended:
Excel Dashboards for Business Intelligence course

COUNTIF

Hi,

I have a set of data. I want to count how many records within my data sat have:

- "continuing" as the status in column c

and

- has a date in column U that is before today's date


I am struggling to construct the formulae, are you able to help? (I use google sheets not excel)

Many thanks,

Hannah

RE: COUNTIF

Hi Hannah

You're looking for the COUNTIFS function.

The COUNTIFS function is covered in the Excel Advanced Formulas and Functions course. The COUNTIFS function will automatically count any reference that matches the multiple criteria values you set.

In column A we have the data containing the phrase "Continuing" and in column B we have dates listed.

The COUNTIFS will select the range and then the criteria value. We then add a second criteria that references Column B and checks if any of the values are before or equal to today

=COUNTIFS(A1:A28,"continuing",B1:B28,"<="&TODAY())

Hope that helps

Kind regards
Wendy

Mon 31 Jul 2017: Automatically marked as resolved.

Excel tip:

Colouring cells containing formulas

Cells in a worksheet can contain values or they can contain formulas. You may wish to identify all the cells in your worksheet that contain formulas by colouring those cells.

Follow these steps:
1. Choose Edit > Go To menu, or press either F5 or Ctrl+G. Excel displays the Go To dialog box.
2. Click Special. Excel displays the Go To Special dialog box.
3. Select the Formulas radio button option.
4. Select OK.

At this point, every formula cell in the worksheet is selected, and those cells can be coloured formatted as desired.

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.1 secs.