VLOOKUP or INDIRECT(SUBSTITUTE) question

chiguy41

New Member
Joined
Apr 28, 2014
Messages
12
i have data in 3 areas
1. Store_Category. This has 4 items in it.
2. Style. This is the style of the 4 items in Store_Category, each item has multiple choices.
3. Sleeve. This is sleeve of the style in Style, most items have multiple choices, one has the choice of 0.

I can get the indirect function to work on the first 2, but I get stuck trying to make the third set of data (Sleeve) show up correctly. I have 2 people telling me to do either a VLOOKUP or an INDIRECT(SUBSTITUTE). I am not sure how to do the indirect substitute, or the VLOOKUP properly.
Hers is my data:

Store CategoryStyleSleeve
Store_CategorySweatersSweats_HoodiesT_ShirtsTops_BlousesSweatersSleeveSweats_HoodiesSleeveT_ShirtsSleeveTops_BlousesSleeve
Sweaters1/2 ZipHoodieBasic TeeBlouse0SleevelessSleeveless3/4 Sleeve
Sweats_HoodiesBoat NeckSweatshirt, CrewEmbellished TeeButton Down ShirtShort SleeveCap SleeveBatwing, Dolman
T_ShirtsCardiganTrack JacketGraphic TeeHalterLong SleeveShort SleeveCap Sleeve
Tops_BlousesCollaredPersonalized TeeKnit Top3/4 SleeveKimono Sleeve
Cowl NeckPolo ShirtLong SleeveLong Sleeve
CrewneckTank, CamiOff-Shoulder
Full ZipTunicOne Shoulder
HenleyTurtle NeckShort Sleeve
HoodedWesternSleeveless
KeyholeWrapSpaghetti Strap
KimonoStrapless
Poncho
Scoop Neck
Shrug
Sweatercoat
Tunic
Turtleneck, Mock
Twinset
Vest, Sleeveless
V-Neck
Wrap, Swing

<tbody>
</tbody>
 

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
i cant get the third set of data, Sleeve, to show a drop down list on my tab.
The first drop down would be Store Category (which works), the 2nd is a drop down based on the Style (this works). It is the third drop down isnt working. I need it to read off of drop down 2 (style) and show drop down based on sleeve criteria. Does this make sense?
 
Upvote 0
would it be better to use the indirect, indirect substitute or a indirect with a vlookup to get the third set of data to show in a drop down?
 
Upvote 0
There isn't a relationship between the Style ranges and the Sleeve ranges. The third dropdown should also be based on the first, eg:

=INDIRECT(A1&"Sleeve")
 
Upvote 0
Ok, I tried that and it works, however......an issue arose. In the second set of data, Style, there is data under Tops_Blouses called Tank, Cami. This set of data needs its own Sleeve in the 3rd set of data.

Please note that the name Tank, Cami cant be put into the 1st set of data as it doesnt belong here.

Any suggestions on this?

Thanks for all the help.
 
Upvote 0
Hi chiguy41,

This seems to do what you want.

I copied the example to a sheet where upper left corner is cell B1.
Row 2 is blank.
Data starts in row 3.
Columns C and H are blank
In B8 I entered "Blank 1" and pulled down to row 24.

In cell N2 I put a data validation drop down > List > selected > B4 to B24 > OK

Select N4 to U4 and while selected type in this formula:

=VLOOKUP(N2,B4:L24,{3,4,5,6,8,9,10,11},0)

Now (while all cells are still selected) Array Enter the formula. Ctrl + Shift + Enter.

Select from the drop down and check the return values.

If you make changes to the FORMULA you must select N4 to U4, make your changes and Array Enter again.

When you replace a "Blank n" with a new Store_Category and fill in the blanks for the new product, styles and sleeves, they will show in the return cells, otherwise it is a 0 (zero).

Howard
 
Upvote 0

Forum statistics

Threads
1,215,425
Messages
6,124,824
Members
449,190
Latest member
rscraig11

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