DOB/Age Cell Formula - Rounddown

Paul1895

New Member
Joined
May 23, 2019
Messages
14
Hi all!

I was wondering if someone could please give me hand with a, probably very simple, formula.

I am about to circulate a worksheet to a few organisations my my office deals with, asking them to enter some standard details of their clients (First Name, Surname, DOB, Age...). I have set up the "Age" column to be auto generated based on the date entered in the "DOB" column, but would also like to include a "ROUNDDOWN" function as well as an "IF DOB cell IS BLANK then leave AGE cell BLANK" function (see below for what i have now):


[TABLE="class: grid, width: 800, align: center"]
<tbody>[TR]
[TD][/TD]
[TD="align: center"]A[/TD]
[TD="align: center"]B[/TD]
[/TR]
[TR]
[TD="align: center"]1[/TD]
[TD="align: center"]DOB[/TD]
[TD="align: center"]AGE[/TD]
[/TR]
[TR]
[TD="align: center"]2[/TD]
[TD][/TD]
[TD]= IF ( A2 = " " , " " , ( TODAY ( ) - A2 ) / 365.25 )[/TD]
[/TR]
[TR]
[TD="align: center"]3[/TD]
[TD="align: center"]28/08/1990[/TD]
[TD]29 (needs to be 28)[/TD]
[/TR]
</tbody>[/TABLE]


I would appreciate any assistance with this formula.

Thanks :)

Paul
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
Great! Thanks for the quick response :)

Are you able to add the (if A2 is BLANK leave B2 BLANK) to the above mentioned formula?

Thanks again.
 
Upvote 0

Forum statistics

Threads
1,223,889
Messages
6,175,223
Members
452,620
Latest member
dsubash

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
Back
Top