Count number of values in a range that exist in a named range in Google Sheets

MoniqueJC

New Member
Joined
Aug 29, 2014
Messages
3
Office Version
  1. 365
Platform
  1. Windows
I have a list of products, and a daily schedule for several beauticians - I want to count the number of bookings on the schedule (EG. COLUMN C IN PIC A) that contain any value in the 'products' named range (PIC B). I've tried countif(range,named_range) and countifs(range,named_range) but this returns zero

210625mrexcel.PNG
 
Last edited by a moderator:

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
What version of Excel are you using?

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’)
 
Upvote 0
In that case you should have asked the question in the General Discussion & Other Applications section of the site & made it clear that you are using Sheets (I have done this for you)

Whilts Excel & Sheets share a lot in common, there are also lots of differences.
 
Upvote 0
I have already moved it for you, so there is nothing you need to do.
 
Upvote 0
Not sure if this will work in sheets
Excel Formula:
=SUM(COUNTIFS(C:C,Products))
It may need to be wrapped in arrayformula
 
Upvote 0

Forum statistics

Threads
1,223,396
Messages
6,171,866
Members
452,427
Latest member
samk379

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