# Reference a Cell With the TODAY() function.

#### ctigers

##### New Member
Have a list of dates in cells a2:a9, in cells b2:b9 have numbers, in cell c2 I have the TODAY() function. What I need is a formula in D2 to read todays date in C2 and put the corresponding number from b2:b9 in D2. The number would need to increment as the date changes. Is this possible with a formula? On 1/18/14 the number would need to be 301 and so on.
 Day CFA 'S Today Date Cuts 1/14/2013 375 1/17/14 266 1/15/2013 216 1/16/2013 317 1/17/2013 266 1/18/2013 301 1/21/2013 249 1/22/2013 281 1/23/2013 346

<tbody>
</tbody><colgroup><col><col><col><col></colgroup>

### 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.

#### mikerickson

##### MrExcel MVP
Try
=VLOOKUP(DATE(YEAR(C2)-1, MONTH(C2), DAY(C2)), A:B, 2, FALSE)

#### ctigers

##### New Member
Works perfectly, Thank You Mike

#### ctigers

##### New Member
Mike, ran into a problem when I opened the formula today, didn't take into account the weekend. Formula is looking at the 19th and giving me an NA since there is no 1/19/2013. Is there a way around weekends with this formula?

#### mikerickson

##### MrExcel MVP
Try removing the last argument (FALSE) of the formula.

#### ctigers

##### New Member
Worked great, also had to take out the -1. Thanks again for the assistance. Gene

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

1,168,013
Messages
5,856,828
Members
431,835
Latest member
AJBud2022

### 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?

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