Grouping Strings - Excel

KNKN9

Board Regular
Joined
Mar 27, 2017
Messages
92
Hi,

I have two columns in excel

SizeB SizeC
200-500 A
200-500 A
200-500 B
5000-6000 A

Is there a way I can count how many A's there are for 200-500, how many B there are for 200-500. So grouping the size column in excel.

Thanks.
 

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
Yes, you want a Pivot Table, with SizeB in the Rows field and count of SizeC in the Data field
 
Upvote 0
Thanks for getting back to me.

A pivot doesn't work for me column B is not just A and B but different sentences that are repeated.

I have managed to get what I want now.

Thank you.
 
Upvote 0
You do realise that in this scenario, countifs is exactly the same as a less flexible solution to a PT right?

Anyway, glad you dot it sorted!
 
Upvote 0

Forum statistics

Threads
1,225,266
Messages
6,183,932
Members
453,196
Latest member
ABHISHEK_3887

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