+ Reply to Thread
Results 1 to 11 of 11

Double VLookup or something else?

  1. #1
    Registered User
    Join Date
    05-12-2015
    Location
    KSA
    MS-Off Ver
    2013
    Posts
    5

    Double VLookup or something else?

    Hi all,
    Can someone help me?

    All I want is: When I will enter some date in A3 to I3, % value should automatically come in box J3 to AA3, w.r.t A2 to I2
    Attached Files Attached Files

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Double VLookup or something else?

    Hi,

    See attached where I've added a column A to hold the 1/1/2015 date in A3
    Attached Files Attached Files
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    02-24-2014
    Location
    Seattle, WA
    MS-Off Ver
    Excel 2010
    Posts
    9

    Re: Double VLookup or something else?

    Hey Adnan -

    you can use the Index function as an alternative to Vlookup. Using Index paired with Match will let you find the proper Percentage for the date you are interested in. Example, use this formula in cell J3 throught AA3. Formula: =INDEX($A$2:$I$3,1,MATCH(J1,$A$3:$I$3,0)).

    You can throw an "If" statement in there so that if the value is not found, you get something more elegant than the default #N/A

  4. #4
    Registered User
    Join Date
    05-12-2015
    Location
    KSA
    MS-Off Ver
    2013
    Posts
    5

    Re: Double VLookup or something else?

    Hi,
    Sorry. My problem is not solved yet.
    If I put any date under Step 1, it should accordingly enter %. And total should be 100%.
    I have removed some formulas, and put 0% there to show what result I want
    Also, if I put e.g. 16-Feb-15 in J3, N3 should be 20% (10% because of B3 & 10% because of J3)

  5. #5
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,064

    Re: Double VLookup or something else?

    Try this. I have added a cumulative % row, which can be hidden.
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: Lá fhéile Pádraig sona dhaoibh

  6. #6
    Registered User
    Join Date
    05-12-2015
    Location
    KSA
    MS-Off Ver
    2013
    Posts
    5

    Re: Double VLookup or something else?

    Hi,
    I appreciate your response. That formula works well. But not fully.
    In your above sheet, in F4 if I enter e.g. 12-Apr-15 instead of 24-Mar-15, it will give 50% upto 10-Apr-15 week and nothing after.
    As far as i have observed, if there is any date is last cell, e.g. J4, it gives all result very well.
    Thanks

  7. #7
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,064

    Re: Double VLookup or something else?

    It was 100% INTENTIONAL that it would only give % completion values up to the last entered date. You never told us what you want this for; but I assume that it is for "live" project progress tracking against objectives.

    Let's say that today is 12th April and you have just been told that step 5 is complete. Youu put 12/4/15 in F4 and the overall project completed at 10/4/15 goes to 50%. Beyond that it is blank because it is in the future. You have NO IDEA if the project will be 50%, 60% or 100% complete by 17th April (the next reporting cell (V4) - so why put misleading information in it? Sooner or later the information will change.

    But if that is what you REALLY want, then use this in K4 and drag across:

    =INDEX($A$3:$J$3,MATCH(K1,$A$4:$J$4,1))

    But... before you do, make sure that this is what you really need!

  8. #8
    Registered User
    Join Date
    06-16-2011
    Location
    Bangalore
    MS-Off Ver
    Excel 2010
    Posts
    42

    Re: Double VLookup or something else?

    I have slightly modified the sheet,Please have a look at it.
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    05-12-2015
    Location
    KSA
    MS-Off Ver
    2013
    Posts
    5

    Re: Double VLookup or something else?

    If today is 12th April and I have just been told that step 5 is complete. I put 12/4/15 in F4 and the overall project completed at 10/4/15 goes to 50%. Fine. and at 17/04/15 it should be 60%.. So the previous one doesn't serve the cause. But the above formula serves the purpose well in all cases.
    (Well I needed both things. I have planned dates for all 9 steps. and with time I will get my actual dates. So, I am sorry if I couldn't explain it properly.)
    Thanks alot for your cooperation. Cheers !!

  10. #10
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,064

    Re: Double VLookup or something else?

    Thanks for the Reputation that you have added. It's much appreciated. If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

  11. #11
    Registered User
    Join Date
    05-12-2015
    Location
    KSA
    MS-Off Ver
    2013
    Posts
    5

    Re: Double VLookup or something else?

    Yes marked. Thanks once again !!

+ 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. Double vlookup if not this then that.
    By dizzle in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-11-2013, 07:52 PM
  2. Double vlookup
    By jame24 in forum Excel General
    Replies: 1
    Last Post: 01-18-2012, 12:43 PM
  3. double vlookup
    By mamig in forum Excel General
    Replies: 2
    Last Post: 10-06-2010, 07:11 AM
  4. Is it possible to have a Double VLookup???
    By Pushrod in forum Excel General
    Replies: 9
    Last Post: 08-24-2009, 11:24 AM
  5. Is a Double Vlookup possible?
    By caliskier in forum Excel General
    Replies: 2
    Last Post: 10-19-2007, 01:02 PM

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