+ Reply to Thread
Results 1 to 4 of 4

What to use Vlookup,Countif or Sum ?

  1. #1
    Forum Contributor
    Join Date
    06-23-2014
    Location
    USA
    MS-Off Ver
    2010
    Posts
    239

    What to use Vlookup,Countif or Sum ?

    Hello all,

    I am trying to do a positional table for my lottery numbers (1-53) with (6) balls / I will call positions after the lottery is drawn. Now I am looking too find the position of occurrence of a number or any number that is drawn to it's position with in the combination.

    Example...
    Position 1 Position 2 Position 3 Position 4 Position 5 Position 6
    number
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    Now Some numbers will only occur with in some positions, to say "1" can only occur in "position 1" and "53" can only occur in "position 6" but all other numbers can and will occur in any other position, to say "10" can occur in "position 6", as well as "position 1" for a combination so on and so forth with other numbers. How to put a formula together too do this??

    Also I would like to count the occurrence of this number in it's position that it is seen.

    Now I would like to have my formula update as I update my Database with new combinations that have been drawn.

    So the confusion is what do I use for a formula (Vlookup, Countif, Sum, Indirect), how do I have my table update itself as I update my Database? Also can I adjust my range within the formula if I wanted to include more combinations?

    I have uploaded my test worksheet if anyone can help me out?

    Thank you,
    Last edited by b_rianv; 09-01-2014 at 10:07 AM.

  2. #2
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: What to use Vlookup,Countif or Sum ?

    You would need one table for each of the lotteries with the number of balls down the left side of the chart and the positions across the top like you have. The formula is just a COUNTIF as you can see in the file.
    Attached Files Attached Files
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  3. #3
    Forum Contributor
    Join Date
    06-23-2014
    Location
    USA
    MS-Off Ver
    2010
    Posts
    239

    Re: What to use Vlookup,Countif or Sum ?

    That's it! I thought it would be more of a challenge to do.

    Thank you my friend, again the wizard comes though!!

  4. #4
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: What to use Vlookup,Countif or Sum ?

    "Wizard"?? Maybe the Wiz that was or the Wiz that wizzes...LOL

    You're welcome.

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Is VLOOKUP & COUNTIF my best bet?
    By PvtJoker in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 12-05-2012, 08:08 AM
  2. countif and vlookup
    By mkim in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 08-01-2012, 07:12 AM
  3. vlookup with countif
    By spinkung in forum Excel General
    Replies: 2
    Last Post: 12-22-2009, 10:47 AM
  4. Not sure if this is Vlookup, countif or even both...
    By the-kiddy in forum Excel General
    Replies: 7
    Last Post: 11-24-2009, 06:19 PM
  5. countif and Vlookup
    By sagar in forum Excel General
    Replies: 11
    Last Post: 02-13-2007, 10:10 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1