Accessing sheets prefixed with ^ sign using indirect function

govindappa

New Member
Joined
Jul 18, 2014
Messages
2
Hello,

I have an excel file consisting of about 50 worksheets which contain raw data. About 10 of them have names prefixed with a ^ sign. For example: ^Sheet3, ^Sheet4 etc. The remaining 40 sheets are named without any special prefixes.

In the summary worksheet, I have a column with the names of all the worksheets in column A and I use the indirect() function to access data from other sheets.

For example: to calculate the max value in the J column of the data sheets, I use this formula in the summary sheet:

Col A Col B
Sheet1 =MAX(INDIRECT(""&$A2&"!J:J"))
Sheet2 = MAX(INDIRECT(""&$A3&"!J:J"))
^Sheet3 = MAX(INDIRECT(""&$A4&"!J:J"))

This seems to work for Sheet1 and Sheet2 but not for ^Sheet3 ( it gives #REF! error).

If it were up to me, I would have not put the ^ sign in the first place, but as things stand, it is unavoidable.

Could someone please correct the formula so that ^ sign is taken care of?

Thanks in advance.
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"

Forum statistics

Threads
1,223,722
Messages
6,174,103
Members
452,544
Latest member
aush

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
Back
Top