+ Reply to Thread
Results 1 to 18 of 18

VLOOKUP challenge on multiple project deployments

  1. #1
    Forum Contributor
    Join Date
    08-15-2006
    Location
    USA
    MS-Off Ver
    Office 365, 64 bit
    Posts
    362

    VLOOKUP challenge on multiple project deployments

    Adding a sample file as requested - thx
    Attached Files Attached Files
    Last edited by rz6657; 08-21-2018 at 11:23 AM. Reason: Adding another sample file

  2. #2
    Forum Contributor
    Join Date
    08-15-2006
    Location
    USA
    MS-Off Ver
    Office 365, 64 bit
    Posts
    362

    Re: VLOOKUP challenge on multiple project deployments

    I was thinking about another way. Each project will end up with 4 rows depending on the # of deployments - what if:

    1. Via a macro scan each row if project X on column V has the DEPLY_PATHMSID on the same row with an ID, copy that row to Dep1 tab and delete that data on that row on the main Milestones tab
    a. if for the same project X on the row below it also has the DEPLY_PATHMSID on the same row with a unique ID, copy that row to Dep2 tab and delete that data on that row on the main Milestones tab
    b. if for the same project X on the row below it also has the DEPLY_PATHMSID on the same row with a unique ID, copy that row to Dep3 tab and delete that data on that row on the main Milestones tab
    c. if for the same project X on the row below it also has the DEPLY_PATHMSID on the same row with no unique ID (null), do nothing


    2. Now, after the macro completes this correctly, I have use VLOOKUP to lookup the values I need per each of the 3 deployments for the same project on 1 row in the TechDev tab... I added another file ---

  3. #3
    Forum Contributor
    Join Date
    08-15-2006
    Location
    USA
    MS-Off Ver
    Office 365, 64 bit
    Posts
    362

    Re: VLOOKUP challenge on multiple project deployments

    Adding file
    Attached Files Attached Files

  4. #4
    Forum Contributor
    Join Date
    08-15-2006
    Location
    USA
    MS-Off Ver
    Office 365, 64 bit
    Posts
    362

    Re: VLOOKUP challenge on multiple project deployments

    If VLOOKUP is not the right approach, is there another option to get this to work? Any ideas and help is appreciated --- thx

  5. #5
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,543

    Re: VLOOKUP challenge on multiple project deployments

    Working with the file attached to post #1
    1) A helper cell showing the deployment ID's is inserted into each deployment section on the 'TechDev' sheet
    Note that the helper cells may be hidden for aesthetic purposes.
    2) the helper cells are populated using*:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    3) The remaining cells of each deployment section are populated using Index/Match/Match formulas similar to:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Note that each deployment section is conditionally formatted so that zero values are hidden.
    *Denotes an array entered formula which is confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer.
    Note that an array entered formula was used as there is no Excel version shown in the profile. If version 2010 or later is used a regular AGGREGATE based formula could be substituted.
    Let us know if you have any questions.
    Attached Files Attached Files
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  6. #6
    Forum Contributor
    Join Date
    08-15-2006
    Location
    USA
    MS-Off Ver
    Office 365, 64 bit
    Posts
    362

    Re: VLOOKUP challenge on multiple project deployments

    Hi JeteMc - this works well; however, it will only work for the 1st project. If other projects have multiple deployments, it will only repeat the 1st deployment IDs, not the new set of deployment IDs for the new project... When I changed the $BI$3:$BI$6 to $BI$7:$BI$10, than it identified the correct 1st deployment ID for project # 2... If I just changed the 6 to 100 so that it covers multiple rows, it repeats the 1st deployment ID... I'm following your instructions to the tee --- thanks so much for taking time to look into this ---

  7. #7
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,543

    Re: VLOOKUP challenge on multiple project deployments

    If you could upload a sample that has two or three projects with multiple deployments, we may be able to find a resolution to the problem.
    Let us know if you have any questions.

  8. #8
    Forum Contributor
    Join Date
    08-15-2006
    Location
    USA
    MS-Off Ver
    Office 365, 64 bit
    Posts
    362

    Re: VLOOKUP challenge on multiple project deployments

    I've uploaded another sample file: Multi deployments(rz6657) (2).xlsx‎ in 1st post ---- thx

  9. #9
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,543

    Re: VLOOKUP challenge on multiple project deployments

    Made a few modifications to the formulas and they now appear to work.
    Helper column array entered formula:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Formula to fill table:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Let us know if you have any questions.
    Attached Files Attached Files

  10. #10
    Forum Contributor
    Join Date
    08-15-2006
    Location
    USA
    MS-Off Ver
    Office 365, 64 bit
    Posts
    362

    Re: VLOOKUP challenge on multiple project deployments

    WOW! it does work so beautifully ---- thanks so much JeteMc--- you have saved me much work ---

  11. #11
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,543

    Re: VLOOKUP challenge on multiple project deployments

    You're Welcome. Thank You for the feedback and for marking the thread as 'Solved'. I hope that you have a blessed day.

  12. #12
    Forum Contributor
    Join Date
    08-15-2006
    Location
    USA
    MS-Off Ver
    Office 365, 64 bit
    Posts
    362

    Re: VLOOKUP challenge on multiple project deployments

    JeteMc--

    I'm back asking for some assistance. It's the same type of obstacles; however, they've revised the way the report used to provide the info and it now requires me to relook at the formulas and another solution. I've attached a sample file and the challenges I'm facing. Your help is greatly appreciated. Thanks

  13. #13
    Forum Contributor
    Join Date
    08-15-2006
    Location
    USA
    MS-Off Ver
    Office 365, 64 bit
    Posts
    362

    Re: VLOOKUP challenge on multiple project deployments

    The goal is to get the target and actual dates for each milestone--- I forgot to add the end goal --

  14. #14
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,543

    Re: VLOOKUP challenge on multiple project deployments

    The following formula seems to work:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Note that the formula has only been applied through row fifteen.
    Note that I have only checked a few values, so rigorous checking is suggested.
    Let us know if you have any questions.

  15. #15
    Forum Contributor
    Join Date
    08-15-2006
    Location
    USA
    MS-Off Ver
    Office 365, 64 bit
    Posts
    362

    Re: VLOOKUP challenge on multiple project deployments

    JeteMc--

    You are on the right path. I may have left out critical details; therefore, I've added notes to the Notes tab and some samples. Please let me know if you have any questions. Thanks so much for your help.

  16. #16
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,543

    Re: VLOOKUP challenge on multiple project deployments

    Let's see if these are better:
    1. For the 'Agile' section:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    2. For S:X and CM:CR
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    3. For Y:CK
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Note that the Milestones!$AF$5:$AF$1254=1 portion of formula #3 references a helper column on the Milestones sheet and that the 1 is changed to a 2 for the second deployment, 3 for the third deployment etc.
    The helper column, which may be moved and/or hidden for aesthetic purposes, is populated using: =COUNTIFS(H$5:H5,H5,Z$5:Z5,Z5)
    The 1/1/00's are zeros formatted as dates. I have hidden some using conditional formatting (font color = fill color). That is probably caused by cells on the Milestones sheet that display as blanks but are actually zeros.
    Let us know if you have any questions or find any issues.

  17. #17
    Forum Contributor
    Join Date
    08-15-2006
    Location
    USA
    MS-Off Ver
    Office 365, 64 bit
    Posts
    362

    Re: VLOOKUP challenge on multiple project deployments

    JeteMc - again you came through. I really am appreciative for your contribution on this site. Thanks again!!!

  18. #18
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,543

    Re: VLOOKUP challenge on multiple project deployments

    You're Welcome. Thank You for the feedback and for marking the thread as 'Solved'. I hope that you have a blessed day.

+ 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. Daily Challenge! Need help with multiple vlookup criteria
    By tkbuc in forum Excel Formulas & Functions
    Replies: 25
    Last Post: 08-04-2017, 03:13 PM
  2. [SOLVED] VLOOKUP Multiple Column Challenge
    By Logit in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 08-08-2016, 09:21 PM
  3. [SOLVED] VBIDE Challenge #5 - Listing Procedures in VB Project
    By mc84excel in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-19-2014, 10:43 PM
  4. [SOLVED] Function that concatenates multiple sub-project descriptions based on project code
    By markbpi in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-28-2012, 06:49 PM
  5. Excel 2007 : Vlookup challenge
    By ngaisteve1 in forum Excel General
    Replies: 11
    Last Post: 04-23-2012, 04:11 AM
  6. Replies: 2
    Last Post: 10-28-2011, 07:57 AM
  7. Spreadsheet w/Logic for IT App Deployments
    By jspgolf in forum Excel General
    Replies: 10
    Last Post: 08-15-2009, 11:25 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