A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Excel formula with date constraints



 
 
Thread Tools Display Modes
  #1  
Old January 28th, 2005, 01:51 PM
Warrior Pope
external usenet poster
 
Posts: n/a
Default Excel formula with date constraints

Could use some help with the following:

I created a spreadsheet to track payments made to contractors. In this
spreadsheet I have a simple formula that tells when the payment has to be
made based on the date it was rec'd from the contractor and adding on the
payment terms.

Now what I have to do is add in some date constraints. Our paying office
only processes payments between certain windows during the month. Lets say
that for this month the payment window closes Jan 27th to Feb 2nd. What I
need to do is if after someone enters the date the payment is rec'd and the
14 days is added for the payment terms, should the date the payment is made
end up falling within the payment black-out period (Jan 27th to Feb 2nd), I
then need excel to adjust the must be paid by date to 3 days prior to the
black-out period.

Hope this makes sense....I've tried a whole bunch of different things and
have looked online at several sites with no luck. Would SERIOUSLY appreciate
it if someone can help me!

Thanks!

  #2  
Old January 28th, 2005, 02:10 PM
Jason Morin
external usenet poster
 
Posts: n/a
Default

Try:

=IF(AND(A1+14=$E$1,A1+14=$F$1),$E$1-3,A1+14)

where E1 is the start of the blackout period, F1 is the
end, and A1 is the date received.

The only thing to note is that a receive date of 1/11/04
and 1/12/04 generates a payment date of 1/25/04 and
1/26/04, both less than 3 days of the start of the
blackout.

HTH
Jason
Atlanta, GA

-----Original Message-----
Could use some help with the following:

I created a spreadsheet to track payments made to

contractors. In this
spreadsheet I have a simple formula that tells when the

payment has to be
made based on the date it was rec'd from the contractor

and adding on the
payment terms.

Now what I have to do is add in some date constraints.

Our paying office
only processes payments between certain windows during

the month. Lets say
that for this month the payment window closes Jan 27th

to Feb 2nd. What I
need to do is if after someone enters the date the

payment is rec'd and the
14 days is added for the payment terms, should the date

the payment is made
end up falling within the payment black-out period (Jan

27th to Feb 2nd), I
then need excel to adjust the must be paid by date to 3

days prior to the
black-out period.

Hope this makes sense....I've tried a whole bunch of

different things and
have looked online at several sites with no luck. Would

SERIOUSLY appreciate
it if someone can help me!

Thanks!

.

  #3  
Old January 28th, 2005, 02:41 PM
Warrior Pope
external usenet poster
 
Posts: n/a
Default

This is the message I get:

cannot calculate formula. Cell references in the formula refer to the
formulas results, creating a circular reference.

If possible, can you give me an email address, I can send the spreadsheet to
you and you can take a look at it because maybe I am not exactly explaining
everything correctly???

"Jason Morin" wrote:

Try:

=IF(AND(A1+14=$E$1,A1+14=$F$1),$E$1-3,A1+14)

where E1 is the start of the blackout period, F1 is the
end, and A1 is the date received.

The only thing to note is that a receive date of 1/11/04
and 1/12/04 generates a payment date of 1/25/04 and
1/26/04, both less than 3 days of the start of the
blackout.

HTH
Jason
Atlanta, GA

-----Original Message-----
Could use some help with the following:

I created a spreadsheet to track payments made to

contractors. In this
spreadsheet I have a simple formula that tells when the

payment has to be
made based on the date it was rec'd from the contractor

and adding on the
payment terms.

Now what I have to do is add in some date constraints.

Our paying office
only processes payments between certain windows during

the month. Lets say
that for this month the payment window closes Jan 27th

to Feb 2nd. What I
need to do is if after someone enters the date the

payment is rec'd and the
14 days is added for the payment terms, should the date

the payment is made
end up falling within the payment black-out period (Jan

27th to Feb 2nd), I
then need excel to adjust the must be paid by date to 3

days prior to the
black-out period.

Hope this makes sense....I've tried a whole bunch of

different things and
have looked online at several sites with no luck. Would

SERIOUSLY appreciate
it if someone can help me!

Thanks!

.


  #4  
Old January 28th, 2005, 03:08 PM
Jason Morin
external usenet poster
 
Posts: n/a
Default

Go ahead and send it. Replace OPPOSITEOFCOLD with you
know what.

Jaosn

-----Original Message-----
This is the message I get:

cannot calculate formula. Cell references in the

formula refer to the
formulas results, creating a circular reference.

If possible, can you give me an email address, I can

send the spreadsheet to
you and you can take a look at it because maybe I am not

exactly explaining
everything correctly???

"Jason Morin" wrote:

Try:

=IF(AND(A1+14=$E$1,A1+14=$F$1),$E$1-3,A1+14)

where E1 is the start of the blackout period, F1 is

the
end, and A1 is the date received.

The only thing to note is that a receive date of

1/11/04
and 1/12/04 generates a payment date of 1/25/04 and
1/26/04, both less than 3 days of the start of the
blackout.

HTH
Jason
Atlanta, GA

-----Original Message-----
Could use some help with the following:

I created a spreadsheet to track payments made to

contractors. In this
spreadsheet I have a simple formula that tells when

the
payment has to be
made based on the date it was rec'd from the

contractor
and adding on the
payment terms.

Now what I have to do is add in some date

constraints.
Our paying office
only processes payments between certain windows

during
the month. Lets say
that for this month the payment window closes Jan

27th
to Feb 2nd. What I
need to do is if after someone enters the date the

payment is rec'd and the
14 days is added for the payment terms, should the

date
the payment is made
end up falling within the payment black-out period

(Jan
27th to Feb 2nd), I
then need excel to adjust the must be paid by date to

3
days prior to the
black-out period.

Hope this makes sense....I've tried a whole bunch of

different things and
have looked online at several sites with no luck.

Would
SERIOUSLY appreciate
it if someone can help me!

Thanks!

.


.

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
how do i create an excel formula to work out a date x amount of w. Ska General Discussion 2 October 12th, 2004 01:55 PM
Making Excel generate Access-Like Reports VJ7777 General Discussion 15 September 12th, 2004 05:48 AM
QDE (Quick Date Entry) Norman Harker General Discussion 3 September 3rd, 2004 08:00 AM
Offset formula to add range depending on date Todd Worksheet Functions 3 November 22nd, 2003 06:12 PM


All times are GMT +1. The time now is 11:38 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.