LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,231
Default Text treated as a numeric value?

"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))


So you want I14 only if it's a positive number? Try

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




 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Text value 0e00 still treated as a number? Frag Excel Discussion (Misc queries) 5 January 10th 07 05:58 PM
Numeric in Text to convert back to the form of Numeric for VLookup Purposes achilles Excel Discussion (Misc queries) 4 February 6th 06 07:05 AM
Formula Being treated as Text BBB Excel Worksheet Functions 2 September 20th 05 05:38 PM
Formula is treated as data dickhob Excel Discussion (Misc queries) 1 July 16th 05 03:46 AM
Empty cell treated as 0 Vincdc Charts and Charting in Excel 2 June 3rd 05 01:12 PM


All times are GMT +1. The time now is 06:11 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"