Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35
Default HELP ME!!! Condensing multiple cells with text and too many blank

I have several hudred columns of text cells interspersed with blank cells.
Instead of manually deleting each blank cell, I would like to do this with a
formula, or a macro, although I am not good with macros.

I would appreciate any help I can get.

Thanks for your time.

--
I need so much help, but right now, some Excel help will suffice!!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,942
Default HELP ME!!! Condensing multiple cells with text and too many blank

hi
can you sort it??? excel's sort moves blanks to the bottom.

regards
FSt1

"Jose" wrote:

I have several hudred columns of text cells interspersed with blank cells.
Instead of manually deleting each blank cell, I would like to do this with a
formula, or a macro, although I am not good with macros.

I would appreciate any help I can get.

Thanks for your time.

--
I need so much help, but right now, some Excel help will suffice!!

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35
Default HELP ME!!! Condensing multiple cells with text and too many b

Hi,

I can't sort the data because it's in a specific order and what I need to do
is to condense it so that the text in each of the cells that has text to
follow each other in a consecutive order.

Thanks
--
I need so much help, but right now, some Excel help will suffice!!


"FSt1" wrote:

hi
can you sort it??? excel's sort moves blanks to the bottom.

regards
FSt1

"Jose" wrote:

I have several hudred columns of text cells interspersed with blank cells.
Instead of manually deleting each blank cell, I would like to do this with a
formula, or a macro, although I am not good with macros.

I would appreciate any help I can get.

Thanks for your time.

--
I need so much help, but right now, some Excel help will suffice!!

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 208
Default HELP ME!!! Condensing multiple cells with text and too many b

This code will delete the blank cells (same as you selecting the cell
and deleting to the left). See comment in code below to move cell up
instead

Sub delete_blanks()
For myCol = 1 To Selection.Columns.Count
For myRow = 1 To Selection.Rows.Count
If Selection.Cells(myRow, myCol).Value = "" Then
Selection.Cells(myRow, myCol).Delete Shift:=xlToLeft
'change this to xlUp if you want to move cells up when you delete
End If
Next
Next

End Sub



On May 17, 11:05 am, Jose wrote:
Hi,

I can't sort the data because it's in a specific order and what I need to do
is to condense it so that the text in each of the cells that has text to
follow each other in a consecutive order.

Thanks
--
I need so much help, but right now, some Excel help will suffice!!

"FSt1" wrote:
hi
can you sort it??? excel's sort moves blanks to the bottom.


regards
FSt1


"Jose" wrote:


I have several hudred columns of text cells interspersed with blank cells.
Instead of manually deleting each blank cell, I would like to do this with a
formula, or a macro, although I am not good with macros.


I would appreciate any help I can get.


Thanks for your time.


--
I need so much help, but right now, some Excel help will suffice!!


  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default HELP ME!!! Condensing multiple cells with text and too many blank

F5SpecialBlanksOK

EditDeleteShift cells up?


Gord Dibben MS Excel MVP

On Sat, 17 May 2008 07:26:01 -0700, Jose wrote:

I have several hudred columns of text cells interspersed with blank cells.
Instead of manually deleting each blank cell, I would like to do this with a
formula, or a macro, although I am not good with macros.

I would appreciate any help I can get.

Thanks for your time.




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
Formula Help: Add cells with certain text + cells that are blank Nicole L. Excel Worksheet Functions 3 February 27th 07 06:59 AM
Condensing Imported fixed-width text with multiple data lines to one Excel row [email protected] Excel Discussion (Misc queries) 1 August 5th 06 04:04 AM
Multiple formatting in text cell blank it out! Tom Excel Discussion (Misc queries) 0 August 1st 06 10:34 AM
how can i ignore blank cells when multiple cells? arash Excel Worksheet Functions 4 November 17th 05 04:35 PM
Condensing a list/range with blank cells to a new list/range without blanks KR Excel Worksheet Functions 4 July 5th 05 04:23 PM


All times are GMT +1. The time now is 11:08 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"