LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
EMB EMB is offline
external usenet poster
 
Posts: 3
Default Create a small table from a large table by skipping empty columns

I have a question I am trying to solve. I have a table that, for many rows,
does not have every column filled in. For example, the table would look like
this:

First Last Color Age Fruit Vegatable
John Smith Blue 15 Celery
Jane Doe 50 Orange
Jim Red Carrot
Jones 90 Apple Pepper

and I want it to look like this:
John Smith Blue 15 Celery
Jane Doe 50 Orange
Jim Red Carrot
Jones 90 Apple Pepper

Basically, if a certain column is "empty" a specific row, I want to skip it
and paste the next filled in value next to a previous filled in value. Is
there any way to do this in a Macro? I'd like to read from my "old" table to
create a "new" table.

The solution does not have to be elegant, and I can hard code in start rows
and end rows.
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I create one column (stacked) from a large table of data.. Jacko Excel Worksheet Functions 1 January 17th 08 07:50 PM
grouping large pivot table columns jimbo Excel Programming 1 January 20th 07 06:41 PM
grouping large pivot table columns jimbo Excel Programming 0 January 20th 07 03:03 PM
Macro to create pivot table from large data file johnson748r Excel Programming 1 August 9th 06 01:26 AM
How can I create a table of contents(worksheets) for a large work. brupub Excel Discussion (Misc queries) 7 December 5th 04 05:16 PM


All times are GMT +1. The time now is 08:37 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"