+ Reply to Thread
Results 1 to 2 of 2

Find start and Next row with text and create Cell Address in groups

  1. #1
    Registered User
    Join Date
    01-06-2010
    Location
    Washington, DC
    MS-Off Ver
    Excel 2010
    Posts
    53

    Find start and Next row with text and create Cell Address in groups

    I have a sheet with utilizes grouping, the rows in each group varies and the code I have is not dealing well with that

    What I have is this
    Please Login or Register  to view this content.
    What I want to do is to have the C2:C200 be the actual address, this is setting the end to 200 and as I create more groups with rows
    the number will reach well over 200, so then I have to go in an edit the code to reflect the additional rows and thats a pain.

    So if there are 10 rows in that group then I would like it to be C2:C12
    the next group will need to start at C13 and it may have 90 rows so the Address would be C13:C103

    Is there anyway to create an index column to search for the next group?

    Excelissue.jpg
    Last edited by 2k05gt; 04-27-2015 at 07:36 PM.

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,613

    Re: Find start and Next row with text and create Cell Address in groups

    To attach a Workbook
    (please do not post pictures or links to worksheets)
    • Click Advanced (next to quick post),
    • Scroll down until you see "Manage Attachments",
    • Click that then select "add files" (top right corner).
    • Click "Select Files" find your file, click "open" click "upload"
    • Once the upload is completed the file name will appear below the input boxes in this window.
    • Click "Done" at bottom right to close the Attachment Manager.
    • Click "Submit Reply"
    Ben Van Johnson

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Macro to make the background color of a cell match that of another cell
    By LukeWarmwater in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-04-2014, 06:11 AM
  2. How to use color Index VBA to match cell color in first tab to the second tab
    By susanliu in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-29-2014, 06:55 PM
  3. Match Cell Fill Color to another cell in same column in Array?
    By Trevorrow in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-19-2013, 10:06 AM
  4. Replies: 12
    Last Post: 09-18-2012, 03:13 PM
  5. Cell fill color. Row to match specific cell.
    By CADinDallas in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-04-2006, 09:10 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1