View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.misc
Data Analyst Data Analyst is offline
external usenet poster
 
Posts: 10
Default Removing Decimals and Calculating Prime Number Fields

I'm using the following formula to remove decimals from my fields (ex.
1000.02.09.03):

=LEFT(A1,FIND(".",A1)-1)

I need to include in it the fields that don't have decimals (ex. 1000) to be
calculated as is instead of receiving the error message #VALUE!