+ Reply to Thread
Results 1 to 5 of 5

Picking only a odd number from a cell

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

    Picking only a odd number from a cell

    Hate to be so ignorant.

    IF A1 has a number range of 0, 1, 2, 3, 4, 5, 6, 7, 8, 9

    In B1 I only want to show if the odd number...

    Example: A1=3 then B1 would show 3. If A1=2 then B1 would be blank.
    Last edited by khank; 01-26-2012 at 10:20 AM.

  2. #2
    Forum Expert OnErrorGoto0's Avatar
    Join Date
    12-30-2011
    Location
    I DO NOT POST HERE ANYMORE
    MS-Off Ver
    I DO NOT POST HERE ANYMORE
    Posts
    1,655

    Re: Picking only a odd number from a cell

    Hi,
    =IF(MOD(A1,2)=1,A1,"")
    should do that for you.
    Good luck.

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

    Re: Picking only a odd number from a cell

    Sorry - In A1 I placed "9" and the formula showed "0" not "9"

  4. #4
    Forum Expert OnErrorGoto0's Avatar
    Join Date
    12-30-2011
    Location
    I DO NOT POST HERE ANYMORE
    MS-Off Ver
    I DO NOT POST HERE ANYMORE
    Posts
    1,655

    Re: Picking only a odd number from a cell

    I do not see how that is possible (even with 2008). Can you please post a sample workbook?

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

    Re: Picking only a odd number from a cell

    Sorry I got it to work. Thanks

+ 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