combination function google sheet

dabielcrbyton

New Member
Joined
May 28, 2017
Messages
39
a1b1c1d1e1f1g1
45 7
67 10
8
9




i have google sheet



i have array of number from a3:a7
please i need function begin in b3
that can have any number, example (1 2 3 4 9 10)
that make 5 card Straight
i mean, which 2 cards
i need to get this
to have
5 card Straight
(each cell in column b can have maximum 2 cards )

as you see their are multi option to that
i need all those option


you can see in b3:
i only need one card (10)
to make 5 card Straight
with 6 7 8 9 (in a3:a7)



you can see in b3:
i need two card (5 7)
to make 5 card Straight
with 4 6 8 (in a3:a7)




you can see in b4:
i need two card (7 10)
to make 5 card Straight
with 6 8 9 (in a3:a7)


and each 5 card (in a3:a7)
have more option
i need all those combination
please



renumber please , that each cell in

column b can have maximum 2 cards
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.

Forum statistics

Threads
1,217,356
Messages
6,136,077
Members
449,988
Latest member
Mabbas

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