Thread: Paste formula
View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.programming
Dave Peterson Dave Peterson is offline
external usenet poster
 
Posts: 35,218
Default Paste formula

Try dropping the $ signs around $H$3:$H$500:

=SUMPRODUCT(--($F$3:$F$500="7-F"),--($G$3:$G$500="A"),H$3:H$500)

The $H says to not change that column reference when you copy the formula.

Bobby wrote:

Hello
I would like to paste this formula into H2:AE2
=SUMPRODUCT(--($F$3:$F$500="7-F"),--($G$3:$G$500="A"),$H$3:$H$500)
Where the critera refs are static and the sum range follows the column
ie.
H2=SUMPRODUCT(--($F$3:$F$500="7-F"),--($G$3:$G$500="A"),$H$3:$H$500)
I2=SUMPRODUCT(--($F$3:$F$500="7-F"),--($G$3:$G$500="A"),$i$3:$i$500)
J2=SUMPRODUCT(--($F$3:$F$500="7-F"),--($G$3:$G$500="A"),$j$3:$j$500)

Thanks!


--

Dave Peterson