#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 34
Default Extracting Data

I have a large spreadsheet and I would like to search 3 of the colums for
certain information. If any of the information is found in any of the 3
columns, I would like to copy and paste that entire row to a new worksheet.
Let's say that I would like to search column C for "National", column G for
"Account" and column L for any entry starting with "Acme" (so maybe
"Acme*"?).

Any help would be appreciated.

Brian


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default Extracting Data

=SUMPRODUCT((C1:C100="National")*(G1:G100="Account ")*(LEFT(L1:L100,4)="Acme))


"leimst" wrote:

I have a large spreadsheet and I would like to search 3 of the colums for
certain information. If any of the information is found in any of the 3
columns, I would like to copy and paste that entire row to a new worksheet.
Let's say that I would like to search column C for "National", column G for
"Account" and column L for any entry starting with "Acme" (so maybe
"Acme*"?).

Any help would be appreciated.

Brian



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,389
Default Extracting Data

Correcting typo:
=SUMPRODUCT((C1:C100="National")*(G1:G100="Account ")*(LEFT(L1:L100,4)="Acme"))

Regards,
Fred

"Teethless mama" wrote in message
...
=SUMPRODUCT((C1:C100="National")*(G1:G100="Account ")*(LEFT(L1:L100,4)="Acme))


"leimst" wrote:

I have a large spreadsheet and I would like to search 3 of the colums
for
certain information. If any of the information is found in any of the 3
columns, I would like to copy and paste that entire row to a new
worksheet.
Let's say that I would like to search column C for "National", column G
for
"Account" and column L for any entry starting with "Acme" (so maybe
"Acme*"?).

Any help would be appreciated.

Brian




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 34
Default Extracting Data

I haven't used this function before. Can I place it anywhere in the
spreadsheet? Right now it's returning a "0"...maybe I have something wrong?

Thanks, Brian

"Fred Smith" wrote in message
...
Correcting typo:
=SUMPRODUCT((C1:C100="National")*(G1:G100="Account ")*(LEFT(L1:L100,4)="Acme"))

Regards,
Fred

"Teethless mama" wrote in
message ...
=SUMPRODUCT((C1:C100="National")*(G1:G100="Account ")*(LEFT(L1:L100,4)="Acme))


"leimst" wrote:

I have a large spreadsheet and I would like to search 3 of the colums
for
certain information. If any of the information is found in any of the 3
columns, I would like to copy and paste that entire row to a new
worksheet.
Let's say that I would like to search column C for "National", column G
for
"Account" and column L for any entry starting with "Acme" (so maybe
"Acme*"?).

Any help would be appreciated.

Brian






  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,389
Default Extracting Data

Yes, you can place it anywhere in the spreadsheet.

Did you copy it, or did you type it in? If you typed it in, did you check
for errors?
Did you adjust the ranges to be appropriate for your setup?

The formula works for me, so it's either your data or a copying error.

Regards,
Fred.

"leimst" wrote in message
...
I haven't used this function before. Can I place it anywhere in the
spreadsheet? Right now it's returning a "0"...maybe I have something
wrong?

Thanks, Brian

"Fred Smith" wrote in message
...
Correcting typo:
=SUMPRODUCT((C1:C100="National")*(G1:G100="Account ")*(LEFT(L1:L100,4)="Acme"))

Regards,
Fred

"Teethless mama" wrote in
message ...
=SUMPRODUCT((C1:C100="National")*(G1:G100="Account ")*(LEFT(L1:L100,4)="Acme))


"leimst" wrote:

I have a large spreadsheet and I would like to search 3 of the colums
for
certain information. If any of the information is found in any of the
3
columns, I would like to copy and paste that entire row to a new
worksheet.
Let's say that I would like to search column C for "National", column G
for
"Account" and column L for any entry starting with "Acme" (so maybe
"Acme*"?).

Any help would be appreciated.

Brian









  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,766
Default Extracting Data

Hi,

This is what Advanced filters are used for. Please read up on advanced
filters in the Help menu

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"leimst" wrote in message
...
I have a large spreadsheet and I would like to search 3 of the colums for
certain information. If any of the information is found in any of the 3
columns, I would like to copy and paste that entire row to a new
worksheet. Let's say that I would like to search column C for "National",
column G for "Account" and column L for any entry starting with "Acme" (so
maybe "Acme*"?).

Any help would be appreciated.

Brian

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
extracting data from one sheet based on data in another - VLookup? des Excel Worksheet Functions 3 February 4th 09 07:27 PM
Extracting data amir2000 Excel Worksheet Functions 3 July 7th 08 12:14 PM
Extracting Data for .Txt Files By Unique Field Data La Excel Discussion (Misc queries) 3 July 17th 06 01:30 PM
Extracting data edmacd Excel Discussion (Misc queries) 2 September 30th 05 04:15 PM
Extracting data Al Excel Worksheet Functions 7 April 19th 05 04:38 PM


All times are GMT +1. The time now is 08:16 PM.

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"