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

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
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,523
Messages
6,125,318
Members
449,218
Latest member
Excel Master

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