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.