Hi,
I think this is what you need:
=IF(A1="","-",EDATE(A1,120))
Hi,
I think this is what you need:
=IF(A1="","-",EDATE(A1,120))
Rule 1: Never merge cells
Rule 2: See rule 1
"Tomorrow I'm going to be famous. All I need is a tennis racket and a hat".
The best way to learn what a formula is doing is to evaluate the formula.
Select the cell with the formula and seclet Alt + t,u,f
Then you can step thru what is happening.
For the EDATE function look in Excel help. 120 months divided by 12 equals your 10 years.
The first part of the formula says, If A1 does not equal anything "", the just put a - in the cell.
When you fill A1 with a date it is no longer "" so the formula proceeds to the second half, the EDATE function.
HTH
Regards, Jeff
thank youy sir!!!! i get it now what the quotes do in excel...is possible also to use this in my problem 2?
this is the problem 2:
sir i have a problem again... sir is there a formula that if the cell is blank it will fill color grey or any color i want but if i type in a cell it fill color white....
take a look at http://www.contextures.com/xlcondFormat01.html
for your problem3 please attach a workbook which will detail all three of your results
Sorry it's getting late here and my brain is just not digesting this problem of yours.
I'll try back again tomorrow.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks