Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
hsg hsg is offline
external usenet poster
 
Posts: 40
Default paste data omiting blank values

My data is like this:
A B C D ...... I
J
1 1 2 3 4 9
10
2 2.5 0 5 4 0
3.5

when I transfer these two rows, only those columns should be transferred
which do not have "zero" in second row. But this leaves blank in between
column, i would like to remove those blanks, and the pasted data should
be in consecutive columns.

Like in above case, I should get columns A, C, D and J in another worksheet
as columns A, B, C, D

pl help
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 30
Default paste data omiting blank values

Perhaps this could produce a more thorough result, but I discovered a way to
copy the data to a new sheet, omitting blank columns - the problem is that it
only works one row at a time. If I understand what you're trying to
accomplish correctly, this process may work:

Select cells containing data in a row (you can simply click the row number
to highlight the entire row).
Tap F5
Click Special in the Go to Box
Check Constants
Hit OK
Hit CTRL + C or Edit, then Copy
and then copy and paste to new sheet

Credit to:
http://www.eggheadcafe.com/conversat...did=3022 7637

What I meant by maybe somebody helping out more is perhaps a macro could be
written to accomplish this in a more automatic / quicker manner.

CVinje


"hsg" wrote:

My data is like this:
A B C D ...... I
J
1 1 2 3 4 9
10
2 2.5 0 5 4 0
3.5

when I transfer these two rows, only those columns should be transferred
which do not have "zero" in second row. But this leaves blank in between
column, i would like to remove those blanks, and the pasted data should
be in consecutive columns.

Like in above case, I should get columns A, C, D and J in another worksheet
as columns A, B, C, D

pl help

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default paste data omiting blank values


Highlight the cells to copy
Press F5, click SPECIAL
Select Constants, click OK
Ctrl-C to copy
Click on the first target cell and press ENTER.


hsg;246903 Wrote:
My data is like this:
A B C D ...... I
J
1 1 2 3 4
9
10
2 2.5 0 5 4
0
3.5

when I transfer these two rows, only those columns should be
transferred
which do not have "zero" in second row. But this leaves blank in
between
column, i would like to remove those blanks, and the pasted data
should
be in consecutive columns.

Like in above case, I should get columns A, C, D and J in another
worksheet
as columns A, B, C, D

pl help



--
JBeaucaire
------------------------------------------------------------------------
JBeaucaire's Profile: http://www.thecodecage.com/forumz/member.php?userid=73
View this thread: http://www.thecodecage.com/forumz/sh...ad.php?t=68900

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
paste values in blank cell Mayte Excel Worksheet Functions 7 June 2nd 08 10:57 PM
can you change the default paste method? (paste values) David A Brown Excel Discussion (Misc queries) 3 December 18th 07 09:59 AM
Omiting AM/PM kojak Excel Discussion (Misc queries) 9 March 30th 07 05:28 PM
Not showing blank and non blank items in filter mode for values Bhaskar Polisetty Excel Worksheet Functions 0 June 20th 06 02:04 PM
omiting cells in average calcs Blackstar79 Excel Discussion (Misc queries) 3 April 25th 06 11:12 PM


All times are GMT +1. The time now is 02:59 PM.

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"