Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 168
Default DATE & MONTH minus ?

Hello,
I have date in A_col and want minus month of B_col and want get result in
C_col

A B C
01-JUN-2006 -24 01- APR-2006

Thanks in advance.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 718
Default DATE & MONTH minus ?

01-JUN-2006 minus 24 month does not equal 01-APR-2006!

--
AP

"Tufail" a écrit dans le message de news:
...
Hello,
I have date in A_col and want minus month of B_col and want get result in
C_col

A B C
01-JUN-2006 -24 01- APR-2006

Thanks in advance.



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 695
Default DATE & MONTH minus ?

=DATE(YEAR(A1);MONTH(A1)+B1;DAY(A1))


"Tufail" skrev:

Hello,
I have date in A_col and want minus month of B_col and want get result in
C_col

A B C
01-JUN-2006 -24 01- APR-2006

Thanks in advance.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 695
Default DATE & MONTH minus ?

=DATE(YEAR(A1),MONTH(A1)+B1,DAY(A1))
  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 168
Default DATE & MONTH minus ?

I am really very sorry for typing error, anyway i got reply thanks.

"Ardus Petus" wrote:

01-JUN-2006 minus 24 month does not equal 01-APR-2006!

--
AP

"Tufail" a écrit dans le message de news:
...
Hello,
I have date in A_col and want minus month of B_col and want get result in
C_col

A B C
01-JUN-2006 -24 01- APR-2006

Thanks in advance.






  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 168
Default DATE & MONTH minus ?

really thank you very much for your prompt reply even i typed wronglly.

"excelent" wrote:

=DATE(YEAR(A1);MONTH(A1)+B1;DAY(A1))


"Tufail" skrev:

Hello,
I have date in A_col and want minus month of B_col and want get result in
C_col

A B C
01-JUN-2006 -24 01- APR-2006

Thanks in advance.

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
YTD value minus prev mth value = curent month - Rolling Report karenm Excel Worksheet Functions 0 September 27th 07 09:16 PM
Figuring Vacation Hrs. Earned using Current Date minus Hire Date Sharon Excel Worksheet Functions 6 May 3rd 07 10:32 PM
Date arithmetic: adding 1 month to prior end of month date manxman Excel Worksheet Functions 2 July 14th 06 09:29 PM
Sort month/date/year data using month and date only SMW820 Excel Discussion (Misc queries) 6 June 22nd 06 05:14 PM
Formula for current month minus one = Quarter number in a macro. Pank Excel Discussion (Misc queries) 11 June 22nd 05 02:47 PM


All times are GMT +1. The time now is 09:31 AM.

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"