Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
confused
 
Posts: n/a
Default copy rows meeting criteria to another worksheet

Hi,

I want to copy rows from 1 worksheet to another but only if they value in
column A= 'Yes'
So for example In worksheet1 I have 10 rows. 6 of those have 'Yes' in column
A and 4 have 'No' in column A.
In worksheet2 I would like to see only those 6 rows from worksheet1 which
had 'Yes' in column A.

I would like to do this using worksheet functions if possible, not macros.
also filtering is not good enough, I want to actually eliminate all those
rows that are 'No'

thanks for any help
Cheers
  #2   Report Post  
Vasant Nanavati
 
Posts: n/a
Default

Not really possible without a macro.

--

Vasant


"confused" wrote in message
...
Hi,

I want to copy rows from 1 worksheet to another but only if they value in
column A= 'Yes'
So for example In worksheet1 I have 10 rows. 6 of those have 'Yes' in
column
A and 4 have 'No' in column A.
In worksheet2 I would like to see only those 6 rows from worksheet1 which
had 'Yes' in column A.

I would like to do this using worksheet functions if possible, not macros.
also filtering is not good enough, I want to actually eliminate all those
rows that are 'No'

thanks for any help
Cheers



  #3   Report Post  
JMB
 
Posts: n/a
Default

I don't understand why the autofilter will not work. If you filter the yes
values, you can copy the entire filtered list to sheet2 (Excel will not copy
the hidden rows that contain no values).

Alternatively, if you want the no's gone completely, filter the no values
(so yes values are hidden). Select the filtered list of no values and delete
the entire row. Then turn off the autofilter.

Based on the info you've given, this seems like the best solution. Be sure
to back up your data.

"confused" wrote:

Hi,

I want to copy rows from 1 worksheet to another but only if they value in
column A= 'Yes'
So for example In worksheet1 I have 10 rows. 6 of those have 'Yes' in column
A and 4 have 'No' in column A.
In worksheet2 I would like to see only those 6 rows from worksheet1 which
had 'Yes' in column A.

I would like to do this using worksheet functions if possible, not macros.
also filtering is not good enough, I want to actually eliminate all those
rows that are 'No'

thanks for any help
Cheers

  #4   Report Post  
confused
 
Posts: n/a
Default

Hi JMB,

Filtering doesnt work because I dont want to use copy and paste. I want the
rows in the new worksheet to be exact references to the original worksheet.
so for example, if someone pastes in new rows in the first worksheet these
would dispaly in the second

"JMB" wrote:

I don't understand why the autofilter will not work. If you filter the yes
values, you can copy the entire filtered list to sheet2 (Excel will not copy
the hidden rows that contain no values).

Alternatively, if you want the no's gone completely, filter the no values
(so yes values are hidden). Select the filtered list of no values and delete
the entire row. Then turn off the autofilter.

Based on the info you've given, this seems like the best solution. Be sure
to back up your data.

"confused" wrote:

Hi,

I want to copy rows from 1 worksheet to another but only if they value in
column A= 'Yes'
So for example In worksheet1 I have 10 rows. 6 of those have 'Yes' in column
A and 4 have 'No' in column A.
In worksheet2 I would like to see only those 6 rows from worksheet1 which
had 'Yes' in column A.

I would like to do this using worksheet functions if possible, not macros.
also filtering is not good enough, I want to actually eliminate all those
rows that are 'No'

thanks for any help
Cheers

  #5   Report Post  
Roger Govier
 
Posts: n/a
Default

Hi

It sounds like you need to use Advanced Filter, extracting the relevant
rows to a second sheet.
For help on this take a look at Debra Dalgleish's site
http://www.contextures.com/xladvfilter01.html#ExtractWs

Regards

Roger Govier



confused wrote:

Hi JMB,

Filtering doesnt work because I dont want to use copy and paste. I want the
rows in the new worksheet to be exact references to the original worksheet.
so for example, if someone pastes in new rows in the first worksheet these
would dispaly in the second

"JMB" wrote:



I don't understand why the autofilter will not work. If you filter the yes
values, you can copy the entire filtered list to sheet2 (Excel will not copy
the hidden rows that contain no values).

Alternatively, if you want the no's gone completely, filter the no values
(so yes values are hidden). Select the filtered list of no values and delete
the entire row. Then turn off the autofilter.

Based on the info you've given, this seems like the best solution. Be sure
to back up your data.

"confused" wrote:



Hi,

I want to copy rows from 1 worksheet to another but only if they value in
column A= 'Yes'
So for example In worksheet1 I have 10 rows. 6 of those have 'Yes' in column
A and 4 have 'No' in column A.
In worksheet2 I would like to see only those 6 rows from worksheet1 which
had 'Yes' in column A.

I would like to do this using worksheet functions if possible, not macros.
also filtering is not good enough, I want to actually eliminate all those
rows that are 'No'

thanks for any help
Cheers


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
Automate worksheet copy Marco Excel Discussion (Misc queries) 6 August 1st 05 01:11 PM
reminder notifications in a column L Mieth Excel Discussion (Misc queries) 6 June 10th 05 12:00 PM
Copy from worksheet to another x times Union70 Excel Discussion (Misc queries) 0 March 7th 05 10:03 PM
copy link from next worksheet mate Excel Worksheet Functions 7 March 7th 05 05:14 PM
How do I copy a cell (content AND format) from one worksheet to a. Excel Format Copy Excel Worksheet Functions 1 February 9th 05 11:34 PM


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