+ Reply to Thread
Results 1 to 4 of 4

Mention odd/even after 2 place of decimal

  1. #1
    Forum Contributor
    Join Date
    02-19-2010
    Location
    INDIA
    MS-Off Ver
    MSoffice-2019
    Posts
    339

    Mention odd/even after 2 place of decimal

    I want to apply an excel formula who tell me the "ODD" or "EVEN" number after 2 place of decimal of a numeric figure.

    For an example:-

    520.73 ODD
    540521.76 EVEN
    0.17 ODD
    14.59 ODD
    28569.50 EVEN

    Definition of odd is "divide by 2 exactly and no remainder plus.

    Please suggest any excel formula.

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,079

    Re: Mention odd/even after 2 place of decimal

    This works

    =LOOKUP(MOD(A1*100,2)+1,{1,2},{"EVEN","ODD"})
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  3. #3
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,941

    Re: Mention odd/even after 2 place of decimal

    =IF(MOD(A1*100,2),"ODD","EVEN")
    Try this
    Please Login or Register  to view this content.
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  4. #4
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,941

    Re: Mention odd/even after 2 place of decimal

    or
    =IF(MOD(ROUND(A1,2)*100,2),"ODD","EVEN")
    Please Login or Register  to view this content.

+ 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. Decimal place Help
    By cadk73 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 06-26-2012, 03:56 PM
  2. Decimal Place Help
    By cadk73 in forum Excel General
    Replies: 4
    Last Post: 02-14-2012, 08:11 PM
  3. Decimal Place
    By Pale Cloud in forum Excel General
    Replies: 6
    Last Post: 04-06-2011, 05:54 AM
  4. Decimal place if statement
    By jacko311 in forum Excel General
    Replies: 2
    Last Post: 11-09-2009, 10:42 AM
  5. Format Decimal Place
    By ssjody in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-11-2006, 08:48 PM
  6. Replies: 3
    Last Post: 03-18-2006, 02:25 PM
  7. [SOLVED] changing to two place decimal
    By Debbie in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-05-2006, 01:00 AM
  8. Fixed decimal place
    By Cherid in forum Excel General
    Replies: 1
    Last Post: 05-03-2005, 01:06 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