I am trying to create a list of possible perks depending on cards I obtain in a game (working on a spreadsheet for the game both to have it and to learn more of Excel). I have 17 slots on the table and 32 possible perks. It is very unlikely I will ever have 17 perks in-game so that should suffice. The list must draw from previously made cells which determine whether or not I have the card, and if found true, must post the perk on my summary worksheet table.
In order to work, the formula must do two things. First, it must search whether or not I have the card. Second, it must search whether or not the cells above on the list already contain the perk and only post it in cell if false.
I have tried many combinations of =IF, =CELL, =ISNUMBER, =SEARCH, and others I can't even remember now. I either end up making formulas too long, or that fail in one area or another (i.e. will only post perk if the perk immediately before it on the list is present).
Perk Have QState Cancel Unnamed attempt Tracey =IF('Space Bazaar'!C5="Y","Kill Tracey First","Nothing") =IF([@Have]="Nothing","N","Y") Tracey =IF('Calc Sheet'!R4="Y",IF(ISNUMBER(SEARCH('Calc Sheet'!S4,Summary!F3)),"Nothing",'Calc Sheet'!Q4))
This is my Calculation sheet which I have been building in an attempt to solve this problem. Each column is as follows:
Perk- Label for organization
Have- States what the text should read on my Summary sheet if I have the card
QState- A reverse formula determining whether I have the card
Cancel- Was used as part of my =IF(ISNUMBER(SEARCH( formula attempt, the idea is to cancel the post if said text was found in above cell on Summary sheet
Unnamed attempt- A possibly useless column used in my attempts using this formula: =IF('Calc Sheet'!R4="Y",IF(ISNUMBER(SEARCH('Calc Sheet'!S4,Summary!F3)),"Nothing",'Calc Sheet'!Q4))
This is a sample of a 32 row long list of all possible perks. The Summary sheet is simply a blank (though littered with failed attempts) table waiting for the correct formula.
*Separate but intertwined question: Why is the =IF formula able to read a single cell as text but as range it reads as numerical? (i.e. R3 is text, but R3:R33 is read as numerical, even though all cells contain text).
Bookmarks