Ken Russell
New Member
- Joined
- Sep 8, 2014
- Messages
- 20
I have a spreadsheet with the following cells.
Cell B23= Purchase Date
Cell $E$7 = Today's date
Cell F23 = Purchase Price
Cell F24 formula needed as described below
I need to write a formula that compares the two dates and does the following.
If the Purchase date B23 is after Today's date $E$7 then show result as the Purchase price as a negative value.
If the Purchase date B23 is Today's day's date $E$7 then show result as the Purchase price as a negative value.
If the Purchase date B23 is before Today's day's date $E$7 then show the number of days difference times the Purchase price E23 as a negative value.
Any help would be greatly appreciated.
Cell B23= Purchase Date
Cell $E$7 = Today's date
Cell F23 = Purchase Price
Cell F24 formula needed as described below
I need to write a formula that compares the two dates and does the following.
If the Purchase date B23 is after Today's date $E$7 then show result as the Purchase price as a negative value.
If the Purchase date B23 is Today's day's date $E$7 then show result as the Purchase price as a negative value.
If the Purchase date B23 is before Today's day's date $E$7 then show the number of days difference times the Purchase price E23 as a negative value.
Any help would be greatly appreciated.