Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 205
Default copy data with criteria

Hi!
i am trying to copy data of certains rows from 2 columns that match the
criteria choosen.i have 4 columns, ID, DATE, CUST, MOD.the criteria is for
DATE,but i want to copy column CUST & MOD to another worksheet.can it be done?
i've tried to use advanced filter,but it seems like copy DATE column
only,cannot copy CUST & MOD.
is there any other suggestion?
thanks in advance=)

--
Regards,
Linda
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,718
Default copy data with criteria

Take a look a VLOOKUP function in Help menu


"linda" wrote:

Hi!
i am trying to copy data of certains rows from 2 columns that match the
criteria choosen.i have 4 columns, ID, DATE, CUST, MOD.the criteria is for
DATE,but i want to copy column CUST & MOD to another worksheet.can it be done?
i've tried to use advanced filter,but it seems like copy DATE column
only,cannot copy CUST & MOD.
is there any other suggestion?
thanks in advance=)

--
Regards,
Linda

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 205
Default copy data with criteria

thanks for repply..i've try that but VLOOKUP only return a single
value.moreover,the 2 columns i need is not side by side.

--
Regards,
Linda


"Teethless mama" wrote:

Take a look a VLOOKUP function in Help menu


"linda" wrote:

Hi!
i am trying to copy data of certains rows from 2 columns that match the
criteria choosen.i have 4 columns, ID, DATE, CUST, MOD.the criteria is for
DATE,but i want to copy column CUST & MOD to another worksheet.can it be done?
i've tried to use advanced filter,but it seems like copy DATE column
only,cannot copy CUST & MOD.
is there any other suggestion?
thanks in advance=)

--
Regards,
Linda

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,480
Default copy data with criteria

Hi Linda

Advanced Filter should work for you.

On the destination sheet, enter in cells A1 and B1 the column headings that
you are interested in from the source sheet.
In A2 and B2 enter the criteria that must be matched to select the rows.

Then, starting from the destination Sheet, DataFilterAdvanced FilterCopy
to another location
List range Select the complete range of data from your source sheet
Criteria range cells A1:B2 of your destination sheet
Copy to Select A4:M4 of your destination sheet

I have used M4 in my example. Ensure the column letter chosen is enough to
include all the columns of data you want extracted from the source.

For more help on advanced filter take a look at
http://www.contextures.com/xladvfilter01.html#ExtractWs
--
Regards
Roger Govier



"linda" wrote in message
...
Hi!
i am trying to copy data of certains rows from 2 columns that match the
criteria choosen.i have 4 columns, ID, DATE, CUST, MOD.the criteria is for
DATE,but i want to copy column CUST & MOD to another worksheet.can it be
done?
i've tried to use advanced filter,but it seems like copy DATE column
only,cannot copy CUST & MOD.
is there any other suggestion?
thanks in advance=)

--
Regards,
Linda



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 205
Default copy data with criteria

thanks Roger!its work=)

--
Regards,
Linda


"Roger Govier" wrote:

Hi Linda

Advanced Filter should work for you.

On the destination sheet, enter in cells A1 and B1 the column headings that
you are interested in from the source sheet.
In A2 and B2 enter the criteria that must be matched to select the rows.

Then, starting from the destination Sheet, DataFilterAdvanced FilterCopy
to another location
List range Select the complete range of data from your source sheet
Criteria range cells A1:B2 of your destination sheet
Copy to Select A4:M4 of your destination sheet

I have used M4 in my example. Ensure the column letter chosen is enough to
include all the columns of data you want extracted from the source.

For more help on advanced filter take a look at
http://www.contextures.com/xladvfilter01.html#ExtractWs
--
Regards
Roger Govier



"linda" wrote in message
...
Hi!
i am trying to copy data of certains rows from 2 columns that match the
criteria choosen.i have 4 columns, ID, DATE, CUST, MOD.the criteria is for
DATE,but i want to copy column CUST & MOD to another worksheet.can it be
done?
i've tried to use advanced filter,but it seems like copy DATE column
only,cannot copy CUST & MOD.
is there any other suggestion?
thanks in advance=)

--
Regards,
Linda




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
Copy Row to worksheet based on criteria JoePineapples Excel Discussion (Misc queries) 1 March 7th 07 09:05 AM
Auto copy down depending on criteria Kim Excel Worksheet Functions 3 July 4th 06 12:53 PM
Copy DSUM Criteria Question Curtis Excel Worksheet Functions 1 February 14th 06 06:20 PM
copy rows meeting criteria to another worksheet confused Excel Worksheet Functions 4 October 4th 05 11:51 AM
under certain criteria copy data. dave Excel Worksheet Functions 2 November 16th 04 02:56 AM


All times are GMT +1. The time now is 08:12 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"