+ Reply to Thread
Results 1 to 3 of 3

find the value of the last digit in a cell

  1. #1
    Thruway
    Guest

    find the value of the last digit in a cell

    I have a column of numerical values and I need to choose cells based on
    whether or not the value of the ending digit in the cell is equal to 1. For
    example I would want to choose a cell whose data is 12341 but not choose a
    cell whose data is 1234 .

    Any help is appreciated

    Thank you

  2. #2
    David Billigmeier
    Guest

    RE: find the value of the last digit in a cell

    Something like this?

    =RIGHT(A1,1)

    --
    Regards,
    Dave


    "Thruway" wrote:

    > I have a column of numerical values and I need to choose cells based on
    > whether or not the value of the ending digit in the cell is equal to 1. For
    > example I would want to choose a cell whose data is 12341 but not choose a
    > cell whose data is 1234 .
    >
    > Any help is appreciated
    >
    > Thank you


  3. #3
    Ron Coderre
    Guest

    RE: find the value of the last digit in a cell

    If the test is for a numeric value, try this:

    =--RIGHT(A1,1)=1
    or
    =MOD(A1,10)=1



    Does that help?

    ***********
    Regards,
    Ron

    XL2002, WinXP-Pro


    "Thruway" wrote:

    > I have a column of numerical values and I need to choose cells based on
    > whether or not the value of the ending digit in the cell is equal to 1. For
    > example I would want to choose a cell whose data is 12341 but not choose a
    > cell whose data is 1234 .
    >
    > Any help is appreciated
    >
    > Thank you


+ 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