Lotto Trigger

Steve 1962

Active Member
Joined
Jan 3, 2006
Messages
379
Office Version
  1. 365
Platform
  1. Windows
Hi

I am attempting to have winning lotto combination flag a "winner" notification in cell C17. Currently it operates OK for the lottery however, an extra winning combination has been introduced which renders my formula useless. Previously, a minimum of three "main numbers" (column "A") and a minimum of one "supplementary" (column "B") would trigger a "winner" in cell C17. Now, an additional two prizes have been introduced which trigger a "winner" but I can't get the formula to work. The new two combinations are in rows 13 & 14 (eg: 2 main + 2 supplementary or 1 main + 2 supplementary). Any suggestions as to how I can modify my current formula to accommodate the change.

Thanks

Steve
Excel Workbook
ABC
1Main NumberSupplementary
262
361
460
552
651
750
842
941
1040
1132
1231
1322
1412
15
16
1731Winner
Sheet1
Excel 2007
Cell Formulas
RangeFormula
C17=IF(OR(A17>3,AND(A17>2,B17>0)),"Winner","")
 
Hello

Back on deck now. I have just gone through my spreadsheet and found that the mistake was on my end. All is working great now. I just want to says thanks for your help - for both the accuracy and speed of your reply.

I can't express how important this site is to regular Excel users.

All the best and have a great week.

Steve
 
Upvote 0

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
Hello

Back on deck now. I have just gone through my spreadsheet and found that the mistake was on my end. All is working great now. I just want to says thanks for your help - for both the accuracy and speed of your reply.

I can't express how important this site is to regular Excel users.

All the best and have a great week.

Steve
You're welcome. Thanks for the feedback! :cool:
 
Upvote 0

Forum statistics

Threads
1,224,607
Messages
6,179,871
Members
452,948
Latest member
UsmanAli786

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