LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 95
Default Zero as a value

In F8, I have a formula that results in the value "0" (zero). I have the
cell formatted as a number.

In H8, I have the following formula:
=IF(F8=2,"1",IF(F8=1,"2", IF(F8=0,"3",IF(F8=-1,"4",IF(F8<-2,"5","N/A")))))

Given that my result in F8 is 0, I would expect the expression to evaluate
to 3. However, it returns 1.

When I type over the result of the formula and enter 0 directly into the
cell, it does returns the correct answer of 3.

In each of my tests, when F8 results in anything other than 0, H8 seems to
work fine.
How do I get Excel to recognize the value 0 for F8 in cell H8?
 
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



All times are GMT +1. The time now is 12:49 PM.

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"