Solved

copy and paste multiple rows on autofiltered data not working

Posted on 2016-10-07
4
35 Views
Last Modified: 2016-10-07
I have a worksheet with 5 fields, address 1, 2, 3, 4 and ZIP

I have created a custom field (A) with the LEN function, i.e =LEN(B2)

the reason for this was to identify where LEN = 0 means the address 1 fields is blank, and shouldn't be. I then filtered the data for where len = 0 , and tried to copy and paste the filtered data across into the missing address 1 fields. But it only lets me do this one row at a time, when I try and do this in bulk, i.e. 50 rows at a time, I get this error:

"This selection is not valid - There are several possible reasons:..."

is there anyway around this as going through 10000 rows manually is clearly not practical.
0
Comment
Question by:pma111
  • 2
4 Comments
 
LVL 19

Accepted Solution

by:
helpfinder earned 250 total points
ID: 41833370
do not filter column where is value 0, but sort this column ascending. this makes all your 0 values will be in the same part and you can easily copy/move multiple rows
0
 
LVL 32

Assisted Solution

by:Rob Henson
Rob Henson earned 250 total points
ID: 41833375
When data is filtered the copy and paste functions work a little bit differently.

Copying a single cell and then pasting into a filtered range will paste into only the visible cells of the range selected.

Copying a range of cells and pasting into a single cell in a filtered list will paste into the equivalent range eventhough part of the paste range is hidden.

Copying multiple cells from a filtered list, individually or as a block; when pasted into another range will paste as a continuous block, ie without the spacing from the hidden cells.

Can you be a bit more specific of what you are doing so we can try and help.
0
 
LVL 3

Author Comment

by:pma111
ID: 41833436
Helpfinders solution worked great.
0
 
LVL 32

Expert Comment

by:Rob Henson
ID: 41833456
If you go down the Sort route and want to return the data to the original order after correction, add another column to the data and manually fill this column with sequential numbers.

Fill the first 3 with 1 to 3 and then highlight those 3 and drag the bottom right corner down the extent of the data.

After completing the correction then resort on this column.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
Recently Microsoft released a brand new function called CONCAT. It's supposed to replace its predecessor CONCATENATE. But how does it work? And what's new? In this article, we take a closer look at all of this - we even included an exercise file for…
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now