#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 23
Default Delete blank rows

I am trying to shift about 9 columns of data that contains some data but
mostly empty rows. I would like to shift all the data in each column left.
leaving the data in the same row resulting with all data in column a. Any
help would be greatly appreciated.
--
Jake
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,480
Default Delete blank rows

Hi Jake

You could insert a new column A.
In A1 enter
=LOOKUP(99^99,B1:J1)
and copy down as far as required
Then copy column Apaste SpecialValues back over itself to "fix" the values
You can then delete columns B:J
--
Regards
Roger Govier

"JakeShipley2008" wrote in
message ...
I am trying to shift about 9 columns of data that contains some data but
mostly empty rows. I would like to shift all the data in each column left.
leaving the data in the same row resulting with all data in column a. Any
help would be greatly appreciated.
--
Jake


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9
Default Delete blank rows

It would not be possible to merge 9 columns in to 1 but all the data to
appear in column A same row as original, unless you have sporadic data e.g
column F data in Row 6 no other columns have data in row 6....etc

How is the data set up? is it like i described?

If it is as above then:
Sub blank_remove()
With ActiveSheet.UsedRange
..SpecialCells(xlCellTypeBlanks).Delete shift:=xlToLeft
End With
End Sub

--
Regards,
The Code Cage Team
www.thecodecage.com/forumz


"Roger Govier" wrote:

Hi Jake

You could insert a new column A.
In A1 enter
=LOOKUP(99^99,B1:J1)
and copy down as far as required
Then copy column Apaste SpecialValues back over itself to "fix" the values
You can then delete columns B:J
--
Regards
Roger Govier

"JakeShipley2008" wrote in
message ...
I am trying to shift about 9 columns of data that contains some data but
mostly empty rows. I would like to shift all the data in each column left.
leaving the data in the same row resulting with all data in column a. Any
help would be greatly appreciated.
--
Jake



Reply
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
Delete Blank Rows Heather Excel Discussion (Misc queries) 9 July 15th 08 09:32 PM
How do I delete blank rows (rows alternate data, blank, data, etc ncochrax Excel Discussion (Misc queries) 2 June 27th 07 04:40 AM
Delete all blank rows... bourbon84 Excel Discussion (Misc queries) 2 October 4th 06 02:13 PM
delete blank rows Pam C Excel Discussion (Misc queries) 1 January 17th 06 07:13 PM
How to delete blank rows John Mansfield Excel Discussion (Misc queries) 3 April 27th 05 11:48 PM


All times are GMT +1. The time now is 11:31 PM.

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

About Us

"It's about Microsoft Excel"