Returning a value from a range, if a date falls between two dates in a range

richiet70

New Member
Joined
Aug 2, 2018
Messages
1
EuqwZvj
hello, my first post here, after many years of browsing and finding solutions!

I hope someone can help.

I am struggling to upload the image to the post but it can be found here:

https://imgur.com/a/KJbTMg1

https://imgur.com/a/KJbTMg1

I am trying to get cell F6 to return a value from the range K4:U4 (it goes further than column U), so I want this to be a number 53-63 (or higher)

I want the formula to look up the date D6 and evaluate the range K4:U3 and find which week number it falls into, then return that.

So in this case D6 is 09/10/18, which falls between 62 and 63. If I csan somehow specify that the dates are week endings, it will know that this is then week 63, and 63 is returned.

There are formulas in K5:U10 which look up the week numbers and then spread the costs, also interested if there is a way to remove the need for week numbers and use the date? maybe a question for another thread!

many thanks in advance
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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