Share via

DATE FROM ONE COLUMN BASED ON CRITERIS FROM A DIFFERENT COLUMN

Anonymous
2024-05-06T03:57:53+00:00

Hello Everyone,

Thank you in advance for all the help !!! Hopefully I can explain it well enough.

I would like to obtain data from one column based on another column. For example:

Column B has the team's jersey color

Column C has the teams' pants color

In one cell I would like to know how many of the teams with green jerseys also have black pants

Then in another how many teams with green jerseys also have yellow pants

I hope that explanation is not too simple

Thank you !!!

D WOLLAM

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

7 answers

Sort by: Most helpful
  1. Anonymous
    2024-05-06T21:25:33+00:00

    Yes, you are absolutely correct. I was trying to get an example to be as simple as possible, without explaining sports gambling. I think I added the link correctly.

    https://www.dropbox.com/scl/fi/yu610bq6ub7r03ejlm38d/DROPBOX-xls.xlsx?rlkey=o2n1etuxrliw9sfey4kfw0v6l&st=8rafnxur&dl=0

    Was this answer helpful?

    0 comments No comments
  2. riny 20,870 Reputation points Volunteer Moderator
    2024-05-06T18:06:30+00:00

    I get the feeling that you are not really dealing with jerseys and pants. Can you save your file to Onedrive (or similar) and share a link here so that we can have a look at it?

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2024-05-06T13:24:00+00:00

    Hello Again Riny,

    So I gave it another shot and was successful in adding the additional columns for the the other colors: black, green, etc. However, is there a way to add a column that would display the percentage for each? in the example above, in cell J$ I would like to put a formula that would show the percentage of green jersey/black pants. When I inserted a simple formula referencing the appropriate cells in the Pivot Table it returned 0.

    Thanks again for all of your help!!

    D WOLLAM

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2024-05-06T12:26:57+00:00

    Hello Riny,

    I have considered a Pivot Table but I am very new to using them. I will try again now that I see you can have more than one column for the different colors.

    Thank you

    Was this answer helpful?

    0 comments No comments
  5. riny 20,870 Reputation points Volunteer Moderator
    2024-05-06T05:39:46+00:00

    Have you considered a pivot table?

    Picture taken on a Mac but it works the same and looks quite similar on a PC.

    Was this answer helpful?

    0 comments No comments