Count and Countif

alliesrq

New Member
Joined
Apr 22, 2019
Messages
9
I thought count and Countif could use cell references to count how many results were in a particular column or row.

example =count(A8,a10,a,11,a15,a22"W").

I have tried the example with count and countif and keep getting error messages.

Can anyone assist?

Thanks

Allie
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
Welcome to the Board!

The COUNT function only counts numbers. So, all the arguments in that function must be ranges or numbers.
The COUNTIF function can count the number of cells in a range meeting some criteria. There is only one argument for range, so if the range you want to look at is not continuous, then you need to do as shown here:
https://exceljet.net/formula/countif-with-non-contiguous-range
 
Upvote 0
Hi & welcome to MrExcel
Maybe something like
=COUNTIF(A8:A22,"W")
 
Upvote 0
That works. However, the criteria that I am trying to count is scattered, and not in a reange.
See the link I provided in my reply.
It shows you EXACTLY how to do that.
 
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,240
Members
452,621
Latest member
Laura_PinksBTHFT

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