+ Reply to Thread
Results 1 to 4 of 4

Look up if dates in range and return all true values

  1. #1
    Registered User
    Join Date
    03-19-2018
    Location
    Goulburn
    MS-Off Ver
    MS Office Professional Plus 2016
    Posts
    35

    Question Look up if dates in range and return all true values

    Hey all,

    Stuck on a formula, I'm trying to get the cells on this calander to check if there is something on the day. It needs to check if it's date falls on or inbetween any of the dates of events, then return all the events names that do on a new line each.

    I've attached the file below, on the January sheet, in the big square next to the 14th is a formula i tried, it half works, it does the test but only returns one value it finds. it also shows what it references


    Let me know if there are any questions

    Thanks

    Bensley
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    12-15-2009
    Location
    Chicago, IL
    MS-Off Ver
    Microsoft Office 365
    Posts
    3,177

    Re: Look up if dates in range and return all true values

    I made a video on how to perform a lookup if the lookup value is between two data points. Here's the link to the video, maybe it might help.
    https://www.youtube.com/watch?v=TVD1GJrDsKk

  3. #3
    Registered User
    Join Date
    03-19-2018
    Location
    Goulburn
    MS-Off Ver
    MS Office Professional Plus 2016
    Posts
    35

    Re: Look up if dates in range and return all true values

    Hey JieJenn

    Thanks for the video, i had a look through it, it pretty much covers a different way of where i have gotten up to, but i will have multiple values that will match that criteria and i want them to apear in the same cell but a line down.

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,728

    Re: Look up if dates in range and return all true values

    I've submitted several calendar files to this forum (you can search the site for examples). My approach is to have several rows for each day (e.g. 7, or 10, or 12 etc.) which will then determine how many events can be displayed for each day. I can then have a formula which can be copied down to pick up the 1st, 2nd, 3rd event etc. for each day.

    With your approach of having one row per day, you would need a lengthy formula which concatenates the multiple events separated by the Alt-Enter character to force each event onto a different line within the cell. Such a monster formula would be difficult to maintain, so I would suggest you re-think how your events are displayed.

    Hope this helps.

    Pete

+ 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. Replies: 3
    Last Post: 08-16-2018, 06:07 AM
  2. If date falls between two dates then return true
    By Anarchus in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-31-2017, 02:05 AM
  3. Replies: 9
    Last Post: 10-08-2015, 01:50 PM
  4. Replies: 3
    Last Post: 10-06-2015, 05:30 PM
  5. Compare dates and return true or false
    By Burt_100 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-22-2014, 04:00 PM
  6. If two cells contain any values then return TRUE
    By djarcadian in forum Excel General
    Replies: 2
    Last Post: 11-13-2014, 03:36 PM
  7. Function to search Column for a range of values and return TRUE or FALSE
    By BamBamMoneyBags in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 02-05-2013, 05:59 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