Assigning value based on date range & another criteria

Status
Not open for further replies.

emshep005

New Member
Joined
Nov 29, 2018
Messages
5
Hi,
Hopefully someone can help me. I have a chart that lists dates of two brands and some events that run each year for past 2 years.

In another tab I have a list of dates between the two brands. I want to first, identify the brand, then if the date falls between the date ranges of a certain event and if it does, return that event's name.

Here is a snapshot:
Brand (Column A)Event
(Column B)
start (Column C)end
(Column D)
Brand AWinter Clearance1/1/20172/7/2017
Brand AAthletic2/8/20173/28/2017
Brand BSpring3/29/20175/23/2017
Brand BSummer5/24/20176/20/2017
Brand ASummer Clearance6/6/20187/10/2018
Brand ABlack Friday/Cyber Monday11/14/201811/27/2018
Brand AHoliday11/28/20181/1/2019
Brand BSpring3/14/20185/8/2018
Brand BSummer5/9/20186/19/2018


Here is an example of what I want to find:

BrandActual DateEvent
Brand A3/15/2017?
Brand B5/18/2018?


Let me know if I should post in a different way. Thanks everyone!
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
Hi.
What should the results be for your two examples ?
For Brand A, I'm guessing "Winter Clearance".
For Brand B, I'm guessing "Summer"

Is that right ?

More generally, is it possible that the dates for any event, for any brand, could overlap with the dates for another event, for the same brand ?

And also, is it possible that an "Actual Date" could be in a period where there is no event on for that brand ?
If yes, how do you want to handle that ?
 
Upvote 0
Hi,

Brand A would fall under Athletic & Brand B would fall in Summer.

There are never any days that would not be part of an event. There are also never days that overlap.

Thanks!
 
Upvote 0
Status
Not open for further replies.

Forum statistics

Threads
1,214,789
Messages
6,121,605
Members
449,038
Latest member
Arbind kumar

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