+ Reply to Thread
Results 1 to 10 of 10

finding data from tables using MATCH dependant on cell value.

  1. #1
    Registered User
    Join Date
    02-08-2013
    Location
    Taunton, Somerset, UK
    MS-Off Ver
    Excel 2007
    Posts
    85

    finding data from tables using MATCH dependant on cell value.

    Hi Guys.

    I need a bit of help with finding data from a table dependant on what is selected in a Cell.
    Example, I want the following to run on a table which is determined by said cell value.
    Please Login or Register  to view this content.
    Cell C4 will determine which sheet the table will be on, then the above code needs to work for that sheet.

    My options for C4 will be:
    Fusion,
    Fusion Linear,
    Biography,
    Caledonia,
    Caledonia In-Frame

    I will have individual sheets which will have large data tables named for each.

    So, if Cell C4 has "Fusion Linear" selected, The data needs to be found from that table.
    =IF(Richard="Gets Help",Richard=,Richard=Keh?)

  2. #2
    Forum Contributor
    Join Date
    06-30-2015
    Location
    Netherlands
    MS-Off Ver
    2013 / 2016 / 365
    Posts
    145

    Re: finding data from tables using MATCH dependant on cell value.

    Hi,

    Change your formula to this
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Hope this helps.

  3. #3
    Registered User
    Join Date
    02-08-2013
    Location
    Taunton, Somerset, UK
    MS-Off Ver
    Excel 2007
    Posts
    85

    Re: finding data from tables using MATCH dependant on cell value.

    Quote Originally Posted by joris moerings View Post
    Hi,

    Change your formula to this
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Hope this helps.
    Thank you, this does work in essence - However, cell C4 relies on DV lists which have the same names as the tables, which I have discovered is throwing out the options given in Cell C5, which then gives me my pricing.

    I need Cell

    My quotation tool uses a cell selection process to determine product ranges and pricing, as follows:
    Cell C4 - Select the primary range from DV list "Ranges" (Fusion, Fusion linear, Biography, Caledonia, Caledonia In Frame)
    Then
    Cell C5 - Select The specific door range from a DV list determined by selection of C4
    Please Login or Register  to view this content.
    DV list names are the same as the Range sheets and Range Tables
    Then
    Cell C3 - shows a price group dependant upon selection from C5, eg "PG01" (Which are in the table headers and the 1st part of the cell data in the 'Range' DV List
    Please Login or Register  to view this content.
    Then
    User to enter product code into cell B13 and Cell M13 is To return a price from the relevant table in selection of C4 for that product in that price group for that product range.

    Basically, I have 5 kitchen ranges, which all have the same product codes but different prices between the ranges - Ie, BFH3 might be £70 in Price group1 in Fusion, yet BFH3 might be £150 in price group1 in Caledonia.

    does that make any sense at all?.. Bit confusing.

  4. #4
    Forum Contributor
    Join Date
    06-30-2015
    Location
    Netherlands
    MS-Off Ver
    2013 / 2016 / 365
    Posts
    145

    Re: finding data from tables using MATCH dependant on cell value.

    Hi,

    Indeed a bit confusing. Perhaps posting a sample ...

  5. #5
    Registered User
    Join Date
    02-08-2013
    Location
    Taunton, Somerset, UK
    MS-Off Ver
    Excel 2007
    Posts
    85

    Re: finding data from tables using MATCH dependant on cell value.

    Quote Originally Posted by joris moerings View Post
    Hi,

    Indeed a bit confusing. Perhaps posting a sample ...
    Okay, thanks for your response. So, it took me a little while to make a small version of what I'm doing. It's a huge document in total, so I've scaled it down massively just to demonstrate the sections I need a bit of help with.
    The biggest problem I am having is that I need a DV list, and tables with the same names in order to be able to select data correctly... If you click on the red comment tabs you should see what I mean.
    Attached Files Attached Files

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,745

    Re: finding data from tables using MATCH dependant on cell value.

    Does the file need to be macro-enabled? Some of us won't open macro-enabled files.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  7. #7
    Registered User
    Join Date
    02-08-2013
    Location
    Taunton, Somerset, UK
    MS-Off Ver
    Excel 2007
    Posts
    85

    Re: finding data from tables using MATCH dependant on cell value.

    Quote Originally Posted by AliGW View Post
    Does the file need to be macro-enabled? Some of us won't open macro-enabled files.
    Not this one, no - My main doc does use Macro's, but there aren't any on this one.

  8. #8
    Registered User
    Join Date
    02-08-2013
    Location
    Taunton, Somerset, UK
    MS-Off Ver
    Excel 2007
    Posts
    85

    Re: finding data from tables using MATCH dependant on cell value.

    I've attached it without - in case it makes a difference to you.
    Attached Files Attached Files

  9. #9
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,745

    Re: finding data from tables using MATCH dependant on cell value.

    Quote Originally Posted by RichardJSigKits View Post
    Not this one, no - My main doc does use Macro's, but there aren't any on this one.
    Thanks - the "m" in the suffix doesn't tell me that there is none in the file, rather suggests otherwise! I'll have a look at the new version you've posted.

  10. #10
    Registered User
    Join Date
    02-08-2013
    Location
    Taunton, Somerset, UK
    MS-Off Ver
    Excel 2007
    Posts
    85

    Re: finding data from tables using MATCH dependant on cell value.

    Quote Originally Posted by AliGW View Post
    Thanks - the "m" in the suffix doesn't tell me that there is none in the file, rather suggests otherwise! I'll have a look at the new version you've posted.
    Any joy on this at all please?

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Dependant Tables
    By JackDavid in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 07-16-2016, 08:16 AM
  2. [SOLVED] finding average with date dependant and cell dependant
    By sfoll in forum Excel General
    Replies: 4
    Last Post: 08-24-2015, 04:58 AM
  3. Finding data validation tables... PLEASE HELP!
    By davejase in forum Excel General
    Replies: 6
    Last Post: 09-04-2014, 01:48 PM
  4. [SOLVED] Finding Missing Data Using Arrays and 2 Tables
    By jwalker1139 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-26-2014, 02:27 AM
  5. Finding best match across tables
    By SteinerKD in forum Access Tables & Databases
    Replies: 1
    Last Post: 02-24-2013, 08:18 AM
  6. Finding Data For Individual Words With Pivot Tables
    By EricBarnes88 in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 12-18-2012, 10:40 AM
  7. Replies: 0
    Last Post: 01-27-2010, 05:47 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1