K
Ken G
=SUMIF($Q$35:$Q$2000,A9)*SUM($H$35:$H$2000,H:H>0)
Where A9 is a code ..say W
Where col Q between Q35 and Q2000 looks for that code W
if that is TRUE, then I want it to sum all numbers in H35:H2000 where H:H>0
Where H>0..is the corresponding number on that particular row..
In other words..I want it to look at Q35:Q2000, if it sees a "W" I want it
to sum the value in col H (same row as it saw the W)if that number is >0
Where A9 is a code ..say W
Where col Q between Q35 and Q2000 looks for that code W
if that is TRUE, then I want it to sum all numbers in H35:H2000 where H:H>0
Where H>0..is the corresponding number on that particular row..
In other words..I want it to look at Q35:Q2000, if it sees a "W" I want it
to sum the value in col H (same row as it saw the W)if that number is >0