+ Reply to Thread
Results 1 to 7 of 7

how to expand 1-5 to 1,2,3,4,5 ?

  1. #1
    Registered User
    Join Date
    09-26-2007
    Posts
    39

    how to expand 1-5 to 1,2,3,4,5 ?

    Hi all,

    I need some help here to extract some data which I need to convert into another format.

    Table in Row 2 and Row 3 is original data.
    Table Row 5 to Row 34 is output data.

    \1

    Anyone here knows the formula to convert the original data (Column C & E) to another format like output data (Row 5 to Row 34)

    1. Original data which is calling for ABCDE (Column C) and U2 U3 U4 U5 U6 U7 U8 U9 (Column E) convert into

    ABCDE U2
    ABCDE U3
    ABCDE U4
    ABCDE U5
    ABCDE U6
    ABCDE U7
    ABCDE U8
    ABCDE U9

    2. The next data 12345 (column C) and C7-C20 C28 C30 C32 C37-C40 (Column E).

    For C7-C20
    12345 C7
    12345 C8
    12345 C9
    12345 C10
    12345 C11
    12345 C12
    12345 C13
    12345 C14
    12345 C15
    12345 C16
    12345 C17
    12345 C18
    12345 C19
    12345 C20
    Attached Images Attached Images

  2. #2
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591
    Hi

    See how this goes.

    Please Login or Register  to view this content.

    rylo

  3. #3
    Registered User
    Join Date
    09-26-2007
    Posts
    39
    excellent !! thanks rylo.

    i still need your help to do some changes.
    1. data taken from whole column of B & D (Sheet 1)
    and output would be in column of A & B (Sheet 2).

    2. pls have a look into errors which shown in attached image (ttik.jpg).


    Thank you very much !
    Attached Images Attached Images
    Attached Files Attached Files

  4. #4
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591
    Hi

    Slight change in the specs here.

    You will have to remove the trailing space in sheet1!D2.


    Try

    Please Login or Register  to view this content.
    rylo

  5. #5
    Registered User
    Join Date
    09-26-2007
    Posts
    39
    thanks again rylo,

    still have some spacing problem. see attached.
    Thanks.
    Attached Files Attached Files

  6. #6
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591
    Hi

    You will have to remove the trailing space in sheet1!D2.
    Did you check that any trailing spaces in column D had been removed????


    rylo

  7. #7
    Registered User
    Join Date
    09-26-2007
    Posts
    39
    okay, i will remove all the spacing & commas before run the macro.

    again, thanks mate !!

+ 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