excel 2002 convert days to weeks and days

anon125

Active Member
Joined
Feb 14, 2008
Messages
392
174 days becomes 24.86 days.
how do I make it read 24 weeks and 6 days.
can it be all in one cell?
thanks all
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
Like this

Excel 2010
AB
117424 weeks and 6 days
Sheet2
Cell Formulas
RangeFormula
B1=INT(A1/7) & " weeks and " & MOD(A1,7) & " days"


i wonder what the ouput would be with 70 days? :) 10 weeks and 0 days :)
 
Upvote 0
Like this
Excel 2010
AB
24 weeks and 6 days

<tbody>
[TD="align: center"]1[/TD]
[TD="align: right"]174[/TD]

</tbody>
Sheet2

[TABLE="width: 85%"]
<tbody>[TR]
[TD]Worksheet Formulas[TABLE="width: 100%"]
<tbody>[TR="bgcolor: #DAE7F5"]
[TH="width: 10"]Cell[/TH]
[TH="align: left"]Formula[/TH]
[/TR]
[TR]
[TH="width: 10, bgcolor: #DAE7F5"]B1[/TH]
[TD="align: left"]=INT(A1/7) & " weeks and " & MOD(A1,7) & " days"[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]



i wonder what the ouput would be with 70 days? :) 10 weeks and 0 days :)

Thanks for your great help. worked in excel 2002,
and "You can be whatever you think you can" okay, how do I think of being a 25 again and healthy?
 
Upvote 0

Forum statistics

Threads
1,223,493
Messages
6,172,602
Members
452,466
Latest member
Lynlindsay

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