excel match feature

simon31

Board Regular
Joined
May 31, 2019
Messages
64
Hello there,

I use countif formula to find out how many times in one year 8 numbers have matched.

wcqjRUbueJkUQAAAABJRU5ErkJggg==


Usually 8 numbers match only once a year or maybe not. prize money for 8 numbers is 10k as above.

But there many times 4,5 or 6 numbers match.

For example to find out how many times 4numbers have matched, I have to scroll through for the entire year to find that out and that takes a very long time.

1) What formula can I use to find out how many times 4 numbers have matched so I can get the answer in one go.?

Each 4 numbers matched has prize money of $2.

2) what formula can I use to find out the total dollar value of the 4 numbers matched ?

https://filebin.net/kkiwhh8z3nsxif74

Thanks
simon
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
Hello there,

I use countif formula to find out how many times in one year 8 numbers have matched.

what is the countif formula used for above?
should be able to use the same for 4, 6 numbers etc
 
Upvote 0
the countif formula was countif(x:x,8) but that applies only to 8 hit numbers.

But if 7 numbers have hit instead of 8numbers, I don't know what formula to use if 7 numbers out of 8 have been hit.
 
Upvote 0
1) are the numbers in X:X generated by formula? If so, what is it?

2) shouldn't =countif(X:X,7) give you the number of 7 been hit?
 
Upvote 0
I should have rephrased my question but there is no option to edit once posted

13 14 22 36 55 66 77 78

I have chosen the above 8 numbers and wish to do the following.

1) find out how many times there were 8 hits,7 and 6 hits, I use countif for that


2) When I check for 6 hits of the above 8 numbers, I get about 12 times as the answer with the countif formula


3) I wish to know now which of 6 hits out of the above 8 numbers came 12 times


There could be a mix of those 6 hits that came 12 times
At the moment I spend hours to find that out .
Is there a way I can quick filter that list or use a formula for that.?
 
Upvote 0
forgot to add that I wish to know which of the 6 hits out of the above 8 numbers came 12 times in one year

Looking for a filter feature or formula for a quick results
 
Upvote 0
I've created a dummy file for testing, Column X works out the number of matches of the 8 nos in O2:V2, and you can use a filter in Row 1 to filtered out the no of hits

https://drive.google.com/file/d/1WNX1ovXxSCRoqmlufBsneqY7vgWzpSUq/view?usp=sharing


Book1
ABCDEFGHIJKLMNOPQRSTUVWX
1
2Week1314223655667778No of hits
31271015162023273134373940454950525558601
42361011151619232530313236394042454749511
53591013141718212529313237384143454850532
642567121417212328303336384044475054572
756101318222526303438424345495457586368692
868131519222426293237384247505253555762673
9748914151620212227282930323741454851553
108571014181921232730333537394447495152552
11912510131719202125262931323638424446512
12108131820252931343940444548495253586266692
131110111517212326283235364145485255575861632
14128111619212328333739434447505559626367691
15139131516181923273135374042434546484951521
1614351011121316172125273236404246515559613
1715481013141924263031364044474951556063644
18169131718232526293133374142475255565859622
191710151619222730333435373944484953575861651
20189111617192025273237394344454752535659600
211910141922262728293237414344474852576164692
22205101520252732374044454750555660626771761
2321371114172126272933343539444751555861632
242256712161920222629343840414347525456611
252347914192223263034374247485257586264682
26242349141516212628323538414245475051552
27258101213141517182023263134394448525355583
28268101314171819242831363839414651555962654
2927791013141720222728293234353640444750534
30289101415192328323338414348515457626771721
31299121314161920222629323336404244454752534
32308131618212429303132354043475153586061651
3331591012161718222631353740444752535456571
3432261015202427283236373944475054585964651
353324811141619232831363942454951566064672
36348131518202328323536383944454649545657622
37359141618192425283233354044495054565863641
383646811141823272833384044454751545558622
39371248111314151621252732333740434752562
403810121621242931323337383944495255566061621
4139691316192123252627323741434647515559642
42402789131718222428333439404142454748512
43415101519232728323742464749545760646870720
444215810131819242832353839404446505560612
454324811121620222528293437424547495255592
46441256101213151823273033384246505559612
47459111316182025303435394247515556596466673
4846271215192225283133354044495357586063681
4947491215192024293233384244455052565859630
504846813162025262934364144474951535657592
5149891417202429343540424446474849515559612
52507111316212630323335384044495354576062662
535110151718192126313539424546505559626769701
54528121419202226313439434549505559626465703
Sheet1
Cell Formulas
RangeFormula
X3=SUMPRODUCT(--(ISNUMBER(MATCH(O$2:V$2,$C3:$V3,0))))
 
Last edited:
Upvote 0
I went through your dummy file.

I am confused here.

I see in the table that Row 3 has 20 numbers of week 1

But there are 4 keno draws per day 10 am , 2pm, 3pm and 6pm.

So I needed to see 4 rows for the 4 times.

example
[TAB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/TD]
[TD]36
[/TD]
[TD]38
[/TD]
[TD]42
[/TD]
[TD]53
[/TD]
[TD]55
[/TD]
[TD]68
[/TD]
[TD]74
[/TD]
[TD]76
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]6pm
[/TD]
[TD]1
[/TD]
[TD]2
[/TD]
[TD]3
[/TD]
[TD]10
[/TD]
[TD]12
[/TD]
[TD]17
[/TD]
[TD]20
[/TD]
[TD]25
[/TD]
[TD]30
[/TD]
[TD]32
[/TD]
[TD]35
[/TD]
[TD]38
[/TD]
[TD]51
[/TD]
[TD]53
[/TD]
[TD]56
[/TD]
[TD]59
[/TD]
[TD]64
[/TD]
[TD]68
[/TD]
[TD]75
[/TD]
[TD]78
[/TD]
[/TR]
</tbody>[/TABLE]










So I do need to see dates and the 4 times

And the no of hits could then be listed in column X.

Now if you created a formula then I should be seeing which dates those hits occured and which times.
 
Upvote 0
so, you want the no of hits of the total of 4 draws of the day?

e.g on June 19, no of matches in 1st draw = 1, 2nd = 1, 3rd =2 and 4th =2. then you want June 19 shows 6, is that right?
 
Upvote 0
I wanted 10am draw to show how many numbers hits, same way for 1pm, 3pm and 6pm separately in its own row. The reason for that is I want an opportunity to filter for example only 10 am draw along with its corresponding date over a period of one year. And when I filter 10 am draw , all other numbers in the chosen period should get blanked out so I have a clear view of the 10 am draw hits over the one year period.

I should have the option to place any 8 numbers (between 1 and 80) on the first row as you did in my previous example.
 
Upvote 0

Forum statistics

Threads
1,224,820
Messages
6,181,159
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top