LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.newusers
pol pol is offline
external usenet poster
 
Posts: 129
Default To find due days of debtors

Hi all,

I am using office2007. I have an excel sheet with the following colimn
invoicedate amount period.

How I can give a formula i n period column as
if current month - month(invoicedate) = 0 then period='Current'
if current month - month(invoicedate) = 1 then period='30'
if current month - month(invoicedate) = 2 then period='60'
if current month - month(invoicedate) = 3 then period='90'
else
period='120'

it should taken care 30 or 31 or 28 and 29 days for correspodning month.

Please help have any idea
With thanks
Pol




 
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
Find days in a Month Jman Excel Discussion (Misc queries) 3 October 13th 08 07:00 AM
Find the First of the Month after 60 days NeSchw6G Excel Worksheet Functions 11 August 23rd 08 05:46 PM
find the beginning and end days of a project liu New Users to Excel 5 April 9th 08 12:44 AM
how would i use excel to find the number of days------- joe hunter[_2_] Excel Discussion (Misc queries) 2 June 7th 07 02:43 AM
how to find nos. of each day in certain nos. of days? Khan Excel Discussion (Misc queries) 2 September 17th 06 07:57 PM


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