Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Worksheet Functions / August 2006

Tip: Looking for answers? Try searching our database.

wrong calculation in excel? formula outcome <> cell value??

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
mcclaud - 17 Aug 2006 16:56 GMT
I have A1:A4 cells filled with -1,2,3,4 and named the range A1:A4 "sales"

in A6 I have =SUM(IF(sales>0,sales)) outcome 8 (=-1+2+3+4) and it should be
2+3+4=9

When I click the Fx button to edit the formula, the outcome is correctly
shown as 9 ?

Can anybody tell me what I am doing wrong here?

I am using excel 2003 SP2
Paul B - 17 Aug 2006 17:12 GMT
mcclaud, try this,

=SUMIF(sales,">0",sales)

Signature

Paul B
Always backup your data before trying something new
Please post any response to the newsgroups so others can benefit from it
Feedback on answers is always appreciated!
Using Excel 2002 & 2003

> I have A1:A4 cells filled with -1,2,3,4 and named the range A1:A4 "sales"
>
[quoted text clipped - 7 lines]
>
> I am using excel 2003 SP2
shail - 17 Aug 2006 17:20 GMT
hi,

The function is correct. Try using CTRL+SHIFT+ENTER, as the way you
want it, it must be entered as ARRAY FUNCTION.
The function will be under braces {} automatically and the result will
come up

{=SUM(IF(sales>0,sales))}

thanks

Shail

> I have A1:A4 cells filled with -1,2,3,4 and named the range A1:A4 "sales"
>
[quoted text clipped - 7 lines]
>
> I am using excel 2003 SP2
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.