Let’s say I always know my row will be 14.
I only know the column by another value above it.
For example, $Q$7 = A
I want to be able to take that value A and add it so that my formula is now $A$14.
I need a formula that finds the value of $Q$7 and places it as $A$14.
Then if I applied that to let’s say $D$5 where $D$5 = R
the same formula would now equal $R$14.
Does that make sense?
I know to use = $A$14 in the cell but I want it to depend on the column.
Thanks for any help.
Best Answer
I would approach this a little differently to (hopefully) simplify things a little!
Let's assume you will use Rows 4, 7, 10, etc to enter the text of your words/sentences (which is the approach in your screenshot).
Let's also assume that you're only going to use Columns C to W to enter your text into (although there's no reason why it can't be more columns, but this is just what I gather from your screenshot).
For this answer, let's assume your Alphabet is in Row 50 and your Substituted letters are in Row 51.
In summary, this means:
So, let's build this using the following steps:
=IFERROR(LOOKUP(C4, $A$50:$Z$50,$A$51:$Z$51),"")
(The reason we're using
IFERROR
in the formula is so Numbers will ignore any spaces in your sentences, rather than displaying an ugly error icon.)NOTES:
E
with a space after it, then Numbers will never find the E because it's looking for an 'E' and not a 'E ', if you get what I mean.