+ Reply to Thread
Results 1 to 17 of 17

Helper Column and VLOOKUP

  1. #1
    Registered User
    Join Date
    08-03-2020
    Location
    India
    MS-Off Ver
    2010
    Posts
    15

    Lightbulb Helper Column and VLOOKUP

    Hello,

    I need help with a formula. Below is the requirement.

    In the Project tab, Column E is the Helper Column. It should return the date from Column I that corresponds to that Task Number in Column B. In Column D, the user will define the preceding task it is dependent on. Accordingly the next workday of the Task in Column D should be auto-populated in Column G.

    Any help will be much appreciated.

    Regards,
    Vijay
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    09-30-2019
    Location
    Chiangmai, Thailand
    MS-Off Ver
    Office 2016, Excel 2019
    Posts
    1,234

    Re: Helper Column and VLOOKUP

    Did you mean

    E4
    =IFERROR(VLOOKUP(D4,$B$2:$I3,8,FALSE),0)

    Regards.

  3. #3
    Registered User
    Join Date
    08-03-2020
    Location
    India
    MS-Off Ver
    2010
    Posts
    15

    Re: Helper Column and VLOOKUP

    Thank you Chingmai,

    But the formula did not work. Also, can you explain what us $13,8,FALSE) please?

  4. #4
    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. 2406 (Windows 11 23H2 64-bit)
    Posts
    81,573

    Re: Helper Column and VLOOKUP

    Define "did not work".
    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.

  5. #5
    Registered User
    Join Date
    08-03-2020
    Location
    India
    MS-Off Ver
    2010
    Posts
    15

    Re: Helper Column and VLOOKUP

    Hi AliGW, the formula did not return the desired date from Column I.

    Thank you.

  6. #6
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,465

    Re: Helper Column and VLOOKUP

    Please try in E3 and copy down:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    and in G3 and copy down:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files

  7. #7
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,628

    Re: Helper Column and VLOOKUP

    In G2 then copy down

    =IFERROR(WORKDAY(INDEX($I$2:$I2,MATCH(D3,$B$2:$B2,0)),1,'Hol-Cal'!$C$2:$C$20),"")
    Attached Files Attached Files
    Pl note
    Array formula should be confirmed with Ctrl+Shift+Enter keys together.
    If answere is satisfactory press * to add reputation.

  8. #8
    Forum Expert
    Join Date
    09-30-2019
    Location
    Chiangmai, Thailand
    MS-Off Ver
    Office 2016, Excel 2019
    Posts
    1,234

    Re: Helper Column and VLOOKUP

    What is expected date from column I ?

    Regards.
    Attached Images Attached Images

  9. #9
    Registered User
    Join Date
    08-03-2020
    Location
    India
    MS-Off Ver
    2010
    Posts
    15

    Re: Helper Column and VLOOKUP

    Dear Hans,

    Thank you for the formula. It worked exactly as the requirement. Thank you so much for the help, much obliged!

    Regards,
    Vijay

  10. #10
    Registered User
    Join Date
    08-03-2020
    Location
    India
    MS-Off Ver
    2010
    Posts
    15

    Re: Helper Column and VLOOKUP

    Dear Srinavasamurthy,

    Thank you so much for the formula. I was surprised to see that it does not even use a helper column, that was really nice. But for some reason, the formula is not working in the lower cells. Sharing the file. Am sure you would be keen to see where's the gap, and so am I.

    Regards,
    Vijay
    Attached Files Attached Files

  11. #11
    Registered User
    Join Date
    08-03-2020
    Location
    India
    MS-Off Ver
    2010
    Posts
    15

    Re: Helper Column and VLOOKUP

    Hi ChingMai,

    Column I is the end date of a task. Based on that end date, the dependent task must begin on the next workday. Thank you for your interest and willingness to help. I truly appreciate it.

    Regards,
    Vijay

  12. #12
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,465

    Re: Helper Column and VLOOKUP

    Thanks for the feedback, I'm glad to have helped.

    Please consider adding reputation to the answers of all helpers, whose answer you think deserves it.

  13. #13
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,628

    Re: Helper Column and VLOOKUP

    Pl see file. It is working.
    Nothing was filled in D3
    Attached Files Attached Files
    Last edited by kvsrinivasamurthy; 11-22-2022 at 06:20 AM.

  14. #14
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,465

    Re: Helper Column and VLOOKUP

    Thanks for the rep. .

  15. #15
    Registered User
    Join Date
    08-03-2020
    Location
    India
    MS-Off Ver
    2010
    Posts
    15

    Re: Helper Column and VLOOKUP

    Hi Srinavasamurthy,

    Thank you for the follow up. Yes, it is working after you have populated D3. Just want to point out an interesting fact though, in the formula written by Hans Douwe where he has made use of a helped column, even there is no dependent task, the formula works in the subsequent cells. With your formula, if I delete the dependency on any task, the formula stops working in the subsequent cells. Not pointing out any shortcomings as such, but bringing it to your attention as an expert, purely for academic reasons. Hope it helps because many people would be benefiting from your solutions. Thank you again.

    Warm regards,
    Vijay Jangam

  16. #16
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,628

    Re: Helper Column and VLOOKUP

    If there is no dependent task how you decide the starting date of the present task?

  17. #17
    Registered User
    Join Date
    08-03-2020
    Location
    India
    MS-Off Ver
    2010
    Posts
    15

    Re: Helper Column and VLOOKUP

    Good question. Initially I had thought of inputting the start date manually. But then, that requires me to delete the formula in the cell. If I want to make it dependent on a previous task, I would need to copy the formula again in the cell. So the deleting and copying is not a very desirable option. I am now planning to protect that column so that we don't have to do that. In which case, your formula holds good. Thanks 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. [SOLVED] Count Number of Instances Column B >= Column A Without Helper Cells
    By TheMechEngineer in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 02-17-2022, 10:05 PM
  2. [SOLVED] Formula to count number of Vlookup result without helper column
    By jp16 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 10-19-2018, 04:26 AM
  3. Replies: 1
    Last Post: 08-02-2017, 01:51 PM
  4. [SOLVED] Need dynamic vlookup if possible without helper column
    By davva23 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 07-04-2017, 07:50 AM
  5. VLOOKUP with multiple criteria - no helper column if possible
    By TRAPLETT in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 06-26-2017, 10:46 AM
  6. Sort by helper column even if values in helper are alike
    By NoSleepForMe in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-10-2016, 04:14 AM
  7. copy vlookup based on helper values
    By ammartino44 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-16-2015, 01:19 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