Trouble Listing all entries from one column into a cell if criteria are met

mgeiger

New Member
Joined
Jun 26, 2024
Messages
3
Office Version
  1. 365
Platform
  1. Windows
See screen shots - on the Calcs sheet, under Column A, I am trying to list all Entries from Column C of the Data Input sheet, where Column D in the Data Input sheet matches Column B in the Calcs sheet.

In this example, I want A16 on the Calcs sheet to say "CL, MH" because B2 in the Calcs sheet matches D2, D3, and D17 in the Data Input Sheet.

If it matters, Column C and Column D in the Data Input sheet are dropdown list entries.

Thanks
 

Attachments

  • Data Input sheet - Excel question.jpg
    Data Input sheet - Excel question.jpg
    175.2 KB · Views: 10
  • Calcs sheet - Excel question.jpg
    Calcs sheet - Excel question.jpg
    196.7 KB · Views: 7

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
In A7, try:
Excel Formula:
=TEXTJOIN(", ",,FILTER('Data Input'!$C$2:$C$100,('Data Input'!$D$2:$D$100=B7)*('Data Input'!$C$2:$C$100<>""),""))
 
Upvote 0
That worked, Thanks!

This does populate the 'Data Input' Column A cells with duplicates. If you know of a way to alter the formula to remove duplicates, that would be even better. But this works well enough.
 

Attachments

  • Data Input sheet - excel question 2.jpg
    Data Input sheet - excel question 2.jpg
    69.4 KB · Views: 6
Upvote 0
I just figured it out by incorporating the UNIQUE function. Thanks again.
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,284
Members
452,630
Latest member
OdubiYouth

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