Index Function Error, R1C1 References

Felix_Dragonhammer

Board Regular
Joined
Apr 7, 2015
Messages
117
Hello! I'm having a spot of difficulty, and after time spent researching the issue on the web and forum I've come up with no answers.

I have an INDIRECT function as follows:

INDIRECT("Interface!R2C"&(Code!R[-1]C+1)&":R27C27")

This resolves successfully to the following formula, as shown by the formula evaluator:

INDIRECT("Interface!R2C20:R27C27)")

The following evaluation results in a REF! error, and I'm not sure why. I am highly suspect of the syntax of the formula, particularly the quotes at the beginning and end. This is also my first attempt at using the R1C1 style of referencing in excel, so that might be a problem. Other than that, I have no idea.


Any help would be appreciated!
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.

konew1

Well-known Member
Joined
Oct 17, 2007
Messages
2,288
Will you please double check your question. I cant see where the red ) comes from
INDIRECT("Interface!R2C20:R27C27)")
 
Upvote 0

RoryA

MrExcel MVP, Moderator
Joined
May 2, 2008
Messages
40,681
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
  2. MacOS
Perhaps this:
INDIRECT("Interface!R2C"&(Code!R[-1]C+1)&":R27C27", 0)
 
Upvote 0

Forum statistics

Threads
1,195,682
Messages
6,011,132
Members
441,586
Latest member
rodsin76

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
Top