Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
thorvision
 
Posts: n/a
Default Extracting Records From Excel Database


I have a 1000 row/15 column Excel database. One of the fields is
"Project Description" where it decribes the nature of a capital
project. I'm looking to find all records relating to "Fire and
Security" which could include words such as "safety", "sprinkler",
"Upgrade" "Fire" all within the Project Description field. I need to
be able to pull all those records. How do I perhaps use Excel's
advance filter feature to perform this search for what I may refer to
as key words. Or, is there a worksheet function I can use to do the
same. Thanks.




--
thorvision

chess
------------------------------------------------------------------------
thorvision's Profile:
http://www.excelforum.com/member.php...fo&userid=1778
View this thread: http://www.excelforum.com/showthread...hreadid=489346

  #2   Report Post  
Posted to microsoft.public.excel.misc
Norman Jones
 
Posts: n/a
Default Extracting Records From Excel Database

Hi K,

I would suggest that you try the Advanced Filter option.

Debra Dalgleish has a good tutorial on using complex criteria at:

http://www.contextures.com/xladvfilter02.html

---
Regards,
Norman



"thorvision" wrote
in message ...

I have a 1000 row/15 column Excel database. One of the fields is
"Project Description" where it decribes the nature of a capital
project. I'm looking to find all records relating to "Fire and
Security" which could include words such as "safety", "sprinkler",
"Upgrade" "Fire" all within the Project Description field. I need to
be able to pull all those records. How do I perhaps use Excel's
advance filter feature to perform this search for what I may refer to
as key words. Or, is there a worksheet function I can use to do the
same. Thanks.




--
thorvision

chess
------------------------------------------------------------------------
thorvision's Profile:
http://www.excelforum.com/member.php...fo&userid=1778
View this thread: http://www.excelforum.com/showthread...hreadid=489346



  #3   Report Post  
Posted to microsoft.public.excel.misc
Max
 
Posts: n/a
Default Extracting Records From Excel Database

Another option to play with, using non-array formulas ..

Sample construct at:
http://cjoint.com/?lEktDY0nSB
Extract_Records_KeyWords_in_Column_thorvision_misc .xls

In sheet: A
-----------
Keywords are listed in col A, in A1 down (till A100, say)

In sheet: B
-----------
Assume the table is in cols A to O, data from row2 down
The key col, "Project Description" is assumed in col C, from C2 down

Use an empty column to the right of the table, say col Q

Put in Q2:
=IF(SUMPRODUCT(--ISNUMBER(SEARCH(A!$A$1:$A$100,C2))*(A!$A$1:$A$100< ""))=1,R
OW(),"")

Copy K2 down to say, K1000, to cover the max expected data
(Leave K1 empty)

In sheet: C
----------
Copy paste the same col headers over from sheet B

Put in A2:
=IF(ISERROR(SMALL(B!$Q:$Q,ROWS($A$1:A1))),"",INDEX (B!A:A,MATCH(SMALL(B!$Q:$Q
,ROWS($A$1:A1)),B!$Q:$Q,0)))

Copy A2 across to I2, fill down to I1000
(cover the same range size as done in col Q in sheet B)
--
Rgds
Max
xl 97
---
Singapore, GMT+8
xdemechanik
http://savefile.com/projects/236895
--
"thorvision" wrote
in message ...

I have a 1000 row/15 column Excel database. One of the fields is
"Project Description" where it decribes the nature of a capital
project. I'm looking to find all records relating to "Fire and
Security" which could include words such as "safety", "sprinkler",
"Upgrade" "Fire" all within the Project Description field. I need to
be able to pull all those records. How do I perhaps use Excel's
advance filter feature to perform this search for what I may refer to
as key words. Or, is there a worksheet function I can use to do the
same. Thanks.




--
thorvision

chess
------------------------------------------------------------------------
thorvision's Profile:

http://www.excelforum.com/member.php...fo&userid=1778
View this thread: http://www.excelforum.com/showthread...hreadid=489346



  #4   Report Post  
Posted to microsoft.public.excel.misc
Max
 
Posts: n/a
Default Extracting Records From Excel Database

Typo, line:
Copy A2 across to I2, fill down to I1000


should read:
Copy A2 across to O2, fill down to O1000


--
Rgds
Max
xl 97
---
Singapore, GMT+8
xdemechanik
http://savefile.com/projects/236895
--


  #5   Report Post  
Posted to microsoft.public.excel.misc
thorvision
 
Posts: n/a
Default Extracting Records From Excel Database


very grateful for your help


--
thorvision

chess
------------------------------------------------------------------------
thorvision's Profile: http://www.excelforum.com/member.php...fo&userid=1778
View this thread: http://www.excelforum.com/showthread...hreadid=489346



  #6   Report Post  
Posted to microsoft.public.excel.misc
Max
 
Posts: n/a
Default Extracting Records From Excel Database

You're welcome !
--
Rgds
Max
xl 97
---
Singapore, GMT+8
xdemechanik
http://savefile.com/projects/236895
--
"thorvision" wrote
in message ...

very grateful for your help



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
connect a form to excel database Kathy Excel Discussion (Misc queries) 5 October 10th 05 06:17 AM
Excel Range Value issue (Excel 97 Vs Excel 2003) Keeno Excel Discussion (Misc queries) 2 June 13th 05 02:01 PM
Update a Database Using Excel Dmorri254 Excel Worksheet Functions 1 April 11th 05 07:56 PM
Excel Database Query String Too Long Karl Burrows Excel Discussion (Misc queries) 4 January 27th 05 06:25 AM
Duplicate records in Excel Sheidsa Excel Discussion (Misc queries) 1 November 30th 04 12:23 AM


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