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

dallen8028

New Member
Joined
Jan 28, 2013
Messages
48
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

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
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 !
 
Upvote 0
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:
Upvote 0

Forum statistics

Threads
1,215,046
Messages
6,122,852
Members
449,096
Latest member
Erald

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