#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 29
Default Help with dates

I am using Excel 2007 for generating purchase orders. The shipping
date from the vendor needs to be 7 days prior to the shipping date to
the customer. The customer's shipping date is in Order! E4. Can
anybody help me with the formula which will automatically look at the
shipping date in Order! E4, subtract 7 days, then put the new date in
the desired cell? Your help is greatly appreciated. Thank you.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,091
Default Help with dates

Dates are numbers in Excel. To obtain a date 7 days earlier, it's just
=Order!E4-7

Tyro

wrote in message
...
I am using Excel 2007 for generating purchase orders. The shipping
date from the vendor needs to be 7 days prior to the shipping date to
the customer. The customer's shipping date is in Order! E4. Can
anybody help me with the formula which will automatically look at the
shipping date in Order! E4, subtract 7 days, then put the new date in
the desired cell? Your help is greatly appreciated. Thank you.



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,091
Default Help with dates

And of course, format the cell with the formula as a date.

Tyro

"Tyro" wrote in message
...
Dates are numbers in Excel. To obtain a date 7 days earlier, it's just
=Order!E4-7

Tyro

wrote in message
...
I am using Excel 2007 for generating purchase orders. The shipping
date from the vendor needs to be 7 days prior to the shipping date to
the customer. The customer's shipping date is in Order! E4. Can
anybody help me with the formula which will automatically look at the
shipping date in Order! E4, subtract 7 days, then put the new date in
the desired cell? Your help is greatly appreciated. Thank you.





  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9,101
Default Help with dates

You need to subtract 7 from the date and make sure the destination cell is
formated as a date

=Order!E4-7

" wrote:

I am using Excel 2007 for generating purchase orders. The shipping
date from the vendor needs to be 7 days prior to the shipping date to
the customer. The customer's shipping date is in Order! E4. Can
anybody help me with the formula which will automatically look at the
shipping date in Order! E4, subtract 7 days, then put the new date in
the desired cell? Your help is greatly appreciated. Thank you.

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,091
Default Help with dates

If you need to deal with workdays, excluding weekends and holidays, you can
use the WORKDAY function. If your date is in A1 then =WORKDAY(A1,-7)
returns the date of the workday 7 days earlier. The WORKDAY function
requires installation of the Analysis Toolpak in versions of Excel 2007. It
is present in Excel 2007.

Tyro

"Tyro" wrote in message
...
And of course, format the cell with the formula as a date.

Tyro

"Tyro" wrote in message
...
Dates are numbers in Excel. To obtain a date 7 days earlier, it's just
=Order!E4-7

Tyro

wrote in message
...
I am using Excel 2007 for generating purchase orders. The shipping
date from the vendor needs to be 7 days prior to the shipping date to
the customer. The customer's shipping date is in Order! E4. Can
anybody help me with the formula which will automatically look at the
shipping date in Order! E4, subtract 7 days, then put the new date in
the desired cell? Your help is greatly appreciated. Thank you.









  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 29
Default Help with dates

On Feb 19, 3:07*pm, "Tyro" wrote:
If you need to deal with workdays, excluding weekends and holidays, you can
use the WORKDAY function. *If your date is in A1 then =WORKDAY(A1,-7)
returns the date of the workday 7 days earlier. The WORKDAY function
requires installation of the Analysis Toolpak in versions of Excel 2007. It
is present in Excel 2007.

Tyro

"Tyro" wrote in message

...



And of course, format the cell with the formula as a date.


Tyro


"Tyro" wrote in message
...
Dates are numbers in Excel. To obtain a date 7 days earlier, it's just
=Order!E4-7


Tyro


wrote in message
....
I am using Excel 2007 for generating purchase orders. *The shipping
date from the vendor needs to be 7 days prior to the shipping date to
the customer. *The customer's shipping date is in Order! E4. *Can
anybody help me with the formula which will automatically look at the
shipping date in Order! E4, subtract 7 days, then put the new date in
the desired cell? *Your help is greatly appreciated. *Thank you.- Hide quoted text -


- Show quoted text -


Worked like a charm!!!!! Thank you so much.... I didn't know about
the Workday function.... AWESOME!!! Again, thank you!!!
  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,091
Default Help with dates

To exclude holidays from the computation, you have to provide the dates of
the holidays. See help on WORKDAY

Tyro

wrote in message
...
On Feb 19, 3:07 pm, "Tyro" wrote:
If you need to deal with workdays, excluding weekends and holidays, you
can
use the WORKDAY function. If your date is in A1 then =WORKDAY(A1,-7)
returns the date of the workday 7 days earlier. The WORKDAY function
requires installation of the Analysis Toolpak in versions of Excel 2007.
It
is present in Excel 2007.

Tyro


Worked like a charm!!!!! Thank you so much.... I didn't know about
the Workday function.... AWESOME!!! Again, thank you!!!


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
how do I sort a column of random dates into Consecutive dates Rob Gibson Excel Worksheet Functions 2 June 12th 07 05:10 AM
Identifying unique dates in a range of cells containing dates... cdavidson Excel Discussion (Misc queries) 4 October 13th 06 03:30 PM
Identifying unique dates within a range of cells containing dates cdavidson Excel Discussion (Misc queries) 0 October 12th 06 08:19 PM
need to convert list of dates to count no. of dates by week neowok Excel Worksheet Functions 13 January 30th 06 03:54 PM
Charting data against dates where dates are not at fixed intervals PK Charts and Charting in Excel 4 June 16th 05 05:08 AM


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