Hey all,
The issue that I am trying to solve is regarding different products that my company sells. I am trying to create a query that pulls in multiple products (About 5-8) and matches the product with the company ID that we sell it to. I can match the products to the company ID alright, but we have data from the past 100 years. Many of these companies no longer carry any of our products or no longer exist. This is where my problem comes in:
We give every company a 1 or 0 value to indicate if it carries each product, a 1 being yes, and 0 being no. What I am hoping to do is somehow put in a formula that will keep all of the companies that carry at least one of the products, but will exclude the companies that do not carry a single product and have a 0 for every product category. We are not interested in looking at companies that do not carry our product, but if they only carry one or two of our products would like them included in the table the query produces. I was tying a few different IF formulas as well as some OR formulas, but cannot seem to get the results that I am hoping for.
If what I am trying to do is not clear please let me know and I will try to rephrase it. Also I am not sure if the terminology that I am using is correct, especially with my use of the word formula. I am fairly new with working in Access, so any help is greatly appreciated. Thank you anyone that is willing to help and also anyone that was just willing to read this post and see if you could offer some advice.
Have a great day everyone,
Nick