Hi Antony, See if the attached contains what you need.
For the catagory column, I've used a nested IF formula. But you could also have a separate table and use VLOOKUP. Columns A & B are formatted as Date, while Column C is formatted as Number. You will have to fill-down the formulas in Columns C and D according to how much data you have. Regards - Dave. > Date: Fri, 20 Aug 2010 23:06:36 -0700 > Subject: $$Excel-Macros$$ Ageing of data > From: tonycrazy...@gmail.com > To: excel-macros@googlegroups.com > > Hi Experts, > > Could anyone help me to have difference between two dates into > different categories. > For eg: > > Start date End date Difference Category > 6/6/2010 9/6/2010 92 4 > > Categories Values > 0-30 1 > 31-60 2 > 61-90 3 > 91-120 4 > >120 5 > > > Thanks in advance, > Antony > > -- > ---------------------------------------------------------------------------------- > Some important links for excel users: > 1. Follow us on TWITTER for tips tricks and links : > http://twitter.com/exceldailytip > 2. Join our LinkedIN group @ http://www.linkedin.com/groups?gid=1871310 > 3. Excel tutorials at http://www.excel-macros.blogspot.com > 4. Learn VBA Macros at http://www.quickvba.blogspot.com > 5. Excel Tips and Tricks at http://exceldailytip.blogspot.com > > To post to this group, send email to excel-macros@googlegroups.com > > <><><><><><><><><><><><><><><><><><><><><><> > HELP US GROW !! > > We reach over 7000 subscribers worldwide and receive many nice notes about > the learning and support from the group.Let friends and co-workers know they > can subscribe to group at > http://groups.google.com/group/excel-macros/subscribe -- ---------------------------------------------------------------------------------- Some important links for excel users: 1. Follow us on TWITTER for tips tricks and links : http://twitter.com/exceldailytip 2. Join our LinkedIN group @ http://www.linkedin.com/groups?gid=1871310 3. Excel tutorials at http://www.excel-macros.blogspot.com 4. Learn VBA Macros at http://www.quickvba.blogspot.com 5. Excel Tips and Tricks at http://exceldailytip.blogspot.com To post to this group, send email to excel-macros@googlegroups.com <><><><><><><><><><><><><><><><><><><><><><> HELP US GROW !! We reach over 7000 subscribers worldwide and receive many nice notes about the learning and support from the group.Let friends and co-workers know they can subscribe to group at http://groups.google.com/group/excel-macros/subscribe
Dates and Catagories.xls
Description: Binary data