Closed Thread
Results 1 to 3 of 3

Format Column data to be Col and Row

  1. #1
    Registered User
    Join Date
    06-13-2008
    Posts
    11

    Format Column data to be Col and Row

    I have a sheet1:

    (A1) 1 (B1) ABC (C1) 90
    (A2) 1 (B2) DEF (C2) 80
    (A3) 2 (B3) ABC (C3) 70
    (A3) 2 (B3) DEF (C3) 60

    I want to present it in sheet2 to be

    (A1) Empty (B1) 1 (C1) 2
    (A2) ABC (B2) 90 (C2) 70
    (A3) DEF (B3) 80 (C3) 60

    (A:A) needs to sort by name

    How can I code it?

    Thanks
    Last edited by VBA Noob; 06-18-2008 at 02:24 AM.

  2. #2
    Registered User
    Join Date
    06-13-2008
    Posts
    11
    I found a simliar code example

    student 1 Eng A
    student 1 Math B
    Student 1 Hist B
    Student 1 Geog C
    Student 2 Eng D
    Student 2 Math C
    Student 2 chem D

    convert it into the following format:

    Eng Math Hist Geog Chem
    student 1 A B B C
    student 2 D C D


    Please Login or Register  to view this content.
    However, it just shows
    STUDENT ENGL MATH HIST GEOG CHEM
    in sheet 2.

    How can it work without defining strings?

    Just use the cell and range of worksheet.

  3. #3
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    techissue2008,

    Thread locked for cross posting again. Please read the forum rules below and PM me another mod if you agree to them

    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

Closed 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