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

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
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,224,753
Messages
6,180,748
Members
452,996
Latest member
nelsonsix66

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