View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Pete_UK Pete_UK is offline
external usenet poster
 
Posts: 8,856
Default Text treated as a numeric value?

Try this instead:

=IF(ISNUMBER(I14),I14,IF(OR(I14="P",I14="E"),I$13, 0))

Hope this helps.

Pete

On Jul 23, 5:30 pm, betany70
wrote:
In the following equation I am trying to return a value if the cell contains
a number - I used if the cell is greater than zero but the formula is trating
a text value as true .... help?

=IF(I140,I14,IF(OR(I14="P",I14="E"),I$13,0))