+ Reply to Thread
Results 1 to 6 of 6

Macro to Use column label as row label for multiple cells

  1. #1
    Registered User
    Join Date
    08-16-2015
    Location
    Leicester
    MS-Off Ver
    2007
    Posts
    11

    Macro to Use column label as row label for multiple cells

    I have managed to workout a macro to get my data to this stage.

    Untitled-55.jpg

    Now I'm struggling to work out a macro which re-formats the data further...

    I need to get the client ref in C1 to populate against each customer (b2 - b27) in this section of the s/sheet.
    I need to get the client ref in C28 to populate against each customer (b29 onwards) in this section of the s/sheet.

    & so on.

    Basically so i get this...

    Untitled-55b.jpg

    Then I will just select every row with "client" & delete. I can work that bit out.

    Does that make sense? Can anyone help?
    Last edited by MatLCFC; 08-16-2015 at 08:51 AM.

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Hard to explain for a newbie... please help!

    Forum Rules



    Please read and adhere to these simple rules!

    1. Use concise, accurate thread titles. Your post title should describe your problem, not your anticipated solution. Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.

    To change the title of the thread, click EDIT on the original post, then click the Go Advanced button, then change the title. If two or more days have passed, the EDIT button will not appear, and you need to ask a moderator to change the title.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Registered User
    Join Date
    08-16-2015
    Location
    Leicester
    MS-Off Ver
    2007
    Posts
    11

    Re: Macro to Use column label as row label for multiple cells

    Apologies Oeldere. I wasn't sure how to phrase the problem I have in a short title. Hopefully, this is now ok?

  4. #4
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,821

    Re: Macro to Use column label as row label for multiple cells

    Try:
    Please Login or Register  to view this content.
    You can say "THANK YOU" for help received by clicking the Star symbol at the bottom left of the helper's post.
    Practice makes perfect. I'm very far from perfect so I'm still practising.

  5. #5
    Registered User
    Join Date
    08-16-2015
    Location
    Leicester
    MS-Off Ver
    2007
    Posts
    11

    Re: Macro to Use column label as row label for multiple cells

    Hi, thanks for the reply.

    Just tried that macro. It has copied the first client name in to column A all the way down.
    It doesn't change to the next client name, continue with the first client name apart for the very last cell which has been copied correctly.

    Can you review again for me & advise?

  6. #6
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,821

    Re: Macro to Use column label as row label for multiple cells

    When I tried it on a dummy file, it worked properly for me. Could you post a copy of your file? I have to go out shortly so I may not be able to respond until tomorrow.

+ 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. [SOLVED] Hard to explain, please help
    By FooFighter616 in forum Excel General
    Replies: 4
    Last Post: 06-13-2012, 02:20 PM
  2. 3 problems-Autosort, Copying, and hard to explain
    By kscott in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 02-13-2009, 06:03 AM
  3. using x as cell number hard to explain
    By wkp2101 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-06-2008, 03:22 PM
  4. [hard to explain problem in few words]
    By aka85 in forum Excel General
    Replies: 5
    Last Post: 08-30-2007, 05:58 AM
  5. Hard to explain question
    By odditie in forum Excel General
    Replies: 4
    Last Post: 02-16-2007, 05:09 PM
  6. [SOLVED] Help with spread sheet (Hard to explain)
    By facebuddies in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 12-08-2006, 11:04 AM
  7. Please help!!! This is hard to explain!
    By Robert Sadler in forum Excel General
    Replies: 4
    Last Post: 02-02-2005, 12:28 AM
  8. Please help!!! This is hard to explain!
    By Robert Sadler in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-01-2005, 05:48 PM

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