Day and time formula to return specific values based on a table(of some sort)

TheAdvent420

New Member
Joined
Jun 23, 2023
Messages
2
Office Version
  1. 365
Platform
  1. Windows
Good afternoon,

I hope we're all well.

I'm usually able to find what i'm looking for when it comes to excel and formulas but this one has me stumped.
I'm hoping that someone obviously smarter than I would be able to help!

So I'm formulating a sheet which returns rates based on a time range and a specific day.

An example of the rates would be:
image


And on the main sheet there will be 3 columns

Day
From
To

Based on the 3 columns and the values punched in would I be able to return the above rates?

Any help at all would be majorly appreciated, So thanks in advance!

Regards,
 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
Update:

I found this on Chatgpt but it always returns a "0";

=INDEX(value_range, MATCH(1, (text_range=A1)*(start_time_range<=B1)*(end_time_range>=B1), 0))
 
Upvote 0

Forum statistics

Threads
1,215,139
Messages
6,123,263
Members
449,093
Latest member
Vincent Khandagale

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