View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Pete_UK Pete_UK is offline
external usenet poster
 
Posts: 8,856
Default how to determine if a series of numbers contain odd or even values

If they are a mixture of letters and numbers then you could just
examine the final digit:

=IF(MOD(RIGHT(A1,1),2)=0,"delete","keep")

Hope this helps.

Pete

Toppers wrote:
If they are NUMBERS, check if exactly divisible by 2

e.g. =IF(MOD(A1,2)=0,"delete","keep")

You could filter on "Delete" and then delete these rows

HTH


"Kittysaid" wrote:

I have lists of numbers that have a unique serial number. I would like to
delete the rows that contain EVEN serial numbers.