Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default How to search a value with two criteria from a database?


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default How to search a value with two criteria from a database?

Search for the least likely value. Then for each one found, check for the
second value in the same row.

See help for the FindNext command in Excel VBA help to see an example.
Specify values for all arguments for the find method in your command (unlike
the example) to ensure consistent behavior.

--
Regards,
Tom Ogilvy

"alex lee" <alex wrote in message
...



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default How to search a value with two criteria from a database?

An alternate approach is to apply an Autofilter or and Advanced filter.

--
Regards,
Tom Ogilvy


"alex lee" <alex wrote in message
...



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
formula for database search - is it possible? sos-DC[_2_] Excel Discussion (Misc queries) 7 July 11th 08 08:14 PM
Search number within a database Montu Excel Worksheet Functions 2 December 7th 07 02:08 PM
=DMIN(database,field,criteria) question about criteria Dummy Excel Discussion (Misc queries) 2 April 16th 07 08:02 PM
Database Search For Help? Rumish8086 Excel Discussion (Misc queries) 12 January 11th 06 09:00 PM
How do I search excel spreadsheets using multiple search criteria. Kasper Excel Worksheet Functions 4 December 15th 05 12:26 AM


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