Formula that can count based on text & date criteria

KimuraBandit

New Member
Joined
Feb 21, 2025
Messages
2
Office Version
  1. 365
  2. Prefer Not To Say
Platform
  1. Windows
Hi All,

I need help finding a formula that can count based on text & date criteria.

I need to count the number of jobs based on the analysis code and then by the required dates before today.

I have managed to get both formulas working separately by COUNTIF, and when I combine them by COUNTIFS, it does not help.

My current formula is =COUNTIFS('Raw Data'!C:C,A1,'Raw Data'!H:H,"<"C16).

Any suggested?

Thanks, Ashley
 

Attachments

  • Excel Question.png
    Excel Question.png
    91.4 KB · Views: 2
  • Excel Formula Problem.png
    Excel Formula Problem.png
    61.3 KB · Views: 2
What version of Excel are you using? "Prefer not to say" does not really help us.

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’)

You need to add an & like
Excel Formula:
=COUNTIFS('Raw Data'!C:C,A1,'Raw Data'!H:H,"<"&C16)
 
Upvote 0
Solution

Forum statistics

Threads
1,226,861
Messages
6,193,402
Members
453,794
Latest member
slilesy

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