Forestq

Active Member
Joined
May 9, 2010
Messages
482
HI,

I have sheet1(called "Timesheet") and sheet2("Legend").

Into Legend I have:

Category (columnA)Non Game (columnB)Training (columnC)
SportValue1Training1
Non GameValue2Training2
TrainingValue3Training3
ProjectValue4...
Admin.....

<tbody>
</tbody>

Into Manager Name I have 3 basic list:
Category =Legend!$A$2:$A$7
Non_Game = Legend!$B$2:$B$4
Training = Legend!$C$2:$C$5

Now, into Timesheet into ColumnC & ColumnC I want to have data validation (as list):

ColumnCColumnD
=Category=INDIRECT(SUBSTITUTE(C2," ",""))
=Category=INDIRECT(SUBSTITUTE(C3," ",""))
=Category=INDIRECT(SUBSTITUTE(C4," ",""))
=Category=INDIRECT(SUBSTITUTE(C5," ",""))

<tbody>
</tbody>

Result should be as below:
ColumnC -> working OK.
Column D -> donesn't work :(

If I selected Non-Game, I should got list: Value1, Value2, Value3 or If I selected Trainig I should have (list Training1, Training2, Training3)

ColumnCColumnD
Sport
Non GameValue2
Non GameValue3
Non GameValue1
TrainingTraining2

<tbody>
</tbody>

Do you know why function =INDIRECT(SUBSTITUTE(C2," ","")) doesn't work correctly?
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
Hi.

Works ok for me. Obviously not for Non_Game, though, since your list contains "Non Game" with a space, whereas the Named Range has an underscore.

Regards
 
Last edited:
Upvote 0

Forum statistics

Threads
1,215,588
Messages
6,125,691
Members
449,250
Latest member
azur3

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