#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10
Default Query problem

We have a contract with one of our customers. As part of the contract we need
to report to them every month on what we have sold them on the contract.

However the contract has 60 different part numbers on it. How can I create a
query to pull out only the 60 part numbers from our thousands of products? I
know how to write queries normally but not with this many or statements.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,124
Default Query problem

If desired, send your file to my address below. I will only look if:
1. You send a copy of this message on an inserted sheet
2. You give me the newsgroup and the subject line
3. You send a clear explanation of what you want
4. You send before/after examples and expected results.


--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Keith H" wrote in message
...
We have a contract with one of our customers. As part of the contract we
need
to report to them every month on what we have sold them on the contract.

However the contract has 60 different part numbers on it. How can I create
a
query to pull out only the 60 part numbers from our thousands of products?
I
know how to write queries normally but not with this many or statements.


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10
Default Query problem

Hi Don,

Thanks for the offer but unfortunatly the data refers to medical records so
I can't sent it out.

But basicaly I am looking for a way to say to a query If field X equals one
of these valuse then include it. But instead of 9 or 10 possible values there
are between 60 - 100 of them.

Also the data is not stored in Excel to start with, its through an ODBC link
into an Informix system.

"Don Guillett" wrote:

If desired, send your file to my address below. I will only look if:
1. You send a copy of this message on an inserted sheet
2. You give me the newsgroup and the subject line
3. You send a clear explanation of what you want
4. You send before/after examples and expected results.


--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Keith H" wrote in message
...
We have a contract with one of our customers. As part of the contract we
need
to report to them every month on what we have sold them on the contract.

However the contract has 60 different part numbers on it. How can I create
a
query to pull out only the 60 part numbers from our thousands of products?
I
know how to write queries normally but not with this many or statements.


.

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
Problem with Web Query Albert Excel Discussion (Misc queries) 0 August 19th 09 05:23 AM
Ms Query problem Janie Excel Discussion (Misc queries) 2 September 19th 06 07:25 PM
Problem with MS Query - can't edit query jarems Excel Discussion (Misc queries) 2 December 12th 05 09:42 AM
Query problem Will Excel Discussion (Misc queries) 2 November 21st 05 03:02 PM
Problem with Query John Links and Linking in Excel 4 December 7th 04 02:49 PM


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