+ Reply to Thread
Results 1 to 6 of 6

Finding "split" numbers from a list

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    11-13-2010
    Location
    Warren, Michigan
    MS-Off Ver
    Excel 2008 for Mac
    Posts
    307

    Finding "split" numbers from a list

    As you’ll notice in attached sample “Workbook 8” I have a formula in B and D, which nicely to pull out all “odd” number and “even” numbers.

    As you see the list A1:A80 there are what I would call “split” numbers - i.e. 12, 23, 52, etc. Numbers which one number is “odd” (1, 3, 5, 7, 9).

    Is there a formula I could use to sort those numbers from my list in A an place in Column F?
    Attached Files Attached Files
    Last edited by khank; 08-14-2012 at 12:00 PM.

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Finding "split" numbers from a list

    So you want to look at the individual digits within the number and if they are a mixture of odd and even, put them in column F as opposed to B or D?
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Forum Contributor
    Join Date
    11-13-2010
    Location
    Warren, Michigan
    MS-Off Ver
    Excel 2008 for Mac
    Posts
    307

    Re: Finding "split" numbers from a list

    Yes that is what I'm looking to do...

  4. #4
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Finding "split" numbers from a list

    Try this..

    =IF(A1<10,"",IF(OR(AND(MOD(INT(A1/10),2)=0,MOD(A1,2)<>0),AND(MOD(INT(A1/10),2)<>0,MOD(A1,2)=0)),A1,""))
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  5. #5
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,619

    Re: Finding "split" numbers from a list

    How about

    =IF(AND(A1>10,MOD(LEFT(A1,1)+RIGHT(A1,1),2)),A1,"")

  6. #6
    Forum Contributor
    Join Date
    11-13-2010
    Location
    Warren, Michigan
    MS-Off Ver
    Excel 2008 for Mac
    Posts
    307

    Re: Finding "split" numbers from a list

    Thank you - both formula's work well...

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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