indirect.ext > HELP!

bluepenink

Well-known Member
Joined
Dec 21, 2010
Messages
585
hello all

im trying to apply the indirect.ext formula to my worksheet so i dont have to change the name each and every time.

here is my formula, but keep getting a REF error

=(SUM(INDIRECT.EXT(""&B28&"'!$S$59:$S$63")))


THIS IS WHAT IM TRYING TO DO:
=SUM('Dallas-Shreveport'!$S$59:$S$63)

can someone pls help with my syntax or something? or even my logic...thx u so much! been at this for hrs!
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
Hi,

If the worksheet Dallas-Shreveport is in the same workbook you can use the built-in INDIRECT function

=SUM(INDIRECT("'"&B28&"'!$S$59:$S$63"))

Be sure that B28 = Dallas-Shreveport with no leading or trailing spaces and also that there are no spaces in the tab-name

Just in case, try this
=SUM(INDIRECT("'"&TRIM(B28)&"'!$S$59:$S$63"))

HTH

M.
 
Upvote 0
hey buddy

DUH, thxs for pointing out the obvious, not sure why i try to take the harder route sometimes!

thxs alot!
 
Upvote 0

Forum statistics

Threads
1,224,606
Messages
6,179,865
Members
452,948
Latest member
UsmanAli786

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