+ Reply to Thread
Results 1 to 8 of 8

Array formula help: "Who is working today?"

  1. #1
    Registered User
    Join Date
    04-27-2017
    Location
    England
    MS-Off Ver
    2010
    Posts
    4

    Array formula help: "Who is working today?"

    Hi everyone, been struggling to work my head around this and would really appreciate any help if possible!

    I'm attempting to make a spread-sheet that merges my work-rota with a daily duty list; you plug in a date, and it will return a list of staff members who are scheduled for that day.

    I think I have found a few kind of examples that approach this, such as http://eimagine.com/how-to-return-mu...ch-or-vlookup/
    but I am struggling to work out how to adapt this to my specific example.

    Would anyone be able to explain this for me, if it is even possible to do?


    Example:

    example.png

    So, you type into B16 the date you want to check the rota for, and in cells A17 and below it will return a list of any staff that either have a blank cell, or their cell contains "HD" or "LS" on that specific date (so searches cells C3:C11 for this information, based on the date you typed in.).

    Thanks in advance for any response,
    Eiden

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

    Re: Array formula help: "Who is working today?"

    Hello Eiden and Welcome to Excel Forum,
    Try the following:
    1) Select cell A17,
    2) Paste the following array entered formula* into the formula bar:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    *3) Simultaneously press the Ctrl, Shift and Enter keys,
    4) pull the fill handle of cell A17 down to A25
    For future reference it will help us to help you faster/better if you will upload your spreadsheet instead of a screenshot.
    To upload a spreadsheet click on the GO ADVANCED button below the Quick Reply window and then scroll down to Manage Attachments to open the upload window.
    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

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

    Re: Array formula help: "Who is working today?"

    Try this.
    ARRAY formula in A17, then drag down.
    Please Login or Register  to view this content.
    ARRAY formula is used

    To enter ARRAY formula
    Paste the formula
    Press F2
    Press Ctrl+Shift+Enter keys together.
    formula will be covered with{} brackets by excel.
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    04-27-2017
    Location
    England
    MS-Off Ver
    2010
    Posts
    4

    Re: Array formula help: "Who is working today?"

    You're both geniuses - sorry for the late response, but thank you both so much.

  5. #5
    Registered User
    Join Date
    04-27-2017
    Location
    England
    MS-Off Ver
    2010
    Posts
    4

    Re: Array formula help: "Who is working today?"

    If you don't mind helping again, I'd much appreciate it...

    I'm trying to now make a front page "organisational sheet" - i.e As well as just changing the date, you can select which month to view by typing into C16.

    However I'm struggling to get my adapted formula to reference the correct sheets (You type January into C16, it'll look at January... you get the idea) - I've tried using the INDIRECT function, but I'm not sure how to correctly apply this.

    Any bright ideas? Or should I just stick with keeping an organisational section on each page?
    Attached Files Attached Files

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

    Re: Array formula help: "Who is working today?"

    Been away from the computer for a while.
    Here is an array entered formula* that I believe will do what you want:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Note: I also put the following in C16 so that you would only have to change B16 and not both: =TEXT(B16,"mmmm")
    Let us know if you have any questions.
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    04-27-2017
    Location
    England
    MS-Off Ver
    2010
    Posts
    4

    Re: Array formula help: "Who is working today?"

    Again JeteMc, thanks so much for your help! Definitely learnt a few more functions I thought I'd never have to use before.

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

    Re: Array formula help: "Who is working today?"

    You're Welcome and thank you for the feedback. Please take a moment to mark the thread as 'Solved' using the thread tools link above your first post. 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. If Sheet("Entry").range("P3") has not today date then run macro
    By HaroonSid in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-20-2016, 12:13 PM
  2. [SOLVED] IF formula not working =IF(NOT(ISBLANK(M3)),"",IF(ISBLANK(L3),"",TODAY()-L3))
    By amthyst826 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-06-2014, 02:37 PM
  3. [SOLVED] IF Formula not working - need to return "NO" if cell is 1% greater or "YES" if less 1%
    By maryren in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-26-2013, 11:34 AM
  4. Application.ExecuteExcel4Macro "SHOW.TOOLBAR(""Ribbon"",False)" not working
    By redders in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-31-2011, 03:52 PM
  5. Assigning values into array using the "Array" vba function.......not working
    By welchs101 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-17-2011, 04:21 PM
  6. "sumif" not working with "today()"?
    By kghisla in forum Excel General
    Replies: 3
    Last Post: 11-08-2010, 10:39 AM
  7. If changed array formula reduce ""\""\""\ - signs to #Missing, will it make ...
    By Maria J-son in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-05-2006, 08: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