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

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
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,223,884
Messages
6,175,174
Members
452,615
Latest member
bogeys2birdies

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