I was needing to refer to a dropdown box to change my sum range in my formula
=SUMPRODUCT(--('LINE GUIDE'!$C$2:$C$65536=$A51),--('LINE GUIDE'!$F$2:$F$65536="In-Line"),--('LINE GUIDE'!$I$2:$I$65536=$B51),('LINE GUIDE'!$BE$2:$BE$65536))
this is my formula...but only the sum range needs to changed based on by dropdown criteria:
Dropbox says 1 I want my formula to say =SUMPRODUCT(--('LINE GUIDE'!$C$2:$C$65536=$A51),--('LINE GUIDE'!$F$2:$F$65536="In-Line"),--('LINE GUIDE'!$I$2:$I$65536=$B51),('LINE GUIDE'!$BE$2:$BE$65536))
Dropbox says 2 I want my formula to say =SUMPRODUCT(--('LINE GUIDE'!$C$2:$C$65536=$A51),--('LINE GUIDE'!$F$2:$F$65536="In-Line"),--('LINE GUIDE'!$I$2:$I$65536=$B51),('LINE GUIDE'!$BF$2:$BF$65536))
Dropbox says 3 I want my formula to say =SUMPRODUCT(--('LINE GUIDE'!$C$2:$C$65536=$A51),--('LINE GUIDE'!$F$2:$F$65536="In-Line"),--('LINE GUIDE'!$I$2:$I$65536=$B51),('LINE GUIDE'!$BG$2:$BG$65536))
etc I have 11 different variables so an IF won't work.
Please help! Thanks in advance
=SUMPRODUCT(--('LINE GUIDE'!$C$2:$C$65536=$A51),--('LINE GUIDE'!$F$2:$F$65536="In-Line"),--('LINE GUIDE'!$I$2:$I$65536=$B51),('LINE GUIDE'!$BE$2:$BE$65536))
this is my formula...but only the sum range needs to changed based on by dropdown criteria:
Dropbox says 1 I want my formula to say =SUMPRODUCT(--('LINE GUIDE'!$C$2:$C$65536=$A51),--('LINE GUIDE'!$F$2:$F$65536="In-Line"),--('LINE GUIDE'!$I$2:$I$65536=$B51),('LINE GUIDE'!$BE$2:$BE$65536))
Dropbox says 2 I want my formula to say =SUMPRODUCT(--('LINE GUIDE'!$C$2:$C$65536=$A51),--('LINE GUIDE'!$F$2:$F$65536="In-Line"),--('LINE GUIDE'!$I$2:$I$65536=$B51),('LINE GUIDE'!$BF$2:$BF$65536))
Dropbox says 3 I want my formula to say =SUMPRODUCT(--('LINE GUIDE'!$C$2:$C$65536=$A51),--('LINE GUIDE'!$F$2:$F$65536="In-Line"),--('LINE GUIDE'!$I$2:$I$65536=$B51),('LINE GUIDE'!$BG$2:$BG$65536))
etc I have 11 different variables so an IF won't work.
Please help! Thanks in advance