COUNTIFS formula with INDEX/MATCH column

horizonflame

Board Regular
Joined
Sep 27, 2018
Messages
184
Office Version
  1. 2013
Hi All

=COUNTIFS(DataWork!$A$3:$A$10000,"*CDITT*",DataWork!$Q$3:$Q$10000,"*",DataWork!$P$3:$P$10000,"<"&TODAY())

DataWork Column Q contains INDEX/MATCH formula results, am I right in thinking that is why this formula returns a count of zero?

Many thanks
 

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
I THINK THE RIGHT FORMULA MUST BE LIKE THIS
Code:
[COLOR=#333333][I]=COUNTIFS(DataWork!$A$3:$A$10000,"*"&"CDITT"&"*",DataWork!$Q$3:$Q$10000,"?*",DataWork!$P$3:$P$10000,"<"&TODAY())[/I][/COLOR]
 
Last edited:
Upvote 0
I THINK THE RIGHT FORMULA MUST BE LIKE THIS
1--IF DataWork!$Q$3:$Q$10000 CONTAINS TEXT

Code:
[COLOR=#333333][I]=COUNTIFS(DataWork!$A$3:$A$10000,"*"&"CDITT"&"*",DataWork!$Q$3:$Q$10000,"?*",DataWork!$P$3:$P$10000,"<"&TODAY())[/I][/COLOR]

2--IF DataWork!$Q$3:$Q$10000 CONTAINS NUMBERS

Code:
Code:
[I]=COUNTIFS(DataWork!$A$3:$A$10000,"*"&"CDITT"&"*",DataWork!$Q$3:$Q$10000,[/I]"<="&10^9[I],DataWork!$P$3:$P$10000,"
[/I]
 
Last edited:
Upvote 0
@salim hasan
Please do not make duplicate posts.
Also in future please do not us capital letters as that is SHOUTING and is considered rude.
Thanks
 
Upvote 0
I have found that the COUNT function will count the number of cells in column Q with matches found. Could this be incorporated into my formula at all?

=COUNTIFS(DataWork!$A$3:$A$10000,"*CDITT*",DataWork!$Q$3:$Q$10000,(COUNT))

Many thanks again :)
 
Upvote 0

Forum statistics

Threads
1,214,523
Messages
6,120,038
Members
448,940
Latest member
mdusw

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