Marklarbear
Board Regular
- Joined
- Nov 6, 2003
- Messages
- 119
- Office Version
- 365
- Platform
- Windows
Hi brains trust
Looking for assistance with the following formula in Sheet2 cell F2 (the formula calculates a weighted Average Handle Time):
=IFERROR(SUMPRODUCT(('Sheet1'!$G$2:$G$53=C2)*('Sheet1'!$E$2:$E$53)*('Sheet1'!$B$2:$B$53=B2)*('Sheet1'!$F$2:$F$53))/SUM(('Sheet1'!$G$2:$G$53=C2)*('Sheet1'!$E$2:$E$53)),0)
The formula works the way it is intended to, however, is there a way to 'progress' the absolute range references by 51 rows automatically?
The spreadsheet that I have inherited has data that goes across several years. the number of rows I need to look at in total on sheet1 is 74000. The date changes every 51 rows.... so at the moment i'm manually changing the absolute reference range by 51 every time the date changes. This is a very slow process....
ie on Sheet2, in cell F52 the formula changes to:
=IFERROR(SUMPRODUCT(('Sheet1'!$G$54:$G$105=C52)*('Sheet1'!$E$54:$E$105)*('Sheet1'!$B$54:$B$105=B52)*('Sheet1'!$F$54:$F$105))/SUM(('Sheet1'!$G$54:$G$105=C52)*('Sheet1'!$E$54:$E$105)),0)
and in cell F102 the formula changes to:
=IFERROR(SUMPRODUCT(('Sheet1'!$G$106:$G$157=C102)*('Sheet1'!$E$106:$E$157)*('Sheet1'!$B$106:$B$157=B102)*('Sheet1'!$F$106:$F$157))/SUM(('Sheet1'!$G$106:$G$157=C102)*('Sheet1'!$E$106:$E$157)),0)
and so on.....
Below are samples how sheet1 and sheet2 are set up (apologies as work security protocols wont allow xl2bb):
Sheet1:
Sheet2:
As always - any help is greatly appreciated....
Looking for assistance with the following formula in Sheet2 cell F2 (the formula calculates a weighted Average Handle Time):
=IFERROR(SUMPRODUCT(('Sheet1'!$G$2:$G$53=C2)*('Sheet1'!$E$2:$E$53)*('Sheet1'!$B$2:$B$53=B2)*('Sheet1'!$F$2:$F$53))/SUM(('Sheet1'!$G$2:$G$53=C2)*('Sheet1'!$E$2:$E$53)),0)
The formula works the way it is intended to, however, is there a way to 'progress' the absolute range references by 51 rows automatically?
The spreadsheet that I have inherited has data that goes across several years. the number of rows I need to look at in total on sheet1 is 74000. The date changes every 51 rows.... so at the moment i'm manually changing the absolute reference range by 51 every time the date changes. This is a very slow process....
ie on Sheet2, in cell F52 the formula changes to:
=IFERROR(SUMPRODUCT(('Sheet1'!$G$54:$G$105=C52)*('Sheet1'!$E$54:$E$105)*('Sheet1'!$B$54:$B$105=B52)*('Sheet1'!$F$54:$F$105))/SUM(('Sheet1'!$G$54:$G$105=C52)*('Sheet1'!$E$54:$E$105)),0)
and in cell F102 the formula changes to:
=IFERROR(SUMPRODUCT(('Sheet1'!$G$106:$G$157=C102)*('Sheet1'!$E$106:$E$157)*('Sheet1'!$B$106:$B$157=B102)*('Sheet1'!$F$106:$F$157))/SUM(('Sheet1'!$G$106:$G$157=C102)*('Sheet1'!$E$106:$E$157)),0)
and so on.....
Below are samples how sheet1 and sheet2 are set up (apologies as work security protocols wont allow xl2bb):
Sheet1:
Sheet2:
As always - any help is greatly appreciated....