find where a number in a range of numbers is with formulas

stratis63

New Member
Joined
May 30, 2012
Messages
7
I have sessions ranges of time (ticketing sessions) Sheet 2 filed Gray
i have also events in another file.
I need a function that looks at an event time and dates and returns to me the corresponding session

For example
File 1
A
FILE A
Code, Sport, Date, Start time, End time of a session
Session 1, HB, 01/07/2012 08.00 -12.00
Session 1, HB, 01/07/2012 12.01 -16.00

and then I do have events
FILE B
event,Sport, Date, Start time
Match 1, HB, 01/07/2012, 09.15


So I need the function will look at the FILE Bt combining for example Sport+Date+time
and then will look in FILE A sessions Again Sport+date+start time, Sport+ date+endtime and will decide which session includes that event

in our example The formula should return

match 1, Session1
so I need a function that will look up in the index or area of the sessions and will return the one that corresponds to the time.


Regards
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.

Forum statistics

Threads
1,215,011
Messages
6,122,677
Members
449,092
Latest member
tayo4dgacorbanget

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