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 / March 2008

Tip: Looking for answers? Try searching our database.

Problem calculating with a SUMIF

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
juliejg1 - 06 Mar 2008 18:00 GMT
I have the following formula:

=SUMIF(Data!$X$6:Data!$X$5000,">="&0.01,Data!BF$6:Data!BF$5000)-SUMIF(Data!$X$6:Data!$X$5000,">"&0.02,Data!BF$6:Data!BF$5000)

This is to look in cells x6:x5000 for any percentages that are greater than
or equal to 1% and less than 2%.  However, it is pulling all of the 2% as
well.  I can't figure the problem.
Jim - 06 Mar 2008 18:25 GMT
Change ,">"&0.02 to ,"<"&0.02

> I have the following formula:
>
[quoted text clipped - 3 lines]
> or equal to 1% and less than 2%.  However, it is pulling all of the 2% as
> well.  I can't figure the problem.
juliejg1 - 06 Mar 2008 18:32 GMT
No that doesn't work because of the minus sign.

> Change ,">"&0.02 to ,"<"&0.02
>
[quoted text clipped - 5 lines]
> > or equal to 1% and less than 2%.  However, it is pulling all of the 2% as
> > well.  I can't figure the problem.
Jim - 06 Mar 2008 18:36 GMT
You're right.  Too quick for me.  How about ...

Change ,">"&0.02 to ,">="&0.02

> No that doesn't work because of the minus sign.
>
[quoted text clipped - 7 lines]
> > > or equal to 1% and less than 2%.  However, it is pulling all of the 2% as
> > > well.  I can't figure the problem.
Sandy Mann - 06 Mar 2008 18:31 GMT
Having ,">"&0.02 in your subtraction formula mean that you are not
subtracting 2%.  Change it to ,">="&0.02

Signature

HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings

sandymann2@mailinator.com
Replace @mailinator.com with @tiscali.co.uk

>I have the following formula:
>
[quoted text clipped - 4 lines]
> or equal to 1% and less than 2%.  However, it is pulling all of the 2% as
> well.  I can't figure the problem.
T. Valko - 06 Mar 2008 18:42 GMT
If you want to exclude 2% change that criteria to: >=0.02

Signature

Biff
Microsoft Excel MVP

>I have the following formula:
>
[quoted text clipped - 4 lines]
> or equal to 1% and less than 2%.  However, it is pulling all of the 2% as
> well.  I can't figure the problem.
juliejg1 - 06 Mar 2008 18:59 GMT
Yep, you were all correct.  I need to add the equal sign.  Thanks!!

> If you want to exclude 2% change that criteria to: >=0.02
>
[quoted text clipped - 6 lines]
> > or equal to 1% and less than 2%.  However, it is pulling all of the 2% as
> > well.  I can't figure the problem.
T. Valko - 06 Mar 2008 20:26 GMT
You're welcome. Thanks for the feedback!

Signature

Biff
Microsoft Excel MVP

> Yep, you were all correct.  I need to add the equal sign.  Thanks!!
>
[quoted text clipped - 9 lines]
>> > as
>> > well.  I can't figure the problem.
 
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.