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)
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.

alansidman

Well-known Member
Joined
Feb 26, 2007
Messages
6,893
Office Version
  1. 365
Platform
  1. 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.
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,164,043
Messages
5,835,092
Members
430,340
Latest member
xoxe1337

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top