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

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
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,223,711
Messages
6,174,025
Members
452,542
Latest member
Bricklin

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