Gestational weeks into days

mahu2

New Member
Joined
Feb 23, 2018
Messages
2
Help is wanted how to convert gestational weeks ( for example 38+3) into Days ( 269 Days) with a simple formula?

Thanks in advance
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
mahu2 welcome to the forum

you need to give a sample data for us to have a clear idea how your cell value looks like.

Assuming your data in weeks (38) is in cell A2, and the days (3) is in B2, then simple formula will be
=A2*7+B2
 
Upvote 0
mahu2 welcome to the forum

you need to give a sample data for us to have a clear idea how your cell value looks like.

Assuming your data in weeks (38) is in cell A2, and the days (3) is in B2, then simple formula will be
=A2*7+B2

Thanks. The problem is that the data is in the form 38+3 or 31+5 or 42+1 etc in one cell. If I could easily split it into two cells I can use your formula?
 
Upvote 0
Try:

=IF(ISNUMBER(FIND("+",A1)),LEFT(A1,FIND("+",A1)-1)*7+MID(A1,FIND("+",A1)+1,2),A1*7)
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,337
Members
452,637
Latest member
Ezio2866

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