Count and text other row

elmalle

New Member
Joined
Aug 10, 2016
Messages
10
I want to know when there is a value in the cell, the number of times the value is in a different row and the text that says it.

In the table when there is a value in cell B, I want the number of times it occurs cell A.
So Monday 2 times, Tuesday 1 times and so on

Is this possible?


[TABLE="width: 255"]
<colgroup><col width="113" style="mso-width-source:userset;mso-width-alt:4132;width:85pt"><col width="227" style="mso-width-source:userset;mso-width-alt:8301;width:170pt"></colgroup><tbody></tbody>[/TABLE]
[TABLE="width: 500"]
<tbody>[TR]
[TD]Monday
[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]Tuesday[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Monday[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]Tuesday[/TD]
[TD]1[/TD]
[/TR]
</tbody>[/TABLE]

So
Monday 2
Tuesday 1
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
What version of Excel are you running?

*Also realize I said A1 instead of A2, doubt that's causing the issue though.
 
Last edited:
Upvote 0
There shouldn't be any problems i'm aware of, is this going in C2? Maybe try =COUNTIFS(A:A,A2,B:B,">0")
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,287
Members
452,631
Latest member
a_potato

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