#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default Date calculations

Hi,

I have a 5 colum spreadsheet i need some advice with.

Colum A - Is the date account sent
Colum B - Is the date account due by
Colum c - Is the date account payment is recieved
Colum d - Is the difference between A & C

In Colum E i need a rule to highligh a cell once it has past its overdue
date which is C .. I am more than happy to email the file over for you to
have a play as i am really stumpted! My email addy is

Hope you can help!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9,101
Default Date calculations

This is the formula I used

=IF(AND(NOW()B8,C8=""),"Over Due","")

I assume if the payment is made late You don't want want anything displayed.
You just asked if it is overdue.

The formula below displays Overdue if the paymentt wasn't made and Late if
the payment was made Late

=IF(AND(NOW()B8,C8=""),"Overdue",IF(C8B8,"Late", ""))

"BrettPotts" wrote:

Hi,

I have a 5 colum spreadsheet i need some advice with.

Colum A - Is the date account sent
Colum B - Is the date account due by
Colum c - Is the date account payment is recieved
Colum d - Is the difference between A & C

In Colum E i need a rule to highligh a cell once it has past its overdue
date which is C .. I am more than happy to email the file over for you to
have a play as i am really stumpted! My email addy is

Hope you can help!

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default Date calculations

Thanks Joel - the only issue i have now is when the payment is made on the
day of invoice that is doesnt show as paid or overdue??

Brett

"Joel" wrote:

This is the formula I used

=IF(AND(NOW()B8,C8=""),"Over Due","")

I assume if the payment is made late You don't want want anything displayed.
You just asked if it is overdue.

The formula below displays Overdue if the paymentt wasn't made and Late if
the payment was made Late

=IF(AND(NOW()B8,C8=""),"Overdue",IF(C8B8,"Late", ""))

"BrettPotts" wrote:

Hi,

I have a 5 colum spreadsheet i need some advice with.

Colum A - Is the date account sent
Colum B - Is the date account due by
Colum c - Is the date account payment is recieved
Colum d - Is the difference between A & C

In Colum E i need a rule to highligh a cell once it has past its overdue
date which is C .. I am more than happy to email the file over for you to
have a play as i am really stumpted! My email addy is

Hope you can help!

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

This should work. If leaves a blank if nothing is paid before the due date.
what do you want done if it is only a partial payment?

=IF(AND(NOW()B8,C8=""),"Overdue",IF(C8B8,"Late", if(C8<"","Paid",""))


"BrettPotts" wrote:

Thanks Joel - the only issue i have now is when the payment is made on the
day of invoice that is doesnt show as paid or overdue??

Brett

"Joel" wrote:

This is the formula I used

=IF(AND(NOW()B8,C8=""),"Over Due","")

I assume if the payment is made late You don't want want anything displayed.
You just asked if it is overdue.

The formula below displays Overdue if the paymentt wasn't made and Late if
the payment was made Late

=IF(AND(NOW()B8,C8=""),"Overdue",IF(C8B8,"Late", ""))

"BrettPotts" wrote:

Hi,

I have a 5 colum spreadsheet i need some advice with.

Colum A - Is the date account sent
Colum B - Is the date account due by
Colum c - Is the date account payment is recieved
Colum d - Is the difference between A & C

In Colum E i need a rule to highligh a cell once it has past its overdue
date which is C .. I am more than happy to email the file over for you to
have a play as i am really stumpted! My email addy is

Hope you can help!

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default Date calculations

This formula worked a treat - Thanks Joel. How are you with SORTINg of data.
Basically want to add a button that when you click it will sort data in data
order as i often add a row here or there and sometimes my spreadsheet doesnt
flow in date order and i than need to manually sort it - is there a way it
can happen with one click?

"Joel" wrote:

This should work. If leaves a blank if nothing is paid before the due date.
what do you want done if it is only a partial payment?

=IF(AND(NOW()B8,C8=""),"Overdue",IF(C8B8,"Late", if(C8<"","Paid",""))


"BrettPotts" wrote:

Thanks Joel - the only issue i have now is when the payment is made on the
day of invoice that is doesnt show as paid or overdue??

Brett

"Joel" wrote:

This is the formula I used

=IF(AND(NOW()B8,C8=""),"Over Due","")

I assume if the payment is made late You don't want want anything displayed.
You just asked if it is overdue.

The formula below displays Overdue if the paymentt wasn't made and Late if
the payment was made Late

=IF(AND(NOW()B8,C8=""),"Overdue",IF(C8B8,"Late", ""))

"BrettPotts" wrote:

Hi,

I have a 5 colum spreadsheet i need some advice with.

Colum A - Is the date account sent
Colum B - Is the date account due by
Colum c - Is the date account payment is recieved
Colum d - Is the difference between A & C

In Colum E i need a rule to highligh a cell once it has past its overdue
date which is C .. I am more than happy to email the file over for you to
have a play as i am really stumpted! My email addy is

Hope you can help!



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9,101
Default Date calculations

Try this code. It will sort every column on the worksheet

SortCol = "A"
ActiveSheet.Cells.Sort _
Key1:=Range(SortCol & 1), _
Order1:=xlAscending, _
Header:=xlGuess

"BrettPotts" wrote:

This formula worked a treat - Thanks Joel. How are you with SORTINg of data.
Basically want to add a button that when you click it will sort data in data
order as i often add a row here or there and sometimes my spreadsheet doesnt
flow in date order and i than need to manually sort it - is there a way it
can happen with one click?

"Joel" wrote:

This should work. If leaves a blank if nothing is paid before the due date.
what do you want done if it is only a partial payment?

=IF(AND(NOW()B8,C8=""),"Overdue",IF(C8B8,"Late", if(C8<"","Paid",""))


"BrettPotts" wrote:

Thanks Joel - the only issue i have now is when the payment is made on the
day of invoice that is doesnt show as paid or overdue??

Brett

"Joel" wrote:

This is the formula I used

=IF(AND(NOW()B8,C8=""),"Over Due","")

I assume if the payment is made late You don't want want anything displayed.
You just asked if it is overdue.

The formula below displays Overdue if the paymentt wasn't made and Late if
the payment was made Late

=IF(AND(NOW()B8,C8=""),"Overdue",IF(C8B8,"Late", ""))

"BrettPotts" wrote:

Hi,

I have a 5 colum spreadsheet i need some advice with.

Colum A - Is the date account sent
Colum B - Is the date account due by
Colum c - Is the date account payment is recieved
Colum d - Is the difference between A & C

In Colum E i need a rule to highligh a cell once it has past its overdue
date which is C .. I am more than happy to email the file over for you to
have a play as i am really stumpted! My email addy is

Hope you can help!

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
Date Calculations before date entered Ma2Weir Excel Discussion (Misc queries) 8 February 1st 07 03:34 AM
Date calculations TJAC Excel Discussion (Misc queries) 4 May 24th 06 05:36 PM
Date calculations and sum MIchel Khennafi Excel Worksheet Functions 0 May 10th 06 09:32 PM
date calculations TUNGANA KURMA RAJU Excel Discussion (Misc queries) 11 October 11th 05 12:55 PM
Date Calculations Jinglepaws New Users to Excel 0 August 6th 05 01:28 AM


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