0

i have a formula that looks like this in VBA:

ActiveCell.FormulaR1C1 = "=LOOKUP(""ETG_C"",RC[-10],RC[-8])"

what would be the exact equivalent of this if i simply input it into the worksheet?

1 Answer 1

1

You would likely have "normal" cell references like "A1" instead of less common relative reference "RC[-10]" (which means 10 columns to the left on the current row)

So it would look something like:

=LOOKUP("ETG_C",B1,D1)

or whatever the correct cells were.

Edit: If you want to keep the relative reference style, then all that would change would be the double quotes:

=LOOKUP("ETG_C",RC[-10],RC[-8])
Sign up to request clarification or add additional context in comments.

1 Comment

i dont want to do it implicitly, i want to keep the -10 and -8 syntax thanks!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.