Thread: sumif use
View Single Post
  #2   Report Post  
Andy Wiggins
 
Posts: n/a
Default

SUMIF(purchases!O18:purchases!O500,"="&B21,purchas es!Q18:purchases!Q500)


--
Regards
-
Andy Wiggins FCCA
www.BygSoftware.com
Excel, Access and VBA Consultancy


"steve alcock" wrote in message
...
Hi,

I want to use sumif in the following way :

SUMIF(purchases!O18:purchases!O500,"=b21",purchase s!
Q18:purchases!Q500)

and not :

SUMIF(purchases!O18:purchases!O500,"=01960",purcha ses!
Q18:purchases!Q500)

in otherwords I want to use the value of the cell b21 to
look up and not the typed in value ( 01960 ) can this be
done ?

thanks

steve