Indirect (Substitute) - limit on references?

GalleyOC

New Member
Joined
Feb 19, 2016
Messages
13
Hello all.
I am using the formula =INDIRECT(SUBSTITUTE($B$10, " ", "_")) to pull a list of advisors based on the manager name that appears in a dropdown cell(B10). The list is on a separate sheet in the same workbook.
The manager names are listed horizontally and the advisors under them are listed in each column under the managers name.

I have one column that contains all of the names but when I select All(the name of the column) it only pulls 23 names instead of all of them. Is there a limit to this formula that only pulls a certain number of results? Or does anyone have a better way to pull this result?

This is the results page where I have the formula B10
<style type="text/css"><!--td {border: 1px solid #ccc;}br {mso-data-placement:same-cell;}--></style>
Program Level
STDEV
MEAN
UCL
Targets
Team Based
Team Leader
ALL
Name 1
Name 2
Name 3
Name 4
Name 5
Name 6
Name 7
Name 8
Name 9
Name 10
Name 11
Name 12
Name 13
Name 14
Name 15
Name 16
Name 17
Name 18
Name 19
Name 20
Name 21
Name 22
Name 23
Name 24

<colgroup><col style="width: 127px"></colgroup><tbody>
</tbody>



This is the Alignment page containing the names
<style type="text/css"><!--td {border: 1px solid #ccc;}br {mso-data-placement:same-cell;}--></style>
ALLManager 1Manager 2Manager 3Manager 4
DirectorMobile SupportOnboardingMobile SupportMobile Support
2513131313
Name 1Name 2Name 3Name 4Name 5
Name 2Name 3Name 4Name 5Name 6
Name 3Name 4Name 5Name 6Name 7
Name 4Name 5Name 6Name 7Name 8
Name 5Name 6Name 7Name 8Name 9
Name 6Name 7Name 8Name 9Name 10
Name 7Name 8Name 9Name 10Name 11
Name 8Name 9Name 10Name 11Name 12
Name 9Name 10Name 11Name 12Name 13
Name 10Name 11Name 12Name 13Name 14
Name 11Name 12Name 13Name 14Name 15
Name 12Name 13Name 14Name 15Name 16
Name 13Name 14Name 15Name 16Name 17
Name 14
Name 15
Name 16
Name 17
Name 18
Name 19
Name 20
Name 21
Name 22
Name 23
Name 24
Name 25
Name 26
Name 27
Name 28
Name 29
Name 30
Name 31
Name 32
Name 33

<colgroup><col style="width: 190px"><col width="140"><col width="171"><col width="193"><col width="149"></colgroup><tbody>
</tbody>
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
Maybe...

=IFERROR(INDEX(INDIRECT(SUBSTITUTE($B$10," ","_")),ROWS(A$1:A1)),"")

M.
 
Upvote 0
Thanks Marcelo, I tried this but unfortunately it still results in the same amount of values being displayed.
 
Upvote 0
Thanks Marcelo, I tried this but unfortunately it still results in the same amount of values being displayed.

Check how many rows the named range All has.
Try this formula in an empty cell
=ROWS(All)
tell us the result

M.
 
Upvote 0

Forum statistics

Threads
1,216,737
Messages
6,132,436
Members
449,727
Latest member
Aby2024

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