+ Reply to Thread
Results 1 to 6 of 6

Help VLookup & Blank cells

  1. #1
    Registered User
    Join Date
    05-05-2016
    Location
    London
    MS-Off Ver
    2015
    Posts
    4

    Question Help VLookup & Blank cells

    Hi all!

    I have a slight problem I've been trying to work on for a while.


    I currently have two excel tabs one with day plans and one with a master rota.

    The master rota has a list of people and the hours they work for the week.
    It's laid out like

    Master rota
    Name Monday Tuesday
    Fred
    John 8:00 17:00 9:00 17:00

    The second tab has something called a day plan which has another table.

    What I need in the table is the persons name who's in for that day and the hours they are working.

    Day plan
    Name Start time End time Lunch (Empty field)
    Fred
    John 8:00 17:00

    So I've done a VLookup in both the Start time & End time which will read the name from the Name field and then add the start time and the end time.

    What I want is the the Name field to be automatically filled in for each different day in the day plan.
    I'm not explaining this well but if there is an empty field in the start time or end time on the Main rota then I don't want there name in the Dayplan for that day.
    Example: John is working Monday 8:00 - 17:00 but isn't working Tuesday but is working wednesday 8:00 - 17:00 Therefore his name should appear on the dayplan for Monday & Wednesday but Not for Tuesday.

    I hope I explained that well enough... I know I need somesort of IF command but I just can't figure it out.
    Thanks!

  2. #2
    Registered User
    Join Date
    05-05-2016
    Location
    London
    MS-Off Ver
    2015
    Posts
    4

    Re: Help VLookup & Blank cells

    Bump

    I know I'm not allowed to bump but I'm really desperate for an answer.
    Again apologises I won't bump again.

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,938

    Re: Help VLookup & Blank cells

    Hi, welcome to the forum

    You show 2 days in your Master, 1 day in your Day, but your question is about 3 days?

    I suggest that you upload a small (clean) sample workbook (not a pic) of what you are working with, and what your expected outcome would look like - and make your sample data a bit more consistent with your question
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  4. #4
    Registered User
    Join Date
    05-05-2016
    Location
    London
    MS-Off Ver
    2015
    Posts
    4

    Re: Help VLookup & Blank cells

    https://docs.google.com/a/johnlewis....it?usp=sharing

    I use google sheets
    That is a smaller version of what I'm trying to do.

    I want the names to automatically pop up when there isn't a gap in the start time and end time for that day.
    I hope this clears things up

    Anyone who can help please request access

    Thanks

  5. #5
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: Help VLookup & Blank cells

    In order to access this file I'm have to "request access".
    I'm now having to wait for an email to grant me access to that file.
    I don't have time to wait around for email responses as I am at work.
    Suggest you use a different method when posting files, you can easily attach files within this forum.
    I may come back to this, I may not depending on my workload.
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  6. #6
    Registered User
    Join Date
    05-05-2016
    Location
    London
    MS-Off Ver
    2015
    Posts
    4

    Re: Help VLookup & Blank cells

    Apologises!
    I don't have access to Microsoft Excel ATM and this is the only method I know of sharing a sheet.

    Thank you for your time

    Edit: I haven't put a day plan in for everyday as I'm hoping two days should explain what I'm trying to accomplish.

    I hope I'm explaining this well

+ 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. Vlookup only in blank cells
    By jamesh2 in forum Excel General
    Replies: 7
    Last Post: 03-08-2022, 05:59 PM
  2. [SOLVED] Sum of multiple VLOOKUP cells in the row with some cells are blank
    By thup_98 in forum Excel General
    Replies: 3
    Last Post: 12-23-2015, 04:23 AM
  3. Vlookup: Need empty cells to appear as blank instead of 0
    By lordfa9 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-29-2015, 12:11 PM
  4. Using Vlookup fill in the blank cells
    By sabubakaralis in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-02-2015, 11:53 PM
  5. Excel 2007 : skip blank cells in vlookup
    By jrable in forum Excel General
    Replies: 9
    Last Post: 03-22-2011, 08:57 PM
  6. vlookup returning blank cells?
    By ajwpurevisibility in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 02-09-2011, 11:36 AM
  7. [SOLVED] Re: Need Vlookup to return a value of $0.00 in blank cells
    By Roger Govier in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 07-26-2006, 03:20 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