Help with counting values off column from non-table cell range

JEH105

New Member
Joined
Oct 11, 2019
Messages
35
Office Version
  1. 365
Platform
  1. Windows
Hello!

Using the sample table below, which formula can I use to pull the count of "Available" cells in this text range (not a table), but only for the specific column which matches today's date? I've tried a few variations of COUNTIF with HLOOKUP, but it's not working for me.

11/6/202311/7/202311/8/202311/9/202311/10/2023
AvailableAvailableUAvailableAvailable
AvailableAvailableAvailable8Available
UAvailableAvailableAvailableAvailable
8AvailableAvailableAvailableU

Important: I can't make this range of cells into a table because all cells are return values from formulas in place.

I appreciate any help!
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
How about
Excel Formula:
=COUNTIFS(INDEX(A:E,0,XMATCH(TODAY(),A1:E1)),"Available")
 
Upvote 1
Solution
How about
Excel Formula:
=COUNTIFS(INDEX(A:E,0,XMATCH(TODAY(),A1:E1)),"Available")
I tried this, but got "#N/A" as a result instead of the count. Not sure if this is because all the cells have formulas.
 
Upvote 0
I tried this, but got "#N/A" as a result instead of the count. Not sure if this is because all the cells have formulas.
Cancel this, it worked. I just had to edit the specific range. Here's what worked:

Excel Formula:
=COUNTIFS(INDEX(J6:N9,0,XMATCH(TODAY(),J5:N5)),"Available")

Thank you!
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,069
Messages
6,122,959
Members
449,096
Latest member
Anshu121

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