Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 130
Default Total days worked /20 to get actual months/days

We have to report actual days worked by months/day. A work month = 20 days.
How do I take total days worked of say 76 and get the answer to show 3 months
16 days?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,420
Default Total days worked /20 to get actual months/days

=INT(A2/20)&" months "&MOD(A2,20)&" days"

--
__________________________________
HTH

Bob

"Cindy" wrote in message
...
We have to report actual days worked by months/day. A work month = 20
days.
How do I take total days worked of say 76 and get the answer to show 3
months
16 days?



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Total days worked /20 to get actual months/days

Try this...

A1 = 76

For the months:

=INT(A1/20)

For the days:

=MOD(A1,20)

If you want it combined into a single expression (all on one line):

=INT(A1/20)&" Month"&IF(INT(A1/20)<1,"s","")
&" "&MOD(A1,20)&" Day"&IF(MOD(A1,20)<1,"s","")

--
Biff
Microsoft Excel MVP


"Cindy" wrote in message
...
We have to report actual days worked by months/day. A work month = 20
days.
How do I take total days worked of say 76 and get the answer to show 3
months
16 days?



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default Total days worked /20 to get actual months/days

Days worked in A1

=INT(A1/20)&" months "&20*((A1/20)-INT(A1/20))&" days"

Entered in B1


Gord Dibben MS Excel MVP


On Thu, 22 Oct 2009 14:20:01 -0700, Cindy
wrote:

We have to report actual days worked by months/day. A work month = 20 days.
How do I take total days worked of say 76 and get the answer to show 3 months
16 days?


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
CALCULATE THE ACTUAL AGE IN TERMS OF YEARS, MONTHS AND DAYS jr Excel Worksheet Functions 2 January 23rd 12 05:19 PM
Employee days worked (-Holidays, -weekends, Snow Days, etc) Denise Excel Discussion (Misc queries) 2 December 31st 08 04:37 PM
FORMULA, DAYS WORKED TO VACATION DAYS John5835 Excel Worksheet Functions 2 July 31st 08 09:28 PM
how do i convert a number of days to years, months & days? SafetyLen Excel Discussion (Misc queries) 1 August 23rd 07 01:34 AM
i have two days and i want the difference in days, months, year maja Excel Worksheet Functions 7 April 22nd 06 01:14 AM


All times are GMT +1. The time now is 05:01 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"