Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi there
I've been trying to use =DATEDIF(A1,TODAY(),"y") - A1 being my date of birth, but when I activate the formel I get an error - high-lighting both the A1 and TODAY - I'm a Danish user and the excel I'm using is in Danish vers. 2003 - does that have anything to do with it??? And what cell format do I need to use in A1 - 'standard' is my first choice but I still get an error!!! Regards Alberte |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Worked for me in English. Try with ; instead of ,
-- Don Guillett SalesAid Software "Alberte" wrote in message ... Hi there I've been trying to use =DATEDIF(A1,TODAY(),"y") - A1 being my date of birth, but when I activate the formel I get an error - high-lighting both the A1 and TODAY - I'm a Danish user and the excel I'm using is in Danish vers. 2003 - does that have anything to do with it??? And what cell format do I need to use in A1 - 'standard' is my first choice but I still get an error!!! Regards Alberte |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
hello Alberte,
you may have to use semi-colons instead of commas, try =DATEDIF(A1;TODAY();"y") format as general "Alberte" wrote: Hi there I've been trying to use =DATEDIF(A1,TODAY(),"y") - A1 being my date of birth, but when I activate the formel I get an error - high-lighting both the A1 and TODAY - I'm a Danish user and the excel I'm using is in Danish vers. 2003 - does that have anything to do with it??? And what cell format do I need to use in A1 - 'standard' is my first choice but I still get an error!!! Regards Alberte |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Select result cell
Open Tools/Macro/Visual Basic editor/View/Immediate window Type in activecell.Formula="=DATEDIF(A2,TODAY(),""Y"")" Press enter Excel will translate the English formula into Danish. Regards, Stefi €˛Alberte€¯ ezt Ć*rta: Hi there I've been trying to use =DATEDIF(A1,TODAY(),"y") - A1 being my date of birth, but when I activate the formel I get an error - high-lighting both the A1 and TODAY - I'm a Danish user and the excel I'm using is in Danish vers. 2003 - does that have anything to do with it??? And what cell format do I need to use in A1 - 'standard' is my first choice but I still get an error!!! Regards Alberte |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
DATO.FORSKEL (for Danish version)
"Alberte" wrote: Hi there I've been trying to use =DATEDIF(A1,TODAY(),"y") - A1 being my date of birth, but when I activate the formel I get an error - high-lighting both the A1 and TODAY - I'm a Danish user and the excel I'm using is in Danish vers. 2003 - does that have anything to do with it??? And what cell format do I need to use in A1 - 'standard' is my first choice but I still get an error!!! Regards Alberte |
#6
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
YES! that did it - both the translation to danish in the formel and the
semicolon, the result is: =DATO.FORSKEL(B2;IDAG();"y") - where B2 is my date of birth Thanks! :-) "Teethless mama" skrev: DATO.FORSKEL (for Danish version) "Alberte" wrote: Hi there I've been trying to use =DATEDIF(A1,TODAY(),"y") - A1 being my date of birth, but when I activate the formel I get an error - high-lighting both the A1 and TODAY - I'm a Danish user and the excel I'm using is in Danish vers. 2003 - does that have anything to do with it??? And what cell format do I need to use in A1 - 'standard' is my first choice but I still get an error!!! Regards Alberte |
#7
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
You are welcome! thanks for the feedback!
Stefi €˛Alberte€¯ ezt Ć*rta: YES! that did it - both the translation to danish in the formel and the semicolon, the result is: =DATO.FORSKEL(B2;IDAG();"y") - where B2 is my date of birth Thanks! :-) "Teethless mama" skrev: DATO.FORSKEL (for Danish version) "Alberte" wrote: Hi there I've been trying to use =DATEDIF(A1,TODAY(),"y") - A1 being my date of birth, but when I activate the formel I get an error - high-lighting both the A1 and TODAY - I'm a Danish user and the excel I'm using is in Danish vers. 2003 - does that have anything to do with it??? And what cell format do I need to use in A1 - 'standard' is my first choice but I still get an error!!! Regards Alberte |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Days until birthday | Excel Worksheet Functions | |||
Birthday calculations | Excel Discussion (Misc queries) | |||
Calculating Age Based on Birthday | Excel Discussion (Misc queries) | |||
calculating excel spreadsheet files for pensions and life insurance (including age calculation sheets) | Excel Worksheet Functions | |||
AGE CALCULATING EXCEL SPREADSHEETS AND OTHERS! | Excel Discussion (Misc queries) |