Calculating gestational age at time of pregnancy test from date of birth and gestational age at time of birth

KristyK

New Member
Joined
Mar 30, 2019
Messages
3
Hi All,

I am hoping someone can help me design a formula for my excel project. THANKS in advance!

I am required to calculate the gestational age of a baby (in weeks and days) at a particular point in the pregnancy and also after birth. I have the date of birth of the baby and the gestational age on the day of birth.

Example -
  • Date of birth - 20/03/2015
  • Gestational age at time of birth - 37+6 weeks
  • Date of maternal test during pregnancy - 13/03/2015
  • Gestational age at time of maternal test during pregnancy - ??x (answer would be 36+6 weeks)
  • Date of baby's test after birth - 30/04/2015
  • Gestational age at time of baby's test after birth - ??y (answer would be 43+5 weeks)

Please note that the gestational age needs to be in weeks and days out of 7 (ie 36+7 actually equals 37+0 weeks)

I really appreciate any help.
Thanks again,
Kristy.
 

Some videos you may like

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).

etaf

Well-known Member
Joined
Oct 24, 2012
Messages
4,413
Office Version
  1. 365
Platform
  1. MacOS
i have used a few helper columns
to calculate some key days
Helper
Mert G AgeBirth G Age G birth daysmat. test daysBirth test Days
741265258306

<colgroup><col span="4"><col span="2"></colgroup><tbody>
</tbody>

then used
=INT((M3/7))&"+"&(MOD(M3,7))

shame i cannot use any tools that work on my Mac ( i have posted about this in past)
so here is a link to a dropbox file
https://www.dropbox.com/s/ps1xtn4y50hvqeg/Gstational_etaf.xlsx?dl=0
 

shg

MrExcel MVP
Joined
May 7, 2008
Messages
21,782
Office Version
  1. 2010
Platform
  1. Windows
A​
B​
C​
D​
1​
Event
Date
GA
2​
Birth
20 Mar 2015​
37.6​
C2: Input
3​
Test 1
13 Mar 2015​
36.6​
C3: =DOLLARFR((DOLLARDE(C$2, 7) * 7 - B$2 + B3) / 7, 7)
4​
Test 2
30 Apr 2015​
43.5​
 
Last edited:

KristyK

New Member
Joined
Mar 30, 2019
Messages
3
Thanks shg,

Formula works well but do you know how to copy the formula down the column to automatically change to correspond the number after the "$" row you are working on? It changes the number in B3 automatically but not the ones after the $ symbols. Sorry I'm not very proficient with the workings of excel!

PS. I have everything on the same row.

Thanks in advance!
 

Watch MrExcel Video

Forum statistics

Threads
1,123,154
Messages
5,600,024
Members
414,356
Latest member
death20

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