Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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)) |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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)) |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
try:
=IF(ISNUMBER(I14),I14,IF(OR(I14="P",I14="E"),I$13, 0)) "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)) |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi,
If you are trying to eliminate neb=gative numbers then you need to test for a number 0 =IF(AND(ISNUMBER(I14),I140),I14,IF(OR(I14="P",I14 ="E"),I$13,0)) Mike "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)) |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
"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)) |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Text value 0e00 still treated as a number? | Excel Discussion (Misc queries) | |||
Numeric in Text to convert back to the form of Numeric for VLookup Purposes | Excel Discussion (Misc queries) | |||
Formula Being treated as Text | Excel Worksheet Functions | |||
Formula is treated as data | Excel Discussion (Misc queries) | |||
Empty cell treated as 0 | Charts and Charting in Excel |