+ Reply to Thread
Results 1 to 4 of 4

Find Text, Offset, Insert and Format Rows

  1. #1
    Registered User
    Join Date
    06-11-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    2

    Find Text, Offset, Insert and Format Rows

    Hi All -

    I have a set of data in which for each time the text occurs "Customer Name Total", I need to move down 2 rows, insert a row and either paste a series of labels and formulas there or just format that row to say "YTD Conversion Total" with a series of formulas out to the right. For example, "Customer Name Total is in F10 and for that instance, I would need to move down to cell F12, insert a row and then in column F, I need it to say "YTD Conversion Total" and then on the same row in columns G,H,I,J,K,L,M,N,O,P,Q,R, I need it to have a formula referencing data above. Ideally, I could just use something along the lines of Find "Customer Name Total" and for each instance, move down 2 cells, insert and then write the macro to format that row accordingly; however, I need to loop that to where it moves on to the next "Customer Name Total" and as easy as I'm sure this is, I can't seem to figure it out.

    Can someone help?

  2. #2
    Forum Expert mrice's Avatar
    Join Date
    06-22-2004
    Location
    Surrey, England
    MS-Off Ver
    Excel 2013
    Posts
    4,967

    Re: Find Text, Offset, Insert and Format Rows

    Can you post a copy of a workbook with a 'before' and 'after' to help explain a little more clearly - in particular with respect to the 'formula referencing data above'?
    Martin

  3. #3
    Registered User
    Join Date
    06-11-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Find Text, Offset, Insert and Format Rows

    I figured it out, but thank you, Martin. Now the only trouble I am having is how can I loop this macro until I reach the text "Report Total" in the ActiveCell? Can you help with that?

    Thank you!

    Kind Regards,
    Nichole

  4. #4
    Forum Expert mrice's Avatar
    Join Date
    06-22-2004
    Location
    Surrey, England
    MS-Off Ver
    Excel 2013
    Posts
    4,967

    Re: Find Text, Offset, Insert and Format Rows

    You might need a line like

    Please Login or Register  to view this content.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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