Count Values on a Matrix

Gimmy88

New Member
Joined
Dec 19, 2022
Messages
5
Office Version
  1. 365
Platform
  1. Windows
Hi,

I have this matrix:

ABC
556
135
426
156

and I would like to count the number of "1", "2", ecc for each column:

ABC
1
2​
0​
0​
1+2
2​
1​
0​
4
1​
0​
0​
6
0​
0​
3​

So a kind of countifs where you can set "A" and "1" as parameters.

Any suggestion? :)

Thanks,
Andrea
 
Thank you all!

At the end I found out also this way:

Excel Formula:
=COUNTIFS(INDEX('Source'!1:1048576,0,MATCH(D14,'Source'!3:3,0)),1)
 
Upvote 0

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN

Forum statistics

Threads
1,216,084
Messages
6,128,722
Members
449,465
Latest member
TAKLAM

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