value associated with a date range
Results 1 to 3 of 3

Thread: value associated with a date range
Thanks Thanks: 0 Likes Likes: 0

  1. #1
    New Member
    Join Date
    Aug 2019
    Posts
    3
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default value associated with a date range

    Hi,

    I am trying to make a formula that works something like;

    =IF([LOGICAL TEST]Date x<=Date y BUT Date x>Date z, [IF TRUE]Cell A, [IF FALSE]Cell A +1 row down AND +1 row down from Date x in the LOGICAL TEST part)

    Essentially I am trying to make a model in which a specific value corresponds to any time between 2 dates. The value that corresponds to that range of dates is used until the date in the model (which changes) exceeds that given date range. Once that happens I want to next cell below Cell A to be used AND the date range in the logical test to change as well.

    Any help to work out this formula or suggestions for a different approach much appreciated

    Cheers,
    Dan

  2. #2
    MrExcel MVP
    Moderator
    Fluff's Avatar
    Join Date
    Jun 2014
    Location
    Chippenham
    Posts
    27,051
    Post Thanks / Like
    Mentioned
    461 Post(s)
    Tagged
    46 Thread(s)

    Default Re: value associated with a date range

    Cross posted https://www.excelforum.com/excel-for...ate-range.html

    While we do not prohibit Cross-Posting on this site, we do ask that you please mention you are doing so and provide links in each of the threads pointing to the other thread (see rule 13 here along with the explanation: Forum Rules).
    This way, other members can see what has already been done in regards to a question, and do not waste time working on a question that may already be answered.
    Last edited by Fluff; Aug 3rd, 2019 at 07:20 AM.
    - Posting Data try one of these tools
    - Posting guidelines, forum rules and terms of use
    - Read the FAQs

    Running Office 365 on Win 10

  3. #3
    New Member
    Join Date
    Aug 2019
    Posts
    3
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default Re: value associated with a date range

    Revised questions
    --------------
    I am trying to make a formula that works something like;

    =IF([LOGICAL TEST]Date x<=Date y BUT Date x>Date z, [IF TRUE]Cell A which is associated with Date x, [IF FALSE]in the LOGICAL TEST part, +1 row down for Date y and +1 row down for Date z until Date x falls between Day y and z. Then use the Cell associated with that Date x)

    Attached is an example of what the result should be which may best explain my issue

    Thanks
    D

    Book1.xlsx‎

Some videos you may like

User Tag List

Tags for this Thread

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •