Formula That Makes Date Equal A Value In Another Cell

TMILJVIPM

Board Regular
Joined
Aug 6, 2011
Messages
72
I'm looking for some help with a formula that when I have a date entered in cell G1 then cell N1will populate to 100%. Any help will be greatly appreciated.
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
Re: Need Help WIth A Formula That Makes Date Equal A Value In Another Cell

Enter the following formula in cell N1:
Code:
=IF(G1>0,100%,"")
The reason this works is that in Excel, dates are stored as numbers (specifically, the number of days since 1/0/1900).
It is just date formatting that makes them look like the pretty date format we expect instead of the long integer (which you can see if you change the cell formatting of any date to "General").
 
Upvote 0
Re: Need Help WIth A Formula That Makes Date Equal A Value In Another Cell

Enter the following formula in cell N1:
Code:
=IF(G1>0,100%,"")
The reason this works is that in Excel, dates are stored as numbers (specifically, the number of days since 1/0/1900).
It is just date formatting that makes them look like the pretty date format we expect instead of the long integer (which you can see if you change the cell formatting of any date to "General").


Thank you
 
Upvote 0
Re: Need Help WIth A Formula That Makes Date Equal A Value In Another Cell

You are welcome.
 
Upvote 0

Forum statistics

Threads
1,216,728
Messages
6,132,368
Members
449,720
Latest member
NJOO7

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