Excel help :(
•
6 Jul 2012, 02:03
•
Journals
Hey crossies,
I really need some help with Excel and google didnt really help me out.
The problem:
I have a date of birth in A1 and need to see on which date the person turns X (lets say 25) years old.
Maybe even with an IF-function:
The date when the person turns X years old and a text-output when the person already is over that date.
I already tried a lot of things but simply cant figure it out.
Maybe someone here can help me out.
Regards,
Rayzed
P.S.
Cu@LAN
I really need some help with Excel and google didnt really help me out.
The problem:
I have a date of birth in A1 and need to see on which date the person turns X (lets say 25) years old.
Maybe even with an IF-function:
The date when the person turns X years old and a text-output when the person already is over that date.
I already tried a lot of things but simply cant figure it out.
Maybe someone here can help me out.
Regards,
Rayzed
P.S.
Cu@LAN
Edit:
Wenn ich dein Problem richtig verstanden habe, sollte es so funktionieren:
C2: =WENN(DATUM(JAHR(A2)+B2;MONAT(A2);TAG(A2))>HEUTE();DATUM(JAHR(A2)+B2;MONAT(A2);TAG(A2));"Mist")
=IF(TODAY() > EDATE(A1;12*25); "PAST - 25th birthday: "&TEXT(EDATE(A1;12*25); "TT.MM.JJJJ"); "FUTURE - 25th birthday: "&TEXT(EDATE(A1;12*25); "TT.MM.JJJJ"))
edit:
first result is what you are looking for