Indirect Formula: reference to two cells plus space?

Bering

Board Regular
Joined
Aug 22, 2018
Messages
185
Office Version
  1. 2016
Platform
  1. Windows
Hello,

First of all, my apologies if this has been already answered in the past...

My problem: I have some sheets' names obtained by combining strings from two columns in a different sheet, separated by a space. So, based on the below example, my tabs' names could be:

A Monthly
D Monthly
B Annual

and so on....


AMonthly
BQuarterly
CSemi-Annual
DAnnual

<tbody>
</tbody>




I am trying to vlookup the sheets by using INDIRECT, however this only works if I remove the spaces in the sheets'names. Is it possible to take into account the space in my formula?

VLOOKUP($D3,INDIRECT($A$3&B$3&"!A:C"),2,0)

I tried this but, of course, it does not work :p

VLOOKUP($D3,INDIRECT($A$3&" "&B$3&"!A:C"),2,0)


Any suggestion would be grately appreciated.

Thanks.
 
Last edited:

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN
Hello,

You are only missing the Apostrophe '

=INDIRECT("'"&A3&" "&B3&"'"&........

Hope this will help
 
Upvote 0
Solution

Forum statistics

Threads
1,214,935
Messages
6,122,337
Members
449,078
Latest member
skydd

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