value associated with a date range

dan_apple

New Member
Joined
Aug 2, 2019
Messages
3
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
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
Cross posted https://www.excelforum.com/excel-fo...85077-value-associated-with-a-date-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:
Upvote 0
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‎
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,279
Members
452,630
Latest member
OdubiYouth

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top