Dynamic List Based on 'X' Marks in Table

jimmycooker

New Member
Joined
Mar 5, 2019
Messages
18
Office Version
  1. 365
Platform
  1. Windows
Hi,

Can someone help me with a formula to get this subset of letters:

1 2 3 4 5 6 7
A x x x x x
B x x x x
C x x x x
D x x x x x
E x x x x
F x x x x

Create Dynamic List of letters 'A to F' based on cell reference '5'

Result required (based on 'X' marks):

A
C
D
E
 
Not quite there.....

Let me explain myself better.....so to add conditionality to the table, in certain instances there might be a Y or a Z

So i will always need to return the X items, but the 'Y' & 'Z' items would depend on a cell Value (say 'Yes' or 'No') indicating whether to include those items....
 
Upvote 0

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
How about

ABCDEFGHIJ
112345676
2AXXXXXA
3BXXXZB
4CXXXZC
5DXXXF
6EXXYX
7FXXX

<colgroup><col><col><col><col><col><col><col><col><col><col><col></colgroup><thead>
</thead><tbody>
</tbody>

Row 1 = 6
Include Table Reference 'X'? Yes
Include Table Reference 'Y'? No
Include Table Reference 'Z'? Yes
 
Upvote 0
One option would be


Excel 2013/2016
ABCDEFGHIJK
112345676
2AXXXXXZA
3BXXXZB
4CXXXZC
5DXXXF
6EXXYX
7FXXX
All
Cell Formulas
RangeFormula
K2=IFERROR(INDEX($A$2:$A$7,AGGREGATE(15,6,ROW($A$2:$A$7)-ROW($A$2)+1/(($B$1:$H$1=$J$1)*(($B$2:$H$7="X")+($B$2:$H$7=$J$2))),ROWS($1:1))),"")


But I don't know how to run an if condition inside that formula.
 
Upvote 0

Forum statistics

Threads
1,215,487
Messages
6,125,080
Members
449,205
Latest member
Healthydogs

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