+ Reply to Thread
Results 1 to 7 of 7

How to Adapt VLOOKUP to Cope with Sub-Staging in Data Layout

  1. #1
    Registered User
    Join Date
    05-29-2019
    Location
    Melbourne, Australia
    MS-Off Ver
    VIC
    Posts
    8

    How to Adapt VLOOKUP to Cope with Sub-Staging in Data Layout

    Hi,

    I'm having an issue returning the 'Expected Title Date' for one of our projects - Stage 3 of the development has been broken into sub-stages (3A, 3B & 3C).

    The current formula in use is: =IF((VLOOKUP(B1,Input!H21:V27,'Internal Reports'!B2+4)-14)<0,"Titled",VLOOKUP(B1,Input!H21:V27,'Internal Reports'!B2+4)-"14"). This is working fine for projects and stages that just have a numeric value (I.e. '1', '2', etc.); however, I'm getting the '#VALUE!' error once I use a data validation list to navigate to this particular project with sub-staging.

    I understand this is because the formula is attempting to add 3'A'+4 - in the formula above, where can I insert the ISNUMBER function to have it dismiss the lettering? Or is there another function to be used?

    I can provide further explanation of the context and worksheets/data at play if need be. Hoping it's just the particular placement of the ISNUMBER function as opposed to rewriting the entire formula.

    Thanks.
    Last edited by AliGW; 05-29-2019 at 01:36 AM.

  2. #2
    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
    81,226

    Re: How to Adapt VLOOKUP to Cope with Sub-Staging in Data Layout

    Administrative Note:

    Welcome to the forum.

    We would very much like to help you with your query, however the thread title does not really convey what your request is about.

    Please take a moment to amend your thread title. Make sure that the title properly explains your request. Your title should be explicit and not be generic (this includes function names used without an indication of what you are trying to achieve).

    Please see Forum Rule #1 about proper thread titles and adjust accordingly. To edit the thread title, open the original post to edit and then click on Go Advanced (bottom right) to access the area where you can edit your title.

    (Note: this change is not optional. As you are new here I have done it for you this time.)
    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.

  3. #3
    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
    81,226

    Re: How to Adapt VLOOKUP to Cope with Sub-Staging in Data Layout

    To be honest, it sounds to me that it is a reworking of the data layout that is required, but to be certain, will you please attach a sample Excel workbook? We are not able to work with or manipulate a picture of one and nobody wants to have to recreate your data from scratch.

    1. Make sure that your sample data are REPRESENTATIVE of your real data. The use of unrepresentative data is very frustrating and can lead to long delays in reaching a solution.

    2. Make sure that your desired results are also shown (mock up the results manually).

    3. Make sure that all confidential data is removed or replaced with dummy data first (e.g. names, addresses, E-mails, etc.).

    4. Try to avoid using merged cells as they cause lots of problems.

    Unfortunately the attachment icon doesn't work at the moment, so to attach an Excel file you have to do the following: just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.

    Please pay particular attention to point 2 (above): without an idea of your intended outcomes, it is often very difficult to offer appropriate advice.

  4. #4
    Registered User
    Join Date
    05-29-2019
    Location
    Melbourne, Australia
    MS-Off Ver
    VIC
    Posts
    8

    Re: How to Adapt VLOOKUP to Cope with Sub-Staging in Data Layout

    Thanks for your response.

    I have attached a basic workbook:

    Sheet 1 displays a very basic pro-forma of the real sheet formula I'm trying to solve. I need the data validation drop down (Project & Stage) to align with the 'Expected Settlements' table on Sheet 2 to populate the correct Expected Titles Date on Sheet 1.

    I know the issue is with the column index number (specifically the 'B2+5' component which needs to adapt to column numbering on Sheet 2) - additionally, and relating to my original question, how can I have it ignore the 'A', 'B' & 'C' sub-staging under Stage 3 for Estate 4?
    Attached Files Attached Files
    Last edited by SmittyCL; 05-29-2019 at 03:56 AM.

  5. #5
    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
    81,226

    Re: How to Adapt VLOOKUP to Cope with Sub-Staging in Data Layout

    Try this basic INDEX MATCH:

    =INDEX(Sheet2!$G$3:$Q$9,MATCH(Sheet1!B1,Sheet2!$E$3:$E$9,0),MATCH(Sheet1!B2,Sheet2!$G$2:$Q$2,0))

  6. #6
    Registered User
    Join Date
    05-29-2019
    Location
    Melbourne, Australia
    MS-Off Ver
    VIC
    Posts
    8

    Re: How to Adapt VLOOKUP to Cope with Sub-Staging in Data Layout

    Thanks for that, it worked .

  7. #7
    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
    81,226

    Re: How to Adapt VLOOKUP to Cope with Sub-Staging in Data Layout

    Yup!!!

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

+ 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. [SOLVED] Vlookup with isnumber formula
    By BenCrockett in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 04-26-2018, 03:06 PM
  2. ComboBox Vlookup fomula
    By chillz in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-23-2017, 01:03 PM
  3. Add a vlookup fomula to every sheet.
    By Hyped in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-27-2015, 11:16 AM
  4. Help with Vlookup fomula
    By kirbyxun in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-07-2013, 03:06 PM
  5. If(Isnumber and Vlookup
    By mytipi in forum Excel General
    Replies: 3
    Last Post: 04-10-2012, 04:14 AM
  6. [SOLVED] Reverse Vlookup multiple results if isnumber?
    By Jmarsh4 in forum Excel General
    Replies: 2
    Last Post: 05-13-2010, 04:54 PM
  7. ISNUMBER and VLOOKUP Help Needed
    By lrbest4x4xfar in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-26-2005, 10:05 AM

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