View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ron Coderre
 
Posts: n/a
Default 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