Results 1 to 10 of 10

Lottery Filter#2, Low/High Digits, in Single CELL with "-"

Threaded View

  1. #4
    Registered User
    Join Date
    10-14-2013
    Location
    Perth, Australia
    MS-Off Ver
    Excel 2003, 2013
    Posts
    25

    Re: Lottery Filter#2, Low/High Digits, in Single CELL with "-"

    I would think a simpler way of doing it would be via your own user function or by first splitting the cells into columns eg. column H to L would be the individual numbers (use MID). However if you really want to do it with a single formula try:

    =SUM(IF(INT(MID(G6,1,2))<=18,1,0)+IF(INT(MID(G6,4,2))<=18,1,0)+IF(INT(MID(G6,7,2))<=18,1,0)+IF(INT(MID(G6,10,2))<=18,1,0)+IF(INT(MID(G6,13,2))<=18,1,0)) & "/" & SUM(IF(INT(MID(G6,1,2))>18,1,0)+IF(INT(MID(G6,4,2))>18,1,0)+IF(INT(MID(G6,7,2))>18,1,0)+IF(INT(MID(G6,10,2))>18,1,0)+IF(INT(MID(G6,13,2))>18,1,0))

    basically just separates out each number using MID and will do a count if <=18 then if > 18

    Apologies, did not refresh before answering the question, already answered above
    Last edited by NigelFrost; 10-15-2013 at 01:34 AM. Reason: already answered above did not see solution posted while editing

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Lottery Filter#1, SUM in Single CELL with "-"
    By david gonzalez in forum Excel Formulas & Functions
    Replies: 16
    Last Post: 10-15-2013, 12:00 PM
  2. [SOLVED] Count "A" and "V" as separate characters in a single cell
    By sportboy712 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-04-2013, 12:26 PM
  3. Replies: 2
    Last Post: 09-25-2012, 12:53 AM
  4. Replies: 2
    Last Post: 08-02-2011, 06:57 AM
  5. Macro that runs entered value through "low" and "high" range
    By Vika.F in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-14-2005, 03:35 AM

Tags for this Thread

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