Quantcast
Channel: Hot Weekly Questions - Web Applications Stack Exchange
Viewing all articles
Browse latest Browse all 9782

last lottery results

$
0
0

I would like you to help me solve a question, I don't know the best way, the problem is the following:

I have a list of all 3000 last lottery results, being 6 columns, and each column with a sequence of numbers:Example:

image

So I created 6 inputs to perform a search, where each number placed, one in each cell, would filter, to bring only the results found.

after that, I would like only the filtered lines to appear when there are at least 4 numbers that I enter in the search fields.

Example:I looked for the numbers:

7, 15, 23, 45, 56, 59

Show in the list only when you have at least 4 of these numbers above that I'm looking for.

what I have working so far is this... the part of displaying only if there are four or more search numbers is missing..

=QUERY(RESULTADOS!A:U;"SELECT * WHERE (C like '"&A1&"' OR D like '"&A1&"' OR E like '"&A1&"' OR F like '"&A1&"' OR G like '"&A1&"' OR H like '"&A1&"') OR (C like '"&B1&"' OR D like '"&B1&"' OR E like '"&B1&"' OR F like '"&B1&"' OR G like '"&B1&"' OR H like '"&B1&"') OR (C like '"&C1&"' OR D like '"&C1&"' OR E like '"&C1&"' OR F like '"&C1&"' OR G like '"&C1&"' OR H like '"&C1&"') OR (C like '"&D1&"' OR D like '"&D1&"' OR E like '"&D1&"' OR F like '"&D1&"' OR G like '"&D1&"' OR H like '"&D1&"') OR (C like '"&E1&"' OR D like '"&E1&"' OR E like '"&E1&"' OR F like '"&E1&"' OR G like '"&E1&"' OR H like '"&E1&"') OR (C like '"&F1&"' OR D like '"&F1&"' OR E like '"&F1&"' OR F like '"&F1&"' OR G like '"&F1&"' OR H like '"&F1&"')";1)

Thanks


Viewing all articles
Browse latest Browse all 9782

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>