Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 55
Default Formula combination

Hi,

Im trying to convert a year (01/01/2036) into months (333) I have two
formulas I need to use due to the way our company software calculates the
dates

=DATEDIF(AA8-DAY(AA8)+1,Q8,"m")

=DATE(YEAR(P8),MONTH(P8)-1,DAY(P8))

Is there a way I can combine both formulas in one? I have both separete. The
last formula I have in a hidden cell, but I'm having issues with the formula
repeating into other cells unless I copy the last formula over again.

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,346
Default Formula combination

Hi,

There really isn't enough info and I'm not sure which cell the second
formula is in, but

=DATEDIF(AA8-DAY(AA8)+1,DATE(YEAR(P8),MONTH(P8)-1,DAY(P8)),"m")

If this helps, please click Yes

Cheers,
Shane Devenshire

"Oscar" wrote:

Hi,

Im trying to convert a year (01/01/2036) into months (333) I have two
formulas I need to use due to the way our company software calculates the
dates

=DATEDIF(AA8-DAY(AA8)+1,Q8,"m")

=DATE(YEAR(P8),MONTH(P8)-1,DAY(P8))

Is there a way I can combine both formulas in one? I have both separete. The
last formula I have in a hidden cell, but I'm having issues with the formula
repeating into other cells unless I copy the last formula over again.

Thanks

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
COMBINATION FORMULA Johnny Excel Discussion (Misc queries) 5 September 22nd 06 08:41 PM
COMBINATION FORMULA Johnny Excel Discussion (Misc queries) 2 September 21st 06 07:26 PM
Formula Combination Randy Excel Worksheet Functions 7 April 6th 06 12:58 AM
Sum and If combination formula Kim via OfficeKB.com Excel Worksheet Functions 2 March 1st 05 09:55 PM
Help with combination formula jessicawalton Excel Discussion (Misc queries) 2 January 14th 05 08:59 PM


All times are GMT +1. The time now is 11:38 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"