Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Pat K.
 
Posts: n/a
Default "IF" formula returns zero or other incorrect number

I have a workbook consisting of three interactive pages that I have worked
with for twoyears. Recently various cells have begun to return inncorrect
numbers, most often "Zero". Auditing the formula results in the formula
screen (use of Fx function) displaying the correct number, even while the
cell is displayingan incorrect number.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Niek Otten
 
Posts: n/a
Default "IF" formula returns zero or other incorrect number

Please give your formula, the values of the input cells, the expected result
and what you got instead

--
Kind regards,

Niek Otten

"Pat K." <Pat wrote in message
...
I have a workbook consisting of three interactive pages that I have worked
with for twoyears. Recently various cells have begun to return inncorrect
numbers, most often "Zero". Auditing the formula results in the formula
screen (use of Fx function) displaying the correct number, even while the
cell is displayingan incorrect number.



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Pat K.
 
Posts: n/a
Default "IF" formula returns zero or other incorrect number

The formula is: =IF(D23=D22,D23,D22). D23 value = 0. D22 = 24,000. Expected
result 24,000. Result 2,700.

"Niek Otten" wrote:

Please give your formula, the values of the input cells, the expected result
and what you got instead

--
Kind regards,

Niek Otten

"Pat K." <Pat wrote in message
...
I have a workbook consisting of three interactive pages that I have worked
with for twoyears. Recently various cells have begun to return inncorrect
numbers, most often "Zero". Auditing the formula results in the formula
screen (use of Fx function) displaying the correct number, even while the
cell is displayingan incorrect number.




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Peo Sjoblom
 
Posts: n/a
Default "IF" formula returns zero or other incorrect number

If the value in D23 is text it will be seen as greater than a number
Try

=ISTEXT(D23)

if that returns TRUE it is text, copy an empty cell, select D23 and do
editpaste special and select add


--

Regards,

Peo Sjoblom


"Pat K." wrote in message
...
The formula is: =IF(D23=D22,D23,D22). D23 value = 0. D22 = 24,000.

Expected
result 24,000. Result 2,700.

"Niek Otten" wrote:

Please give your formula, the values of the input cells, the expected

result
and what you got instead

--
Kind regards,

Niek Otten

"Pat K." <Pat wrote in message
...
I have a workbook consisting of three interactive pages that I have

worked
with for twoyears. Recently various cells have begun to return

inncorrect
numbers, most often "Zero". Auditing the formula results in the

formula
screen (use of Fx function) displaying the correct number, even while

the
cell is displayingan incorrect number.






  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Pat K.
 
Posts: n/a
Default "IF" formula returns zero or other incorrect number

Niek: Hi.Interestingly, when I went back to the workbook fter responding to
you, the cell containing 2,700 had changed to "0". I should add that the
input cells all have formulae in them that refer to cells on another page.
the displayed numbers in these cells are all the expected numbers.

"Niek Otten" wrote:

Please give your formula, the values of the input cells, the expected result
and what you got instead

--
Kind regards,

Niek Otten

"Pat K." <Pat wrote in message
...
I have a workbook consisting of three interactive pages that I have worked
with for twoyears. Recently various cells have begun to return inncorrect
numbers, most often "Zero". Auditing the formula results in the formula
screen (use of Fx function) displaying the correct number, even while the
cell is displayingan incorrect number.






  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Niek Otten
 
Posts: n/a
Default "IF" formula returns zero or other incorrect number

I think the solution is in Peo's answer.
test all the cells carefully with his suggested approach

--
Kind regards,

Niek Otten

"Pat K." wrote in message
...
Niek: Hi.Interestingly, when I went back to the workbook fter responding
to
you, the cell containing 2,700 had changed to "0". I should add that the
input cells all have formulae in them that refer to cells on another page.
the displayed numbers in these cells are all the expected numbers.

"Niek Otten" wrote:

Please give your formula, the values of the input cells, the expected
result
and what you got instead

--
Kind regards,

Niek Otten

"Pat K." <Pat wrote in message
...
I have a workbook consisting of three interactive pages that I have
worked
with for twoyears. Recently various cells have begun to return
inncorrect
numbers, most often "Zero". Auditing the formula results in the formula
screen (use of Fx function) displaying the correct number, even while
the
cell is displayingan incorrect number.






  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Pat K.
 
Posts: n/a
Default "IF" formula returns zero or other incorrect number

I tested as suggested and the answer came up FALSE. After working the spread
sheet through my mind during one of those early morning "twilight zone"
periods, I decided that the problem was a complicated circular formulation
involving a long string, so I broke the string by reformulating the
calculation of D24 to avoid D23. That seemed to work. Thanks for your help.

"Niek Otten" wrote:

I think the solution is in Peo's answer.
test all the cells carefully with his suggested approach

--
Kind regards,

Niek Otten

"Pat K." wrote in message
...
Niek: Hi.Interestingly, when I went back to the workbook fter responding
to
you, the cell containing 2,700 had changed to "0". I should add that the
input cells all have formulae in them that refer to cells on another page.
the displayed numbers in these cells are all the expected numbers.

"Niek Otten" wrote:

Please give your formula, the values of the input cells, the expected
result
and what you got instead

--
Kind regards,

Niek Otten

"Pat K." <Pat wrote in message
...
I have a workbook consisting of three interactive pages that I have
worked
with for twoyears. Recently various cells have begun to return
inncorrect
numbers, most often "Zero". Auditing the formula results in the formula
screen (use of Fx function) displaying the correct number, even while
the
cell is displayingan incorrect number.






Reply
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
Formula to determine number of Standard Deviations based on % of population Paul D. Simon Excel Worksheet Functions 8 September 15th 05 03:08 PM
formula to use when number of rows changes dynamically confused Excel Worksheet Functions 3 August 17th 05 03:55 PM
sumif formula returns incorrect value modular_brian Excel Worksheet Functions 1 June 16th 05 10:29 PM
Formula giving incorrect answer... Jambruins Excel Discussion (Misc queries) 3 February 25th 05 06:59 PM
How do I replace a negative number at the end of a formula with a. dealn2 Excel Discussion (Misc queries) 5 December 23rd 04 07:47 PM


All times are GMT +1. The time now is 03:47 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"