+ Reply to Thread
Results 1 to 6 of 6

Return different values in a cell from different column ranges, based on today`s date

  1. #1
    Registered User
    Join Date
    02-03-2016
    Location
    Basel
    MS-Off Ver
    2010
    Posts
    3

    Question Return different values in a cell from different column ranges, based on today`s date

    Dear Forum,

    I have this on-call tracking sheet (see attachment) where I need to return different values in a cell from different column ranges, based on today`s date.
    So the goal would be to see which person from column D has on call duty today (based on column B and C) in which group (column A)
    The Result should look somehow like this:
    Picture1.png
    Attached Files Attached Files

  2. #2
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: Return different values in a cell from different column ranges, based on today`s date

    Hi
    Use these formula to create a help column
    =ROW($A2:$A625)*--($B2:$B625<=$J$1)*--($C2:$C625>=$J$1)*--($D2:$D625<>"")
    where J1 is today()
    See the fileBook1 (3).xlsx

  3. #3
    Registered User
    Join Date
    02-03-2016
    Location
    Basel
    MS-Off Ver
    2010
    Posts
    3

    Re: Return different values in a cell from different column ranges, based on today`s date

    Hi Jose,

    thanks for your reply. If works very well with today`s date, but if I try it with another date entered in L1, the name a group stays empty.
    So I suggest if I would open the sheet in two weeks it would not work.
    Any suggestion how this could be changed?
    The goal would be to see the Names for every group throughout the whole year based on the day I open the sheet.

    Thanks a lot
    Alex
    Attached Files Attached Files
    Last edited by schmidta1988; 02-03-2016 at 05:40 AM.

  4. #4
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: Return different values in a cell from different column ranges, based on today`s date

    Hi
    Yes. You can put on other Sheet.
    I correct the formula, so the names are grouped.
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    See the file Book1 (4).xlsx and the Sheet "Today"

  5. #5
    Registered User
    Join Date
    02-03-2016
    Location
    Basel
    MS-Off Ver
    2010
    Posts
    3

    Re: Return different values in a cell from different column ranges, based on today`s date

    Hi Jose

    this is amazing. I really appreciate your help.
    Have a nice day

    Alex

  6. #6
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: Return different values in a cell from different column ranges, based on today`s date

    Hi Alex
    Thank you for the feedback.

    Do not forget to mark this thread as solved.

    To mark your thread solved do the following:
    New Method
    -Go to the top of the first post
    -Select Thread Tools
    -Select Mark thread as Solved

+ 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] If a cell in a column equals today's date return the value of another cell adjacent to it
    By DeanExcel in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-24-2021, 01:38 AM
  2. [SOLVED] How to fill an array with values in column C based on Column D date value of Today
    By jrtraylor in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 01-10-2016, 07:44 PM
  3. Replies: 12
    Last Post: 08-05-2015, 05:15 PM
  4. [SOLVED] Look at date cell & return 1 of 7 possible values based on how long ago it was
    By chaminod in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-06-2015, 12:27 PM
  5. [SOLVED] Count cell values under column with today's date header
    By jben86 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 09-23-2013, 03:19 PM
  6. [SOLVED] Search a table and return value based on today's date
    By her.rockstar in forum Excel Formulas & Functions
    Replies: 18
    Last Post: 05-16-2013, 10:29 AM
  7. [SOLVED] Sum the values in a column based on the Date ranges
    By gl.shruthi in forum Excel Charting & Pivots
    Replies: 6
    Last Post: 09-04-2012, 06:04 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