Solution attached On Tue, Apr 21, 2009 at 9:26 PM, Geo <gco...@gmail.com> wrote:
> > I have data like this: > > part# location > 1 1B-1-A-01 > 5 1B-1-A-01 > 6 1B-1-A-01 > 14 1B-1-A-02 > 12 1B-1-A-02 > 15 1B-1-A-03 > 83 1B-1-A-03 > 16 1B-1-A-03 > 22 1B-1-A-03 > > In column C, I would like to see this: > > part# location Start/End > 1 1B-1-A-01 start > 5 1B-1-A-01 > 6 1B-1-A-01 end > 14 1B-1-A-02 start > 12 1B-1-A-02 end > 15 1B-1-A-03 start > 83 1B-1-A-03 > 16 1B-1-A-03 > 22 1B-1-A-03 end > > So for each beginning of the location, I need C to say 'start' and at > the end of this group of data, I'd like it to say 'end'. > > Thanks ofr your help. > > > > > -- Thanks & Regards, Harmeet Singh --~--~---------~--~----~------------~-------~--~----~ ------------------------------------------------------------------------------------- Some important links for excel users: 1. Excel and VBA Tutorials(Video and Text), Free add-ins downloads at http://www.excelitems.com 2. Excel tutorials at http://www.excel-macros.blogspot.com 3. Learn VBA Macros at http://www.vbamacros.blogspot.com 4. Excel Tips and Tricks at http://exceldailytip.blogspot.com To post to this group, send email to excel-macros@googlegroups.com If you find any spam message in the group, please send an email to: Ayush Jain @ jainayus...@gmail.com or Ashish Jain @ 26may.1...@gmail.com ------------------------------------------------------------------------------------- -~----------~----~----~----~------~----~------~--~---
Book1.xls
Description: MS-Excel spreadsheet