J
Joe Gieder
I have this formula: =SUMPRODUCT(--('Priced BOM'!G3:G874="Make"),--('Priced
BOM'!S3:S874=""))+SUMPRODUCT(--('Priced BOM'!$G$3:$G$874="-"),--('Priced
BOM'!$S$3:$S$874=""))+SUMPRODUCT(--('Priced BOM'!$C$3:$C$874="R"),--('Priced
BOM'!$S$3:$S$874=""))+SUMPRODUCT(--('Priced BOM'!$C$3:$C$874="I"),--('Priced
BOM'!$S$3:$S$874=""))+SUMPRODUCT(--('Priced BOM'!$C$3:$C$874="K"),--('Priced
BOM'!$S$3:$S$874=""))+COUNTIF('Priced BOM'!S3:S874,">0")+19
and it works fine. I tried to shorten it to:
=SUMPRODUCT(--(OR('Priced BOM'!G3:G874="Make",'Priced
BOM'!$G$3:$G$874="-",'Priced BOM'!$C$3:$C$874="R",'Priced
BOM'!$C$3:$C$874="I",'Priced BOM'!$C$3:$C$874="K")),--('Priced
BOM'!$S$3:$S$874=""))+COUNTIF('Priced BOM'!S3:S874,">0")+19
but it gives me a #VALUE error. Can the original formula be shortened? What
could I have done wrong with the shortened formula?
Thanks in advance for your help
Joe
BOM'!S3:S874=""))+SUMPRODUCT(--('Priced BOM'!$G$3:$G$874="-"),--('Priced
BOM'!$S$3:$S$874=""))+SUMPRODUCT(--('Priced BOM'!$C$3:$C$874="R"),--('Priced
BOM'!$S$3:$S$874=""))+SUMPRODUCT(--('Priced BOM'!$C$3:$C$874="I"),--('Priced
BOM'!$S$3:$S$874=""))+SUMPRODUCT(--('Priced BOM'!$C$3:$C$874="K"),--('Priced
BOM'!$S$3:$S$874=""))+COUNTIF('Priced BOM'!S3:S874,">0")+19
and it works fine. I tried to shorten it to:
=SUMPRODUCT(--(OR('Priced BOM'!G3:G874="Make",'Priced
BOM'!$G$3:$G$874="-",'Priced BOM'!$C$3:$C$874="R",'Priced
BOM'!$C$3:$C$874="I",'Priced BOM'!$C$3:$C$874="K")),--('Priced
BOM'!$S$3:$S$874=""))+COUNTIF('Priced BOM'!S3:S874,">0")+19
but it gives me a #VALUE error. Can the original formula be shortened? What
could I have done wrong with the shortened formula?
Thanks in advance for your help
Joe