PC Review


Reply
Thread Tools Rate Thread

copy data with criteria

 
 
=?Utf-8?B?bGluZGE=?=
Guest
Posts: n/a
 
      10th Sep 2007
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 With Quote
 
 
 
 
=?Utf-8?B?VGVldGhsZXNzIG1hbWE=?=
Guest
Posts: n/a
 
      10th Sep 2007
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

 
Reply With Quote
 
=?Utf-8?B?bGluZGE=?=
Guest
Posts: n/a
 
      10th Sep 2007
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

 
Reply With Quote
 
Roger Govier
Guest
Posts: n/a
 
      10th Sep 2007
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, Data>Filter>Advanced Filter>Copy
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" <(E-Mail Removed)> wrote in message
news:31DDA414-D85E-4E82-9B87-(E-Mail Removed)...
> 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 With Quote
 
=?Utf-8?B?bGluZGE=?=
Guest
Posts: n/a
 
      10th Sep 2007
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, Data>Filter>Advanced Filter>Copy
> 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" <(E-Mail Removed)> wrote in message
> news:31DDA414-D85E-4E82-9B87-(E-Mail Removed)...
> > 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 With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Copy/Paste data based on a criteria haas786@yahoo.com Microsoft Excel Programming 3 8th Feb 2008 10:35 PM
Copy data to another wb based on specific criteria =?Utf-8?B?a3No?= Microsoft Excel Misc 1 29th Oct 2007 01:30 PM
Macro to copy data with a date criteria =?Utf-8?B?SGVscExvdTA3?= Microsoft Excel Programming 1 14th Sep 2007 02:56 AM
Copy data in new sheets from criteria using VBA bambinos83 Microsoft Excel Programming 8 18th Mar 2006 05:54 PM
under certain criteria copy data. =?Utf-8?B?ZGF2ZQ==?= Microsoft Excel Worksheet Functions 2 16th Nov 2004 02:56 AM


Features
 

Advertising
 

Newsgroups
 


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