P
pol
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
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