Please point newbie in the right direction

Pruvan

New Member
Joined
Aug 25, 2002
Messages
1
Hi,
i have several years of lottery results stored in excel, is it possible to program excel to search all the results and display the occurences of a given set of numbers. Or to program excel to choose a random set of numbers and search for all occurences.
Thanks.
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
On 2002-08-26 22:51, Pruvan wrote:
Hi,
i have several years of lottery results stored in excel, is it possible to program excel to search all the results and display the occurences of a given set of numbers. Or to program excel to choose a random set of numbers and search for all occurences.
Thanks.

Try this :-

Concatenate each result into one number, and then use Find to look for the concatenated given set of numbers.

Similarly with concatenated sets of random numbers.
 
Upvote 0
You could try conditional formatting.

Say A1 houses a number you choose, highlight your range of numbers, go to Format/Conditional Formatting, enter in formula is

=Countif(range,$A$1)>1, click Format/Pattern, choose a color, click OK OK. Any number matching A1 should be highlighted.
 
Upvote 0

Forum statistics

Threads
1,214,952
Messages
6,122,458
Members
449,085
Latest member
ExcelError

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