# today's date match and return value of other cell without changing yesterday's match

#### dallen8028

##### New Member
I have spent several hours searching the internet for a solution to no avail.

I have an external reference (Daily Exchange Rate) that updates daily. I have a column with a daily date in each row for the entire year. I wish to make the cell next to "today's" date in that column reflect today's updated rate without changing previous rates from earlier dates. Any help would be greatly appreciated.

Last edited:

### Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.

#### dallen8028

##### New Member
I can use this formula, but it gives a "false" for previous date matches. This is where I am looking to keep yesterday's and previous matches so I can use that data for lookup values for a specific date.

=IF([@Date]=TODAY(),IF([@Date]=E4,C4,""))

=IF(AND([@Date]=TODAY(),[@Date]=\$E\$4,\$C\$4,""),"") gives #Value !

#### dallen8028

##### New Member
Can anyone help me with this?

=IF(E337=TODAY(),LOOKUP(E4,'Daily Exchange Rate'!\$E\$8:\$E\$372,'Daily Exchange Rate'!\$F\$8:\$F\$372),****)

**** is the previous date cell with that date's Daily Exchange Rate. Because today no longer equals the previous date I want the previous date's exchange rate to not change. Does this make sense?

Last edited:

Replies
0
Views
109
Replies
2
Views
129
Replies
8
Views
202
Replies
1
Views
137
Replies
15
Views
112

1,129,462
Messages
5,636,411
Members
416,917
Latest member
koto1

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