+ Reply to Thread
Results 1 to 3 of 3

Pull from one column and insert into new w/ spaces

  1. #1
    Registered User
    Join Date
    10-12-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    62

    Pull from one column and insert into new w/ spaces

    I am trying to take Column A and move all values in that column to column E.

    1. Move Column A values only IF the corresponding cell in Column B is greater than -0- and

    2. keeping the spaces between the different product types.

    Disregard the border and fill format on the attached spreadsheet.

    *I can pull the information into column E but cannot get the spaces between the different product types or it leaves spaces where there was a -0- in column B.

    test pull.xlsx

    I hope this makes sense.

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,946

    Re: Pull from one column and insert into new w/ spaces

    not sure I understand what you want/how you want it, but have you tried playing around with pivot tables?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    10-12-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    62

    Re: Pull from one column and insert into new w/ spaces

    I have looked at Pivot tables but the formatting doesn't seem to workout with what I can do.

    Basically, all I want is to move all information from Columns A & B to E & F as long as Column B is >0. Plus, I need the spaces between product lines placed automatically in the new columns. i.e.:
    ColA ColB --------------> ColE ColF

    Product Line Qty --------------> ProductLine Qty
    ProductLine1 1 --------------> ProductLine1 1
    ProductLine1 0 --------------> (SPACE)
    (SPACE) --------------> ProductLine2 4
    ProductLine2 4 --------------> ProductLine2 2
    ProductLine2 0 --------------> (SPACE)
    ProductLine2 2 --------------> ProductLine3 89
    (SPACE)
    ProductLine3 89
    ProductLine3 0

    How that clarifies it.
    Last edited by swiftrain; 12-11-2012 at 03:40 PM.

+ 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