• Skip to main content
  • Skip to header right navigation
  • Skip to site footer

My Online Training Hub

Learn Dashboards, Excel, Power BI, Power Query, Power Pivot

  • Courses
  • Pricing
    • Free Courses
    • Power BI Course
    • Excel Power Query Course
    • Power Pivot and DAX Course
    • Excel Dashboard Course
    • Excel PivotTable Course – Quick Start
    • Advanced Excel Formulas Course
    • Excel Expert Advanced Excel Training
    • Excel Tables Course
    • Excel, Word, Outlook
    • Financial Modelling Course
    • Excel PivotTable Course
    • Excel for Customer Service Professionals
    • Excel for Operations Management Course
    • Excel for Decision Making Under Uncertainty Course
    • Excel for Finance Course
    • Excel Analysis ToolPak Course
    • Multi-User Pricing
  • Resources
    • Free Downloads
    • Excel Functions Explained
    • Excel Formulas
    • Excel Add-ins
    • IF Function
      • Excel IF Statement Explained
      • Excel IF AND OR Functions
      • IF Formula Builder
    • Time & Dates in Excel
      • Excel Date & Time
      • Calculating Time in Excel
      • Excel Time Calculation Tricks
      • Excel Date and Time Formatting
    • Excel Keyboard Shortcuts
    • Excel Custom Number Format Guide
    • Pivot Tables Guide
    • VLOOKUP Guide
    • ALT Codes
    • Excel VBA & Macros
    • Excel User Forms
    • VBA String Functions
  • Members
    • Login
    • Password Reset
  • Blog
  • Excel Webinars
  • Excel Forum
    • Register as Forum Member

Pointing to appropriate cells via formula with variables|General Excel Questions & Answers|Excel Forum|My Online Training Hub

You are here: Home / Pointing to appropriate cells via formula with variables|General Excel Questions & Answers|Excel Forum|My Online Training Hub
Avatar
sp_LogInOut Log In sp_Registration Register
sp_Search Search
Advanced Search|Last Search Results
Search
Forum Scope




Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
sp_Search Search
sp_RankInfo
Lost password?
sp_CrumbsHome HomeExcel ForumGeneral Excel Questions & Answe…Pointing to appropriate cells via f…
sp_PrintTopic sp_TopicIcon
Pointing to appropriate cells via formula with variables
Avatar
Roxanne Robillard

Active Member
Members
Level 0
Forum Posts: 4
Member Since:
August 5, 2019
sp_UserOfflineSmall Offline
1
August 5, 2019 - 12:04 pm
sp_Permalink sp_Print

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

Avatar
Mynda Treacy
Admin
Level 10
Forum Posts: 4449
Member Since:
July 16, 2010
sp_UserOfflineSmall Offline
2
August 5, 2019 - 1:33 pm
sp_Permalink sp_Print

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

Avatar
Roxanne Robillard

Active Member
Members
Level 0
Forum Posts: 4
Member Since:
August 5, 2019
sp_UserOfflineSmall Offline
3
August 6, 2019 - 8:59 am
sp_Permalink sp_Print

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
Avatar
Philip Treacy
Admin
Level 10
Forum Posts: 1518
Member Since:
October 5, 2010
sp_UserOfflineSmall Offline
4
August 8, 2019 - 7:18 pm
sp_Permalink sp_Print

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

Avatar
Roxanne Robillard

Active Member
Members
Level 0
Forum Posts: 4
Member Since:
August 5, 2019
sp_UserOfflineSmall Offline
5
August 9, 2019 - 4:56 am
sp_Permalink sp_Print

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.

Avatar
SunnyKow
Puchong, Malaysia

VIP
Members


Trusted Members
Level 8
Forum Posts: 1432
Member Since:
June 25, 2016
sp_UserOfflineSmall Offline
6
August 11, 2019 - 11:57 pm
sp_Permalink sp_Print

Hi Roxanne

Are you looking for something like this?

Sunny

sp_Feed
Go to top
Forum Timezone: Australia/Brisbane
Most Users Ever Online: 245
Currently Online: AndyC
Guest(s) 9
Currently Browsing this Page:
1 Guest(s)
Top Posters:
SunnyKow: 1432
Anders Sehlstedt: 871
Purfleet: 412
Frans Visser: 346
David_Ng: 306
lea cohen: 219
A.Maurizio: 202
Jessica Stewart: 202
Aye Mu: 201
jaryszek: 183
Newest Members:
Raj Mattoo
Mark Luke
terimeri dooriyan
Jack Aston
AndyC
Denise Lloyd
michael serna
mashal sana
Tiffany Kang
Leah Gillmore
Forum Stats:
Groups: 3
Forums: 24
Topics: 6219
Posts: 27276

 

Member Stats:
Guest Posters: 49
Members: 31903
Moderators: 3
Admins: 4
Administrators: Mynda Treacy, Philip Treacy, Catalin Bombea, FT
Moderators: MOTH Support, Velouria, Riny van Eekelen
© Simple:Press —sp_Information

Sidebar

Blog Categories

  • Excel
  • Excel Charts
  • Excel Dashboard
  • Excel Formulas
  • Excel PivotTables
  • Excel Shortcuts
  • Excel VBA
  • General Tips
  • Online Training
  • Outlook
  • Power Apps
  • Power Automate
  • Power BI
  • Power Pivot
  • Power Query
microsoft mvp logo
trustpilot excellent rating
Secured by Sucuri Badge
MyOnlineTrainingHub on YouTube Mynda Treacy on Linked In Mynda Treacy on Instagram Mynda Treacy on Twitter Mynda Treacy on Pinterest MyOnlineTrainingHub on Facebook
 

Company

  • About My Online Training Hub
  • Disclosure Statement
  • Frequently Asked Questions
  • Guarantee
  • Privacy Policy
  • Terms & Conditions
  • Testimonials
  • Become an Affiliate

Support

  • Contact
  • Forum
  • Helpdesk - For Technical Issues

Copyright © 2023 · My Online Training Hub · All Rights Reserved. Microsoft and the Microsoft Office logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries. Product names, logos, brands, and other trademarks featured or referred to within this website are the property of their respective trademark holders.