#1   Report Post  
Posted to microsoft.public.excel.misc
ThalesNate
 
Posts: n/a
Default Query, copy & paste


Hey there,

I'm trying to extract key data from a spreadsheet in this way: the
spreadsheet has cells in different columns which may have matching
data. I want Excel to find these matching cells and copy the rows in
which they reside onto a second sheet.

For example:

The first column in question is a listing of Service Orders. I want
Excel to search the second column in question, Purchase Orders, for a
match. When a match or matches are found I want any row containing
that info to be presented on the second spreadsheet.

The example is probably redundant, but hopefully stating it slightly
differently will help illuminate my goal.

Thanks in advance,

Nate


--
ThalesNate
------------------------------------------------------------------------
ThalesNate's Profile: http://www.excelforum.com/member.php...o&userid=31037
View this thread: http://www.excelforum.com/showthread...hreadid=507028

  #2   Report Post  
Posted to microsoft.public.excel.misc
Dave Peterson
 
Posts: n/a
Default Query, copy & paste

Life is usually much simpler if you keep your data in one location.

I'd just use one worksheet, but then apply Data|Filter|Autofilter to see the
rows I want to see.

But if you really, really want...

Debra Dalgleish and Ron de Bruin have samples that you may like. Ron's addin
may be sufficient right out of the box.

Debra's site:
http://www.contextures.com/excelfiles.html

Create New Sheets from Filtered List -- uses an Advanced Filter to create
separate sheet of orders for each sales rep visible in a filtered list; macro
automates the filter. AdvFilterRepFiltered.xls 35 kb

or

Update Sheets from Master -- uses an Advanced Filter to send data from
Master sheet to individual worksheets -- replaces old data with current.
AdvFilterCity.xls 55 kb

And Ron de Bruin's easyfilter.
http://www.rondebruin.nl/easyfilter.htm

ThalesNate wrote:

Hey there,

I'm trying to extract key data from a spreadsheet in this way: the
spreadsheet has cells in different columns which may have matching
data. I want Excel to find these matching cells and copy the rows in
which they reside onto a second sheet.

For example:

The first column in question is a listing of Service Orders. I want
Excel to search the second column in question, Purchase Orders, for a
match. When a match or matches are found I want any row containing
that info to be presented on the second spreadsheet.

The example is probably redundant, but hopefully stating it slightly
differently will help illuminate my goal.

Thanks in advance,

Nate

--
ThalesNate
------------------------------------------------------------------------
ThalesNate's Profile: http://www.excelforum.com/member.php...o&userid=31037
View this thread: http://www.excelforum.com/showthread...hreadid=507028


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.misc
ThalesNate
 
Posts: n/a
Default Query, copy & paste


Dave,

I don't think a filter will work because I'm trying to compare data
from separate columns. I did take a peek at Debra's link but there's a
lot of data there and it's hard to discern what pertains to me. Ron's
link was down at the time, but I'll check it later.

I'm including a pic this time to better illustrate my needs, I want
Excel to find any data in the "Customer PO" column beginning with a
"20" and search the "Order Number" column to find the match. Can
filtering do this?

Thanks for your feedback,

Nate


+-------------------------------------------------------------------+
|Filename: ExcelExample.GIF |
|Download: http://www.excelforum.com/attachment.php?postid=4293 |
+-------------------------------------------------------------------+

--
ThalesNate
------------------------------------------------------------------------
ThalesNate's Profile: http://www.excelforum.com/member.php...o&userid=31037
View this thread: http://www.excelforum.com/showthread...hreadid=507028

  #4   Report Post  
Posted to microsoft.public.excel.misc
Dave Peterson
 
Posts: n/a
Default Query, copy & paste

Since I connect the newsgroups directly, I can't see the picture.

You'll usually get more responses if you post in plain text--lots of people skip
by posts with attachments (pictures or excel files).



ThalesNate wrote:

Dave,

I don't think a filter will work because I'm trying to compare data
from separate columns. I did take a peek at Debra's link but there's a
lot of data there and it's hard to discern what pertains to me. Ron's
link was down at the time, but I'll check it later.

I'm including a pic this time to better illustrate my needs, I want
Excel to find any data in the "Customer PO" column beginning with a
"20" and search the "Order Number" column to find the match. Can
filtering do this?

Thanks for your feedback,

Nate

+-------------------------------------------------------------------+
|Filename: ExcelExample.GIF |
|Download: http://www.excelforum.com/attachment.php?postid=4293 |
+-------------------------------------------------------------------+

--
ThalesNate
------------------------------------------------------------------------
ThalesNate's Profile: http://www.excelforum.com/member.php...o&userid=31037
View this thread: http://www.excelforum.com/showthread...hreadid=507028


--

Dave Peterson
  #5   Report Post  
Posted to microsoft.public.excel.misc
ThalesNate
 
Posts: n/a
Default Query, copy & paste


Thanks for the tip...

Basically, the details are thus:

_*Service_Order___:_______Purchase_Order__*_
-*2016500 <---| -*SO-56137
2016501 | 20273896054
2016502 -* |--- 2016500- *


I need Excel to associate the first and third lines by associating
cells that share neither a common row nor column, can filtering do
that?

Thanks (again)

Nate


--
ThalesNate
------------------------------------------------------------------------
ThalesNate's Profile: http://www.excelforum.com/member.php...o&userid=31037
View this thread: http://www.excelforum.com/showthread...hreadid=507028



  #6   Report Post  
Posted to microsoft.public.excel.misc
Dave Peterson
 
Posts: n/a
Default Query, copy & paste

Not easily and depending on your data--maybe not at all.

Is there anyway you can put the common stuff in a dedicated column--and on each
row?

ThalesNate wrote:

Thanks for the tip...

Basically, the details are thus:

_*Service_Order___:_______Purchase_Order__*_
-*2016500 <---| -*SO-56137
2016501 | 20273896054
2016502 -* |--- 2016500- *

I need Excel to associate the first and third lines by associating
cells that share neither a common row nor column, can filtering do
that?

Thanks (again)

Nate

--
ThalesNate
------------------------------------------------------------------------
ThalesNate's Profile: http://www.excelforum.com/member.php...o&userid=31037
View this thread: http://www.excelforum.com/showthread...hreadid=507028


--

Dave Peterson
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 Paste Conditional Formatting Bud Hughes Excel Discussion (Misc queries) 6 October 1st 05 02:33 PM
copy & paste spreadsheet cells from excel to outlook to excel mismarple Excel Discussion (Misc queries) 1 September 20th 05 11:16 PM
Copy and paste from one spreadsheet to another Calculate Date range Excel Worksheet Functions 2 September 17th 05 09:04 AM
Issue with copy & paste? Etrnal168 Excel Discussion (Misc queries) 2 July 12th 05 03:35 AM
Copy and Paste and keep format the same Brian Caraher Excel Discussion (Misc queries) 1 March 17th 05 02:05 PM


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