Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 102
Default Result shows correct answer but cell shows 0

Hi everyone

I have been using the following formula
=SUMPRODUCT(($D$2:$D$576=T39)*($P$2:$P$576="Yes"))

which has been working well on all other columns ie M instead of P however
using P the result shows as 2 (when you step through it) which is correct but
when you hit enter the cell goes back to 0 - very strange - have checked
format etc and all looks ok. any thoughts on this one please?
--
Thanks as always

Lise
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Result shows correct answer but cell shows 0

I'm not sure why you're seeing what you're seeing when you step through
evaluating the formula.

But I'd guess that your data isn't what you expect.

Checking the format of a cell isn't enough.

You can format a cell as General (or a number) and enter ="2" and the result
will look like the number 2, but it's actually text.

If you're checking numbers, I'd compare the data comparing =count() and
counta().

=count()
will return the count of numbers in the range

=counta()
will return the count of everything in the range

If you expected was all numbers, then these should be equal.

If the problem is with the "yes" field, then I'd look for extra characters in
that data.

Using
=len(p2)
may help you find the problem.

Lise wrote:

Hi everyone

I have been using the following formula
=SUMPRODUCT(($D$2:$D$576=T39)*($P$2:$P$576="Yes"))

which has been working well on all other columns ie M instead of P however
using P the result shows as 2 (when you step through it) which is correct but
when you hit enter the cell goes back to 0 - very strange - have checked
format etc and all looks ok. any thoughts on this one please?
--
Thanks as always

Lise


--

Dave Peterson
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
The formula result is 76% but the cell shows 0%. Why? SteveB Excel Discussion (Misc queries) 4 September 15th 08 02:27 PM
vlookup shows result one cell above the expected result Marie Excel Worksheet Functions 7 November 14th 06 02:52 AM
The formula shows in cell but not the result Susan Excel Discussion (Misc queries) 1 November 9th 06 03:05 PM
fx shows correct value but not cell David Excel Worksheet Functions 1 October 13th 06 04:50 AM
Cell shows only formula, no result alexrm Excel Worksheet Functions 1 June 30th 05 08:58 PM


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