Forum

Notifications
Clear all

Pointing to appropriate cells via formula with variables

6 Posts
4 Users
0 Reactions
66 Views
(@roxdrob)
Posts: 3
Active Member
Topic starter
 

Full Disclosure: I posted a version of this on one of the Excel Forums last night, but I haven't received an answer. I'm hoping you guys can help--I'm new here.

I am attaching a sample of what I'm working with.

What I'm trying to do is create a product title for many different products based on type, color, and whether it has a charm or connector or both. I did a lot of concatenating to get the results I want. I've probably done everything the hard way, so I thought I would throw this out here and see if anyone could tell me if there is an easier way of doing things. The majority of the work is done in the first tab. The 2nd tab is basically a scratch sheet for me.

I would also like to know:  Is it possible to do a vlookup on a table that has a concatenated string and somehow in the formula tell it to change the place holder variable to the correct cell in the main sheet? 

 

Thanks in advance

 
Posted : 05/08/2019 10:04 pm
(@mynda)
Posts: 4761
Member Admin
 

Hi Roxanne,

Welcome to our forum!

Your formula is fine, however you should aim to have a consistent formula in column F i.e. instead of having a different formula for the anklets and bracelets. To make this happen you either need to add a column to your table that contains the type description, or you nest a VLOOKUP in the text formula in column F that looks up the description for the Type code in column A.

I don't know what you mean by 'placeholder variable' in this question: "I would also like to know:  Is it possible to do a vlookup on a table that has a concatenated string and somehow in the formula tell it to change the place holder variable to the correct cell in the main sheet? "

Perhaps you can give an example to help with our understanding of what you're trying to do?

Mynda

 
Posted : 05/08/2019 11:33 pm
(@roxdrob)
Posts: 3
Active Member
Topic starter
 

Thanks for your response.  How would that I make that work with 20 different "types" (anklets, bracelets, necklaces, rosaries, etc.)

 

The placeholder I was referring to is in the second tab...it's where it says this:

Color Charm Connector
Black Panda Love
 
Posted : 06/08/2019 6:59 pm
Philip Treacy
(@philipt)
Posts: 1629
Member Admin
 

Hi Roanne,

I've modified the formula in Col J to include a VLOOKUP of some different types, as Mynda described.  You can expand the lookup range VLOOKUP is using  but you will need to modify the range in the formula in Col J too.

I don't know what you mean by the placeholder in the 2nd tab either.  I can see those values on the 'Description by Type' sheet but I don't understand what it is you want to do.

Regards

Phil

 
Posted : 09/08/2019 5:18 am
(@roxdrob)
Posts: 3
Active Member
Topic starter
 

Hi.  Thanks for your response.  The "place holders" just meant where I was using the variable values (color, charm, connector) for my practice formulas on the second tab.

 
Posted : 09/08/2019 2:56 pm
(@sunnykow)
Posts: 1417
Noble Member
 

Hi Roxanne

Are you looking for something like this?

Sunny

 
Posted : 12/08/2019 9:57 am
Share: