Calculating Gestation age today from a past date.

asimrehman

New Member
Joined
Aug 4, 2022
Messages
2
Office Version
  1. 2010
Platform
  1. Windows
Hi, I was wondering if somebody can help me.
If we have gestation age in weeks and days from a past USG scan, how can we calculate today's gestation age eg
A1 is date of last US scan eg July 1, 2022.
B1 Gestational age on that that was 16 weeks 4 days.
C1 expected gestational age today in weeks and days.

Thanx in advance.
 

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.
Hi, perhaps you can adapt something like this to your actual layout..

If not, try to describe what layout is and give a few examples along with the expected results for those examples.

Book1
ABC
1Scan dateAge
201-Jul-2022Weeks16
3Days4
4
5TodayExpected Age
604/08/2022Weeks21
7Days3
Sheet1
Cell Formulas
RangeFormula
A6A6=TODAY()
C6C6=INT(((C2*7)+C3+(A6-A2))/7)
C7C7=MOD((C2*7)+C3+(A6-A2),7)
 
Upvote 0
Try this

Book1
ABC
11-Jul-2216 weeks 4 days21 weeks 3 days
210-Jul-2216 weeks 4 days20 weeks 1 days
Sheet2
Cell Formulas
RangeFormula
C1:C2C1=SUBSTITUTE(TEXT(DOLLARFR((TODAY()-A1+LEFT(B1,FIND(" ",B1)-1)*7+MID(B1,FIND("day",B1)-2,1))/7,7),"0.0"),"."," weeks ")&" days"
 
Upvote 0
Try this

Book1
ABC
11-Jul-2216 weeks 4 days21 weeks 3 days
210-Jul-2216 weeks 4 days20 weeks 1 days
Sheet2
Cell Formulas
RangeFormula
C1:C2C1=SUBSTITUTE(TEXT(DOLLARFR((TODAY()-A1+LEFT(B1,FIND(" ",B1)-1)*7+MID(B1,FIND("day",B1)-2,1))/7,7),"0.0"),"."," weeks ")&" days"
Thanx it is working but if you can help me with formula to make the format given below. where in column B 16+4 means 16 weeks 4 days.
Untitled.jpg
 
Upvote 0
Book1
ABC
11-Jul-202216+421 weeks 4 days
210-Jul-202216+420 weeks 2 days
Sheet1
Cell Formulas
RangeFormula
C1:C2C1=SUBSTITUTE(TEXT(DOLLARFR((TODAY()-A1+LEFT(B1,FIND("+",B1)-1)*7+REPLACE(B1,1,FIND("+",B1),""))/7,7),"0.0"),"."," weeks ")&" days"
 
Upvote 0
Solution

Forum statistics

Threads
1,223,098
Messages
6,170,106
Members
452,302
Latest member
TaMere

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