Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 23
Default Help with formula

I have a formula I use to calculate a date that is 21 days after a given
date.

=WORKDAY(C3,21)+7-WEEKDAY(WORKDAY(C3,21)-6)

This would return a date 21 days from a given date plus the Friday after 21
days. (not sure this made sense)

Anyway, I need to modify the formula to return a date that is based on Net
30 from a given date.

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,494
Default Help with formula

what's wrong with =c3+30?
that's 30 days from the date in c3.

unless you have some other criteria.

--


Gary


"DonV" wrote in message
...
I have a formula I use to calculate a date that is 21 days after a given date.

=WORKDAY(C3,21)+7-WEEKDAY(WORKDAY(C3,21)-6)

This would return a date 21 days from a given date plus the Friday after 21
days. (not sure this made sense)

Anyway, I need to modify the formula to return a date that is based on Net 30
from a given date.



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 23
Default Help with formula

Well I tried that but the date it returns is not thirty days from the given
date.

This is what I tried, =WORKDAY(C3,30)-WEEKDAY(WORKDAY(C3,30))

The given date is 5/25/08 the date returned is 6/28/08, I can't figure out
why. I believe it should be 6/24/08.

"Gary Keramidas" <GKeramidasATmsn.com wrote in message
...
what's wrong with =c3+30?
that's 30 days from the date in c3.

unless you have some other criteria.

--


Gary


"DonV" wrote in message
...
I have a formula I use to calculate a date that is 21 days after a given
date.

=WORKDAY(C3,21)+7-WEEKDAY(WORKDAY(C3,21)-6)

This would return a date 21 days from a given date plus the Friday after
21 days. (not sure this made sense)

Anyway, I need to modify the formula to return a date that is based on
Net 30 from a given date.




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 23
Default Help with formula

Sorry I just realized what you said. I was thinking I needed the formula.

"Gary Keramidas" <GKeramidasATmsn.com wrote in message
...
what's wrong with =c3+30?
that's 30 days from the date in c3.

unless you have some other criteria.

--


Gary


"DonV" wrote in message
...
I have a formula I use to calculate a date that is 21 days after a given
date.

=WORKDAY(C3,21)+7-WEEKDAY(WORKDAY(C3,21)-6)

This would return a date 21 days from a given date plus the Friday after
21 days. (not sure this made sense)

Anyway, I need to modify the formula to return a date that is based on
Net 30 from a given date.




  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9,101
Default Help with formula

You sure you didn't type the # in the cell. I have the US version, there are
some differences in the international version that I'm not aware of.

Try putting this formula in the workbook and see if you get three zeroes

=TEXT(0,"#000")

"Gary Keramidas" wrote:

what's wrong with =c3+30?
that's 30 days from the date in c3.

unless you have some other criteria.

--


Gary


"DonV" wrote in message
...
I have a formula I use to calculate a date that is 21 days after a given date.

=WORKDAY(C3,21)+7-WEEKDAY(WORKDAY(C3,21)-6)

This would return a date 21 days from a given date plus the Friday after 21
days. (not sure this made sense)

Anyway, I need to modify the formula to return a date that is based on Net 30
from a given date.






  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,651
Default Help with formula

On Sat, 7 Jun 2008 22:20:19 -0700, "DonV" wrote:

I have a formula I use to calculate a date that is 21 days after a given
date.

=WORKDAY(C3,21)+7-WEEKDAY(WORKDAY(C3,21)-6)

This would return a date 21 days from a given date plus the Friday after 21
days. (not sure this made sense)

Anyway, I need to modify the formula to return a date that is based on Net
30 from a given date.


If you want a straight 30 days after your original date, then:

=C3+30

If you want to count 30 days, but then go to the next business day (e.g. if
c3+30 falls on a Sat, Sun or holiday) then use:

=WORKDAY(C3+29,1,holidays)

Where holidays is a reference to a list of holidays. It is optional so you
don't need to include it.
--ron
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
Regression Leverage Formula (Jerry W. Lewis or Mike Middleton)already have DFITS formula PJ[_3_] Excel Worksheet Functions 2 June 2nd 10 03:45 PM
Excel 2002 Formula: Urgent Conditional Formula Required Right Away - if possible blue[_2_] Excel Discussion (Misc queries) 2 July 11th 07 06:08 PM
Formula expected end of statement error, typing formula into cell as part of VBA macro [email protected] Excel Programming 1 July 20th 06 07:58 PM
Excel 2002 formula displayed not value formula option not checked Dean Excel Worksheet Functions 1 February 28th 06 02:31 PM
Commenting custom formula fields/formula on formula editor Muxer Excel Programming 2 July 24th 03 01:02 AM


All times are GMT +1. The time now is 08:43 AM.

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"