VLOOKUP Date Range Question and Help Please.

hasnraz

New Member
Joined
Oct 24, 2018
Messages
1
Hello Excel Experts.

I am facing some challenges in sorting an excel document, where there are occupancy percentage values by date (e.g. from Jan 1, 2018 to Yesterday) on one sheet and other sheet just have date ranges for a person's visit at our facility e.g. Mr. X visited from Sep. 23 to Oct. 28 (5 Days).

Now I need to sort out what was the occupancy percentage on each date of Mr. X visit? Hope this explains?

I have been using this formula but it only gives me a value for first date and not all the date for his visit: =VLOOKUP(G8,'Occ.'!B2:C295,2,0)

Please let me know.


Thank you for your help
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.

Forum statistics

Threads
1,223,903
Messages
6,175,289
Members
452,631
Latest member
a_potato

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