Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
flat6
 
Posts: n/a
Default finding numbers

Is it possiable to find multible numbers on one sheet with vlook up? At work
we have 30 people in a lottery group and there are 5 lines of numbers per
person at 6 numbers per line. trying to make this easyer to do. any help
would be appreciated.
Thanks , Henry
  #2   Report Post  
Bernie Deitrick
 
Posts: n/a
Default

Henry,

Let's say that you put the winning numbers into cells B1:G1, and that your
list of guessed numbers start in row 2, column B to G, and go down the
sheet. In cell H2, use the formula

=SUMPRODUCT(--NOT(ISERROR(MATCH(B2:G2,$B$1:$G$1,FALSE))))

and copy down as far as you need. This will list the number of matches in
each set of numbers. You can sort (descending) or filter based on that
column to show the higher number of matches.

If you want to see the matches highlighted, select all your numbers (in
cells B2:G???) and then select Format | Conditional Formatting... Use
"Formula Is..." and the formula

=NOT(ISERROR(MATCH(B2,$B$1:$G$1,FALSE)))

Set the pattern of the format to whatever color you want to highlight the
actual matches.

HTH,
Bernie
MS Excel MVP

"flat6" wrote in message
...
Is it possiable to find multible numbers on one sheet with vlook up? At

work
we have 30 people in a lottery group and there are 5 lines of numbers per
person at 6 numbers per line. trying to make this easyer to do. any help
would be appreciated.
Thanks , Henry



  #3   Report Post  
flat6
 
Posts: n/a
Default

Thank you
Henry

"Bernie Deitrick" wrote:

Henry,

Let's say that you put the winning numbers into cells B1:G1, and that your
list of guessed numbers start in row 2, column B to G, and go down the
sheet. In cell H2, use the formula

=SUMPRODUCT(--NOT(ISERROR(MATCH(B2:G2,$B$1:$G$1,FALSE))))

and copy down as far as you need. This will list the number of matches in
each set of numbers. You can sort (descending) or filter based on that
column to show the higher number of matches.

If you want to see the matches highlighted, select all your numbers (in
cells B2:G???) and then select Format | Conditional Formatting... Use
"Formula Is..." and the formula

=NOT(ISERROR(MATCH(B2,$B$1:$G$1,FALSE)))

Set the pattern of the format to whatever color you want to highlight the
actual matches.

HTH,
Bernie
MS Excel MVP

"flat6" wrote in message
...
Is it possiable to find multible numbers on one sheet with vlook up? At

work
we have 30 people in a lottery group and there are 5 lines of numbers per
person at 6 numbers per line. trying to make this easyer to do. any help
would be appreciated.
Thanks , Henry




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Seed numbers for random number generation, uniform distribution darebo Excel Discussion (Misc queries) 3 April 21st 23 09:02 PM
Converting Numbers to Text properly Shirley Munro Excel Discussion (Misc queries) 1 February 16th 05 03:01 PM
finding data between two numbers (1000-1999)and totaling correspo. plasticmaker Excel Discussion (Misc queries) 1 January 7th 05 07:55 PM
Finding Numbers with Cells that also contain letters Adam Excel Discussion (Misc queries) 7 December 29th 04 02:41 PM
finding common numbers in large lists Jenn Excel Worksheet Functions 1 November 11th 04 07:42 PM


All times are GMT +1. The time now is 12:26 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"