Excel formula help

g3lo18

New Member
Joined
Nov 2, 2013
Messages
35
Hi,

I am working with excel as a hobby and creating a lottery checker for fun to gain some experience with excel and its formula's.

I am trying to figure out how to do the following.

I have two tables set up.

In one you have 7 numbers you enter and in another table you have 7 numbers that are drawn. I am trying to figure out how tell excel to compare the 7 numbers drawn to the numbers you entered. If all 7 numbers match, than I want excel to produce a 1. If not I want excel to produce a 0.

Any help is greatly appreciated. Each number is in its own cell so I have 7 cells across.
 
Im working with 2003. And I didnt try the above formulas. I figured it out with the one I posted above.
 
Upvote 0

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
Another question I have is, what formula am I able to use if I have 22 conditions to check?

For instance, I have 7 binaries.

0000000 or 1111111 or 0101011 etc.

I have 22 possibilities and in one cell I would like to have a formula that analyzes the set of 7 binaries and goes through 22 possibilities and if a certain possibility is matched it inserts a true value if not it inserts nothing.

I know Nested IF statements but I think they are limited to 7 outcomes.
 
Upvote 0
Another question I have is, what formula am I able to use if I have 22 conditions to check?

For instance, I have 7 binaries.

0000000 or 1111111 or 0101011 etc.

I have 22 possibilities and in one cell I would like to have a formula that analyzes the set of 7 binaries and goes through 22 possibilities and if a certain possibility is matched it inserts a true value if not it inserts nothing.

I know Nested IF statements but I think they are limited to 7 outcomes.

Would you give an example of a match and another of a no match?
 
Upvote 0
Ill try #20, Thank you!

For example:
1111111 - match - $200
0111111 - match - $100
0011111 - match - $50

etc
 
Upvote 0
Ill try #20, Thank you!

For example:
1111111 - match - $200
0111111 - match - $100
0011111 - match - $50

etc

Create a 2-column table which associates digit sequences with dollar values. You can then use:

=VLOOKUP(A2,Table,2,0)

where a digit sequence is located in A2.
 
Upvote 0

Forum statistics

Threads
1,215,148
Messages
6,123,300
Members
449,095
Latest member
Chestertim

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