Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Formula Help please
I need to create a recognition for a column. for example. i have a list of dates starting from May 1, 2006 all the way to December 3, 2010. and the dates repeat as well. example: 05/01/06 05/01/06 05/01/06 05/01/06 05/02/06 05/02/06 05/02/06 what I need is for the column beside the dates to show me a categorization of different time periods: for example. if 0 - 1 days have passed from the original date of May 1, 2006, then i need it to say O/N , if 2-7 days have passed since May 1, 2006, then i need it to say "2-7 days". if 8-15 days have passed, i need it to say "8-15 days", the tricky part is that I need to see whether dates fall in between the 16th day of the month and the Last day of the month, so for example, in May, between May 16 and May 31, then i need it to say "16 - End of Month". the problem is that months have different amounts of days and i cant figure out how to capture this part. after that i categorize the sections as Month 2 if the date falls in between June 1 June 30, then son on until for 3 months, 4-6 months, 7-12 months, 1 yr but less than 2 years, and 2 yrs. i cant use the IF function becuase it only has 7 entries i can use. Can anyone help me figure this, would i use vlookup, if and possibly other functions combined? or maybe a macro? I would appreciate all the help I get. best regards. SK -- sk81222 ------------------------------------------------------------------------ sk81222's Profile: http://www.excelforum.com/member.php...o&userid=35389 View this thread: http://www.excelforum.com/showthread...hreadid=551653 |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Formula Help please
See multiple replies in .Misc
Biff "sk81222" wrote in message ... I need to create a recognition for a column. for example. i have a list of dates starting from May 1, 2006 all the way to December 3, 2010. and the dates repeat as well. example: 05/01/06 05/01/06 05/01/06 05/01/06 05/02/06 05/02/06 05/02/06 what I need is for the column beside the dates to show me a categorization of different time periods: for example. if 0 - 1 days have passed from the original date of May 1, 2006, then i need it to say O/N , if 2-7 days have passed since May 1, 2006, then i need it to say "2-7 days". if 8-15 days have passed, i need it to say "8-15 days", the tricky part is that I need to see whether dates fall in between the 16th day of the month and the Last day of the month, so for example, in May, between May 16 and May 31, then i need it to say "16 - End of Month". the problem is that months have different amounts of days and i cant figure out how to capture this part. after that i categorize the sections as Month 2 if the date falls in between June 1 June 30, then son on until for 3 months, 4-6 months, 7-12 months, 1 yr but less than 2 years, and 2 yrs. i cant use the IF function becuase it only has 7 entries i can use. Can anyone help me figure this, would i use vlookup, if and possibly other functions combined? or maybe a macro? I would appreciate all the help I get. best regards. SK -- sk81222 ------------------------------------------------------------------------ sk81222's Profile: http://www.excelforum.com/member.php...o&userid=35389 View this thread: http://www.excelforum.com/showthread...hreadid=551653 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Match then lookup | Excel Worksheet Functions | |||
Formula Problem - interrupted by #VALUE! in other cells!? | Excel Worksheet Functions | |||
Formula checking multiple worksheets | Excel Worksheet Functions | |||
Creating a check mark box | Setting up and Configuration of Excel | |||
Match / Vlookup within an Array formula | Excel Discussion (Misc queries) |