[mso] Re: Excel - Moving Data

  • From: "Linda F. Johnson" <linda@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
  • To: <mso@xxxxxxxxxxxxx>
  • Date: Fri, 26 Sep 2003 13:18:07 -0400

Here I am with my ol' workarounds LOL

I'm sure someone else might have another suggestion, but this is what I
would do

Highlight all the data in the column to the right and copy it
Highlight all the data in the column to the left and go to Edit>Paste
Special and put a check in "Skip Blanks"...this means it only pastes the
cells from the right column that are NOT blank
Then delete the right column

That's one way...if it's not what you want, wait and see another way

Actually, you could do it and record a macro so you can then just do it
again, with a click of a button or keyboard shortcut

You can also do it with a formula

Let's say A is the column to the left and B is the column to the right
Put this formula in C1
 =IF((ISBLANK(B1)),A1,B1)

That will put all the values from A1 or B1 in C1
Then just drag that formula down column C and hide columns A and B


Linda F. Johnson, M.A., MOS
Linda's Computer Stop
http://personal-computer-tutor.com
Free e-Books, Newsletter, and tutorials


-----Original Message-----
From: mso-bounce@xxxxxxxxxxxxx [mailto:mso-bounce@xxxxxxxxxxxxx] On Behalf
Of Glenda Wells
Sent: Friday, September 26, 2003 12:16 PM
To: mso@xxxxxxxxxxxxx
Subject: [mso] Excel - Moving Data

Hi All and TGIF.
In a column, if the cell to the left is empty, move the contents to the
left.

I have a worksheet of about a dozen columns. Many cells in each column
are blank. The objective is to combine the columns by moving data to the
first column until all columns are completely filled...no blank cells.

Thoughts and ideas appreciated. /g


*************************************************************
You are receiving this mail because you subscribed to mso@xxxxxxxxxxxxx or 
MicrosoftOffice@xxxxxxxxxxxxxxxx

To send mail to the group, simply address it to mso@xxxxxxxxxxxxx

To Unsubscribe from this group, send an email to 
mso-request@xxxxxxxxxxxxx with the word "unsubscribe" (without the quotes) in 
the subject line.

Or, visit the group's homepage and use the dropdown menu.  This will also allow 
you to change your email settings to digest or vacation (no mail).
//www.freelists.org/webpage/mso

To be able to use the files section for sharing files with the group, send a 
request to mso-moderators@xxxxxxxxxxxxx and you will be sent an invitation with 
instructions.  Once you are a member of the files group, you can go here to 
upload/download files:
http://www.smartgroups.com/vault/msofiles
*************************************************************

Other related posts: