Value lookup on dates; problem on weekends and PH

iporing

New Member
Joined
Jan 2, 2016
Messages
2
Hi

I have a index and match formula set up to lookup for 2 values, yesterday and the day before yesterday. Match function's value lookup on "today-1" and "today-2" which works pretty well except that weekends and ph is no in this data table so if today is 28 dec, my formula will lookup for 27 and 26 dec which is N/A.

[TABLE="width: 128"]
<colgroup><col width="64" span="2" style="width:48pt"> </colgroup><tbody>[TR]
[TD="class: xl63, width: 64"]Date[/TD]
[TD="class: xl63, width: 64"]Value[/TD]
[/TR]
[TR]
[TD="class: xl64"]31-Dec-15[/TD]
[TD="class: xl65, width: 64"]17,590.66[/TD]
[/TR]
[TR]
[TD="class: xl64"]30-Dec-15[/TD]
[TD="class: xl65, width: 64"]17,711.94[/TD]
[/TR]
[TR]
[TD="class: xl64"]29-Dec-15[/TD]
[TD="class: xl65, width: 64"]17,547.37[/TD]
[/TR]
[TR]
[TD="class: xl64"]28-Dec-15[/TD]
[TD="class: xl65, width: 64"]17,535.66[/TD]
[/TR]
[TR]
[TD="class: xl64"]24-Dec-15[/TD]
[TD="class: xl65, width: 64"]17,593.26[/TD]
[/TR]
[TR]
[TD="class: xl64"]23-Dec-15[/TD]
[TD="class: xl65, width: 64"]17,427.63[/TD]
[/TR]
</tbody>[/TABLE]


Please advice me on how to get the data for 28 dec, to read 24 and 23 dec.

Thanks

Jef
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
Welcome to the MrExcel board!

Have a look in the Excel Help for the WORKDAY() function & see if that helps you.
 
Upvote 0

Forum statistics

Threads
1,223,230
Messages
6,170,883
Members
452,364
Latest member
springate

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