Hi!
I am trying to create a dropdown from H23:H27.
The plan was to exclude values next to 0 from the dropdown, and it worked, to an extent - but now I cannot create a condition to adjust the length of the list to not include "" cells.
My dropdown now looks like this, as it considers my formula a value.
Any suggestions would be welcome!!
I am trying to create a dropdown from H23:H27.
The plan was to exclude values next to 0 from the dropdown, and it worked, to an extent - but now I cannot create a condition to adjust the length of the list to not include "" cells.
My dropdown now looks like this, as it considers my formula a value.
Any suggestions would be welcome!!
Mercenaries Ledger.xlsm | |||||||||
---|---|---|---|---|---|---|---|---|---|
B | D | E | F | G | H | ||||
21 | Group 1 | 1 | |||||||
22 | |||||||||
23 | 1 | Value 1 | 55,555.56 ₽ | Value 1 | |||||
24 | 1 | Value 2 | 55,555.56 ₽ | Value 2 | |||||
25 | 1 | Value 4 | 55,555.56 ₽ | Value 4 | |||||
26 | 1 | Value 3 | 55,555.56 ₽ | Value 3 | |||||
27 | 0 | Value 1 | 55,555.56 ₽ | ||||||
Loot |
Cell Formulas | ||
---|---|---|
Range | Formula | |
B23:B26 | B23 | =IF(D23="Наемник", 0, 1) |
B27 | B27 | =IF(D27="Value 1", 0, 1) |
E23 | E23 | ='Shared Expenses'!$J$62 |
E24 | E24 | ='Shared Expenses'!$K$62 |
E25 | E25 | ='Shared Expenses'!$L$62 |
E26 | E26 | ='Shared Expenses'!$M$62 |
E27 | E27 | ='Shared Expenses'!$N$62 |
H23:H27 | H23 | =IFERROR(INDEX(D$23:D$27,SMALL(IF(($B$23:$B$27=$H$21),ROW($B$23:$B$27)-ROW($B$23)+1),ROWS(H$23:H23))),"") |
Press CTRL+SHIFT+ENTER to enter array formulas. |
Cells with Conditional Formatting | ||||
---|---|---|---|---|
Cell | Condition | Cell Format | Stop If True | |
D27 | Expression | =AND(NOT(ISBLANK(C$4)),ISBLANK(D$4)) | text | NO |
D26 | Expression | =AND(NOT(ISBLANK(C$4)),ISBLANK(D$4)) | text | NO |
D25 | Expression | =AND(NOT(ISBLANK(C$4)),ISBLANK(D$4)) | text | NO |
D24 | Expression | =AND(NOT(ISBLANK(C$4)),ISBLANK(D$4)) | text | NO |
D23 | Expression | =AND(NOT(ISBLANK(C$4)),ISBLANK(D$4)) | text | NO |
Cells with Data Validation | ||
---|---|---|
Cell | Allow | Criteria |
D23:D27 | List | =Mercenaries!$A$2:$A$1048576 |