Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
pol pol is offline
external usenet poster
 
Posts: 129
Default Please help very urgent ageing by if condiction

I have three column in my excel sheet

1. Month
2. year
3. Amount
4. Period

In period column, I want to show
1. if the month is current month it should be shown as ' Curnet'
2. If the previous month it should be shown as '30'
3 if before previous month it should be 60
4 otherwise '120'

Please help




  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,646
Default Please help very urgent ageing by if condiction

Try this:
=CHOOSE(DATEDIF(DATE(B2,A2,1),TODAY(),"m")+1,"curr ent","30","60","120")

--
Regards!
Stefi



€˛pol€¯ ezt Ć*rta:

I have three column in my excel sheet

1. Month
2. year
3. Amount
4. Period

In period column, I want to show
1. if the month is current month it should be shown as ' Curnet'
2. If the previous month it should be shown as '30'
3 if before previous month it should be 60
4 otherwise '120'

Please help




  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 563
Default Please help very urgent ageing by if condiction

Let's say the first row has labels, so A2 holds the first data value for
month
in D2 use
=IF(MONTH(TODAY())=A3,"Current",IF(MONTH(TODAY())-A3=1,30,IF(MONTH(TODAY())-A3=2,60,120)))
This seems to do what you want but be warned: if month is current month
you get 120
Please give more exact info on what is really needed
best wishes
--
Bernard Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme

"pol" wrote in message
...
I have three column in my excel sheet

1. Month
2. year
3. Amount
4. Period

In period column, I want to show
1. if the month is current month it should be shown as ' Curnet'
2. If the previous month it should be shown as '30'
3 if before previous month it should be 60
4 otherwise '120'

Please 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
Ageing dates Donna[_2_] Excel Worksheet Functions 4 March 26th 10 04:28 PM
Pls help to find number of days for ageing report pol Excel Discussion (Misc queries) 3 December 2nd 09 12:16 PM
Problem Ageing a Report Godwin O. Excel Discussion (Misc queries) 3 November 4th 06 02:15 PM
Formula for ageing debt Barnie Excel Discussion (Misc queries) 1 January 6th 06 02:00 PM
Help Please- How to offset Date to correct column for Ageing Roger Swinderman Excel Discussion (Misc queries) 2 September 15th 05 10:40 AM


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

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"