Count occurrences of two options in a particular category

dominiquebk

New Member
Joined
Apr 9, 2024
Messages
2
Office Version
  1. 365
  2. 2021
Platform
  1. Windows
Hi,

I am trying to do the following:

If column A contains XYX, then count how many times Y occurs in column D.

Can this be done?

Thanks
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
Can you provide some sample data? Is the string always length of 3 and it's the middle character?
 
Upvote 0
This is what I'm trying to put together - and the data for each value comes from the other tab.
 

Attachments

  • 1712737081984.png
    1712737081984.png
    33.1 KB · Views: 5
  • 1712737222598.png
    1712737222598.png
    25.8 KB · Views: 4
Upvote 0
I don't see how the first picture related to the second. It's best if you can post some samples using XL2BB. Also include some expected results.
 
Upvote 0

Forum statistics

Threads
1,215,232
Messages
6,123,763
Members
449,120
Latest member
Aa2

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