If Between Certain Date Range, Enter Value in "X" Cell

Anonymous
2019-12-18T22:12:57+00:00

I need some assistance with an excel formula.  I have two columns with date ranges (pay period beginning and end dates), and then a third column with a number in the cell that is associated with the specific date range in that row.  I am trying to create a formula in yet another cell that says "if the date range falls between 'these dates' then enter the number in 'this cell.' 

I'm not sure if it's possible because there are 24 date ranges.

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
{count} votes
Answer accepted by question author
  1. Anonymous
    2019-12-20T07:16:27+00:00

    Hi BRIT109

    Please, try  in cell F2=IF(AND(E2>=B2,E2<=C2),D2,"")

    Hope this is somehow close to your scenario and give you the answer to your problem.

    Regards

    4 people found this answer helpful.
    0 comments No comments

8 additional answers

Sort by: Most helpful
  1. Anonymous
    2019-12-18T23:23:05+00:00

    Sorry, I guess I can't copy and paste an example.

    0 comments No comments
  2. Anonymous
    2019-12-19T06:32:25+00:00

    Dear BRIT109,

    Thanks for your updates and effort.

    The screenshots you uploaded aren’t uploaded successfully. I’d like you to upload it again here for our clarification.

    You can upload the screenshot via clicking on Reply>Insert image.

    Please also make sure that the information in the screenshot can be shared here directly and add your confirmation.

    Best Regards,

    Cliff

    0 comments No comments
  3. Anonymous
    2019-12-20T06:40:52+00:00

    Dear BRIT109,

    Welcome to share any updates when you have time if you need further help on this issue.

    Best Regards,

    Cliff

    0 comments No comments
  4. Anonymous
    2019-12-20T20:28:33+00:00

    I have the answer I need now, thank you so much!!

    0 comments No comments