+ Reply to Thread
Results 1 to 5 of 5

Moving column data from one worksheet to rows in another worksheet.

  1. #1
    Forum Contributor
    Join Date
    05-04-2008
    Posts
    103

    Moving column data from one worksheet to rows in another worksheet.

    This one is really confusing to me. I have a daily call log which has various data. I have to take certain data from certain columns and put them in the "daily call log on a certain row. Much of the data is just counting how many names or yes or no there is. But the daily call log needs to have the data from column "O" from the daily call log put in as data separated by commas. I put explaintions in the Daily summary sheet of where the data is suppose to come from. Not sure even how to start putting the data from one sheet into another sheet. Did some searches and tried but failed. Hope someone can help. Thank you. I attached the workbook. The second sheet has the explanation of what I need.
    Attached Files Attached Files

  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: Moving column data from one worksheet to rows in another worksheet.

    Im not sure what you want or from where, so maybe this will get you headed in the right direction.

    based on Daily Summary Sheet...
    in C3
    =COUNTA('Call Summary Sheet - 8 Jul 13'!D2:D1000)
    adjust this for other places you want a simple count
    In C9
    =COUNTIF('Call Summary Sheet - 8 Jul 13'!T:T,"Yes")
    change Yes to No to count NO's

    Can you provide a sample of what you want for row 8?
    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
    Forum Contributor
    Join Date
    05-04-2008
    Posts
    103

    Re: Moving column data from one worksheet to rows in another worksheet.

    Yes thank you. Row 8 will take all the data from column "O" in Call summary sheet and put them in the row with commas, like so:

    300, 111, 167, 266, 16.

    Thank you for your help.

  4. #4
    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: Moving column data from one worksheet to rows in another worksheet.

    OK, try this.

    I added a helper column on sheet1 column Z and ised this, copied down from Z2...
    =IF(COUNTA(A2:Y2)=1,"",IF(O2="",Z1,Z1&IF(Z1="","",", ")&O2))In Z1 enter ' (the do-hickey on the " key)
    then on sheet1, row 8, use this...
    =INDEX('Call Summary Sheet - 8 Jul 13'!Z:Z,SUMPRODUCT(--('Call Summary Sheet - 8 Jul 13'!Z:Z<>""))+2,1)

  5. #5
    Forum Contributor
    Join Date
    05-04-2008
    Posts
    103

    Re: Moving column data from one worksheet to rows in another worksheet.

    Ok, I copied the code from Z2 on down to row 8 and that gave me all the data in one row separted by commas. How do I get it to the next worksheet in the proper row? Thank you.
    Last edited by taichi56; 07-12-2013 at 09:03 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