Formula to find age problem

bpgolferguy

Active Member
Joined
Mar 1, 2009
Messages
469
Hi, can anyone tell me why this formula isn't working? Its meant to find someone's age as of a certain date (N1) based on their date of birth (M4). All it's doing when I enter the formula is leaving the entire formula text in the cell....it's not even trying to calculate. HELP! Thanks!

=IF(ISBLANK(M4),"",INT((N1-M4)/365.25)
 

Some videos you may like

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.

alansidman

Well-known Member
Joined
Feb 26, 2007
Messages
5,797
Office Version
2019
Platform
Windows
Are you using 2007 and do you have your settings to show the formula turned on or off?

In 2007, it is on the Formula tab and located under Auditing.

Alan
 

Akashwani

Well-known Member
Joined
Mar 14, 2009
Messages
2,911
Hi,

I'm not an expert so I cannot help you with this formula, sorry.

I know this doesn't answer your problem, but...

I use this with Todays date in A1 and the date to be entered in A4.....

=IF(A4="","","You are " & TEXT(DATEDIF(A4, A1, "Y"), "0") & " years, " &TEXT(DATEDIF(A4, A1, "YM"), "0") & " months and " & TEXT(DATEDIF(A4, A1, "MD"), "0") & " days old.")

I hope that helps.

Good luck.

Ak
 

VoG

Legend
Joined
Jun 19, 2002
Messages
63,650
Make sure that the cell is formatted as General then re-enter the formula.
 

Subscribe on YouTube

Watch MrExcel Video

Forum statistics

Threads
1,106,813
Messages
5,513,537
Members
408,957
Latest member
Jcoverick

This Week's Hot Topics

  • Sort code advice please
    Hi, I have the code below which im trying to edit but getting a little stuck. This was the original code which worked fine,columns A-F would sort...
  • SUMPRODUCT with nested If statement
    Hi everyone, Hope you're all well. I'm hoping someone will be able to point me in the right direction with a problem I'm having with a SUMPRODUCT...
  • VBA - simple sort is killing me!
    Hello all! This should be so easy, but not for me, apparently! I have a table of data that can be of varying lengths and widths. My current macro...
  • Compare Two Lists
    I have two Lists and I need to be able to Identify differences between them. List 100 comes from a workbook - the other is downloaded form the...
  • Formula that deducts points for each code I input.
    I am trying to create a formula that will have each student in my class start at 100 points and then for each code that I enter (PP for Poor...
  • Conditional formatting formula required for day of week and a value
    Hi, I have a really simple spreadsheet where column A is the date, column B is the activity total shown as a number and column C states the day of...
Top