Creating a lottery Checker

danhole

New Member
Joined
May 11, 2005
Messages
27
I like meny people have done quite a few lines for the lottery this week, i have put them in a spread sheet and would like to type the winning numbers into my sheet and then have it query my numbers and either highlight the matches or even better show the number of matches in a new column.
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
Assuming the winning numbers are in A1:G1

and your selections in A3:F3, A4:F4 etc.

then you could select your range of selections and use this formula in conditional formatting

=MATCH(A3,$A$1:$F$1,0)

to highlight all matches

for a total of matches on each row, adding to Parsnip's suggestion, this formula can be use in H3 copied down column

=SUMPRODUCT(1-ISNA(MATCH(A3:F3,A$1:G$1,0)))
 
Upvote 0

Forum statistics

Threads
1,214,945
Messages
6,122,393
Members
449,081
Latest member
JAMES KECULAH

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