W
wayward
Hello All, I am currently working on a workbook that contains
sumproduct function, the problem I have is that the data worksheet tha
the sum product is looking at can have different columns at variou
times.
The equation I have so far is:
=SUMPRODUCT(((ISNUMBER(SEARCH("*Dist. Comp.*",'HOIT Cub
Data'!C2:C2000))*(LEFT('HOIT Cube Data'!B2:B2000,6)="FS6010")*('HOI
Cube Data'!L2:L2000))))
The first 2 criteria (column B and C) will never change but column L
('HOIT Cube Data'!L2:L2000) which I am summing is likely to change a
times, but will always be the last column. So i guess I can eithe
search for last column in worksheet or use a match on the column titl
ie (MATCH("354321*",'HOIT Cube Data'!$C$1:$AZ$1,0).
Any Thoughts or Suggestions would be appreciated.
Cheers
Kevi
sumproduct function, the problem I have is that the data worksheet tha
the sum product is looking at can have different columns at variou
times.
The equation I have so far is:
=SUMPRODUCT(((ISNUMBER(SEARCH("*Dist. Comp.*",'HOIT Cub
Data'!C2:C2000))*(LEFT('HOIT Cube Data'!B2:B2000,6)="FS6010")*('HOI
Cube Data'!L2:L2000))))
The first 2 criteria (column B and C) will never change but column L
('HOIT Cube Data'!L2:L2000) which I am summing is likely to change a
times, but will always be the last column. So i guess I can eithe
search for last column in worksheet or use a match on the column titl
ie (MATCH("354321*",'HOIT Cube Data'!$C$1:$AZ$1,0).
Any Thoughts or Suggestions would be appreciated.
Cheers
Kevi