COUNTIF and Named Cells

RBaskie

New Member
Joined
Aug 23, 2017
Messages
3
I have a feeling I'm missing something obvious.

I have some data in columns, where folk have a number that indicates their skill level (0, 1, 2 or 3) in a task.

e.g.

Name Level
Jane 3
Bob 2
Emily 2
Rona 0
Molly 1
Brenda 3

I want to use COUNTIF (I think) to tell me how many people in the list are listed as Practitioner, which is level 2 or above.

It's straightforward when I use =COUNTIF($E$3:$E$22,">=2")

But I'd like to set a field in a different worksheet that sets PractitionerLevel to 2, so that I can change that and not have to amend my formula.

I tried just referencing the cell: =COUNTIF($E$3:$E$22,">=Control!H4") and naming the cell: ">=PractitionerLevel" but they always return 0.

I saw a similar post in the forum about dates, and the answer appeared to be to ensure the cell was formatted as a date. I have ensured my cells are formatted as numbers, but that didn't changes anything.

Any help greatly appreciated.
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
Hi, welcome to the forum.

You can try either:

=COUNTIF($E$3:$E$22,">="&Control!H4)

Or

=COUNTIF($E$3:$E$22,">="&PractitionerLevel)
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,323
Members
452,635
Latest member
laura12345

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