Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Calculating birthday - yet another newcomer!!

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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 287
Default Calculating birthday - yet another newcomer!!

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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,646
Default Calculating birthday - yet another newcomer!!

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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default Calculating birthday - yet another newcomer!!

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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Calculating birthday - yet another newcomer!!

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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,646
Default Calculating birthday - yet another newcomer!!

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Days until birthday Ward Excel Worksheet Functions 3 December 22nd 06 10:44 AM
Birthday calculations JC Excel Discussion (Misc queries) 10 February 26th 06 12:44 PM
Calculating Age Based on Birthday kukarooza Excel Discussion (Misc queries) 1 January 19th 06 03:30 PM
calculating excel spreadsheet files for pensions and life insurance (including age calculation sheets) RICHARD Excel Worksheet Functions 1 March 15th 05 05:49 PM
AGE CALCULATING EXCEL SPREADSHEETS AND OTHERS! RICHARD Excel Discussion (Misc queries) 0 March 1st 05 01:53 PM


All times are GMT +1. The time now is 03:08 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"