# 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

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a \$25,000 loan, 5% annual interest, 60 month loan.

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

Replies
2
Views
106
Replies
8
Views
219
Replies
3
Views
198
Replies
10
Views
233
Replies
3
Views
206

1,170,935
Messages
5,872,808
Members
432,948
Latest member
Yordi

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

### Which adblocker are you using?

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

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