Hi Pradeep,
I don't think that's practicable with a formula. For example, for just one Plant in C4, for one month in C5 (which should be formatted as TEXT so that the input sheet name isn't converted to a date), the required formula for C15, which can be copied across & down to D22, is:
=SUMIFS(INDIRECT("'"&$C$5&"'!$R:$R",TRUE),INDIRECT ("'"&$C$5&"'!$Q:$Q"),$B15,INDIRECT("'"&$C$5&"'!$E: $E"),C$14,INDIRECT("'"&$C$5&"'!$B:$B"),$C$4)
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
|