Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default need to do a calculation.

i need to do a calculation. Example:

I have a Figure i.e. 3 Years 10 Months and 28 Days
If I add 1one, 4 months and 4 days to it, normally the result will appear as
4 years, 14 months and 32 days. What I want is to have the result is 5
years, 2 months and 2 days.

Year Month Days
3 10 28
1 4 4
4 14 32
It should appear as

5 2 2


Anybody can help??

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default need to do a calculation.

As not all months have the same number of days, this isn't a calculation you
can do without defining your arithmetic.

I guess that rather than 5 2 2, you probably intended 5 3 2?
14 months would be 1 year and 2 months, and if you are taking each month as
30 days then your 32 days would be 1 month and 2 days.

If your 4 14 32 are in A4:C4, you could convert these with:
=A4+INT(B4/12)
=MOD(B4,12)+INT(C4/30)
=MOD(C4,30)
to give 5 3 2
--
David Biddulph

"Mushtaque" wrote in message
...
i need to do a calculation. Example:

I have a Figure i.e. 3 Years 10 Months and 28 Days
If I add 1one, 4 months and 4 days to it, normally the result will appear
as
4 years, 14 months and 32 days. What I want is to have the result is 5
years, 2 months and 2 days.

Year Month Days
3 10 28
1 4 4
4 14 32
It should appear as

5 2 2


Anybody can help??



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
calculation M.Ummer Malik Excel Worksheet Functions 11 July 5th 06 05:38 AM
Age calculation Clash Excel Discussion (Misc queries) 5 March 17th 06 07:16 PM
calculation tjh Excel Worksheet Functions 0 October 25th 05 11:48 PM
How do I use a rounded calculation result in another calculation? vnsrod2000 Excel Worksheet Functions 1 January 26th 05 10:11 PM
How do I use a rounded calculation result in another calculation? vnsrod2000 Excel Worksheet Functions 1 January 26th 05 09:36 PM


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

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

About Us

"It's about Microsoft Excel"