Sumproduct with indirect

%3CLINGO-SUB%20id%3D%22lingo-sub-1709904%22%20slang%3D%22en-US%22%3ESumproduct%20with%20indirect%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1709904%22%20slang%3D%22en-US%22%3EHello%20Friends%2C%3CBR%20%2F%3EI%20have%20two%20file%2C%20one%20file%20is%20having%20the%20companywise%20production%2C%20production%20cost%2C%20fule%20and%20power%20cost%20in%20different%20sheet%20and%20another%20file%20is%20the%20summary%20file%20with%20is%20a%20summary%20of%20company%20wise%20details%2C%20I%20am%20using%20sumproduct%20formula%20to%20fetch%20data%20in%20summary%20sheet.%3CBR%20%2F%3EMy%20question%20is%20how%20can%20I%20use%20indirect%20function%20with%20sumproduct%20to%20fetch%20data%20from%20different%20sheets%20from%20the%20mainsheet%20file.%3CBR%20%2F%3EAnd%20also%20how%20can%20I%20automate%20row%20no%20D54%20to%20D57%20instead%20of%20putting%20formula%20manually%20in%20the%20summary%20file.%3CBR%20%2F%3EPlease%20Help.%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1709904%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EFormulas%20and%20Functions%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1710841%22%20slang%3D%22de-DE%22%3ESubject%3A%20Sumproduct%20with%20indirect%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1710841%22%20slang%3D%22de-DE%22%3EHere%20a%20small%20examble%20%26amp%3B%20info%20for%20your%20task.%20%3CBR%20%2F%3E%3CBR%20%2F%3E%20%3DSUMPRODUCT((%22H2%3AH%22%26amp%3BD2)%3DR63)*(%22K2%3AK%22%26amp%3BD2)%3DR63))%20%3CBR%20%2F%3E%20Can%20I%20use%20INDIRECT%20within%20SUMPRODUCT%3F%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fstackoverflow.com%2Fquestions%2F18705321%2Fcan-i-use-indirect-within-sumproduct%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%20https%3A%2F%2Fstackoverflow.com%2Fquestions%2F18705321%2Fcan-i-use-indirect-within-sumproduct%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3ENikolino%20%3CBR%20%2F%3E%20I%20know%20I%20don't%20know%20anything%20(Socrates)%3C%2FLINGO-BODY%3E
Highlighted
Occasional Contributor
Hello Friends,
I have two file, one file is having the companywise production, production cost, fule and power cost in different sheet and another file is the summary file with is a summary of company wise details, I am using sumproduct formula to fetch data in summary sheet.
My question is how can I use indirect function with sumproduct to fetch data from different sheets from the mainsheet file.
And also how can I automate row no D54 to D57 instead of putting formula manually in the summary file.
Please Help.
1 Reply
Highlighted
Here a small examble & info for your Task.

=SUMPRODUCT((INDIRECT("H2:H"&D2)=R63)*(INDIRECT("K2:K"&D2)=R63))
Can I use INDIRECT within SUMPRODUCT?
https://stackoverflow.com/questions/18705321/can-i-use-indirect-within-sumproduct

Nikolino
I know I don't know anything (Socrates)