View Single Post
  #3   Report Post  
Bob Phillips
 
Posts: n/a
Default

=SumIf(A2:M2,""&A1)

and

=SUMPRODUCT(--(A2:M2A1*90%),--(A2:M2<=A1*110%),A2:M2)

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Debbie Dies" wrote
in message ...

I have two problems.
First when I am doing a sumif formula, if I type
=Sumif(A2:M2,"5",A2:M2) then my value is returned for the sum of
whatever cells contain a number greater than 5. However if I want A1
to have the value to look for and I type =SumIf(A2:M2,"A1",A2:M2) I
get a value of 0. I don't know what is wrong.
Second I want to SumIf the criteria in A2:M2 is within 10% plus or
minus of the value I type in A1. I don't know how to ask it to sum
numbers that are within a plus or minus 10% of A1 or plus or minus 10%
of 5.


--
Debbie Dies
------------------------------------------------------------------------
Debbie Dies's Profile:

http://www.excelforum.com/member.php...fo&userid=7894
View this thread: http://www.excelforum.com/showthread...hreadid=391932