+ Reply to Thread
Results 1 to 3 of 3

Summarizing Several Empty/Non-Empty Columns into 1 Master List of another file

  1. #1
    Registered User
    Join Date
    11-09-2012
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    16

    Summarizing Several Empty/Non-Empty Columns into 1 Master List of another file

    Hello,

    I've been wracking my brain on how to do this problem in VBA and I can't even figure out where to start.

    See enclosed files. What I want to do is for the results in columns G through K of "Analysis" to be transferred to the appropriate columns of "Agenda", but only those columns that have any results below the title. For instance, the macro will look at column G of "Analysis" and see that there are no results below the title, go to the next column and so on until it comes to a column heading with results. Then it will take those results and copy them into "Agenda" - title and results - in C1; in this case, the first result with columns will be "Montréal". Then the macro will go back to "Analysis" and because the last column with results was I, will start at J. It will find the next column with results at K, take those results and put them - title and results - in "Agenda" in E1; in this case, "Roussillon". And so forth. Until it reaches the end of the columns (at the moment, at K, but there could be more).

    The two files are open at the same time.

    Any ideas how to do this?

    Thanks!
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor fredlo2010's Avatar
    Join Date
    07-04-2012
    Location
    Miami, United States
    MS-Off Ver
    Excel 365
    Posts
    762

    Re: Summarizing Several Empty/Non-Empty Columns into 1 Master List of another file

    Can you attach a sample with the final Agenda? Thats where all your data will go correct ?

    Thanks

  3. #3
    Registered User
    Join Date
    11-09-2012
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    16

    Re: Summarizing Several Empty/Non-Empty Columns into 1 Master List of another file

    The attached "Agenda" file is the file into which the results are to be summarized.

  4. #4
    Registered User
    Join Date
    11-09-2012
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    16

    Re: Summarizing Several Empty/Non-Empty Columns into 1 Master List of another file

    I thought that I would "repost" this thread since it seems that there are no takers... are there any?

+ 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. Delete Empty Rows and empty columns from the word table
    By mvneema in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-25-2014, 10:51 AM
  2. Copy range from closed excel workbook into master file + finding next empty row
    By ralphmeys in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-22-2013, 12:56 PM
  3. Copy specific rows from many files and paste into next empty row in master file
    By Rednalyn in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 07-08-2013, 09:13 AM
  4. Copy data from new everyday csv file to next empty row in master excel file
    By hablu in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-18-2009, 02:06 AM
  5. Finding next empty empty cell in a range of columns
    By UncleBun in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-13-2006, 07:25 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