Home |
Search |
Today's Posts |
#1
|
|||
|
|||
Modify A SumProduct Formula
I currently use this formula:
=SUMPRODUCT(--($S$10:$S$60001=$H$2);$H$10:$H$60001)/$T$4 My ColS values are dates that look like so: 20050512 (year,month,day). I would like to modify the formula to sum only if the 5th and 6th character = 05. Thank you in advance. |
#2
|
|||
|
|||
Try:
=SUMPRODUCT(--(MID($S$10:$S$60001,5,2)="05");$H$10:$H$60001)/$T$4 "carl" wrote: I currently use this formula: =SUMPRODUCT(--($S$10:$S$60001=$H$2);$H$10:$H$60001)/$T$4 My ColS values are dates that look like so: 20050512 (year,month,day). I would like to modify the formula to sum only if the 5th and 6th character = 05. Thank you in advance. |
#3
|
|||
|
|||
=SUMPRODUCT(--(MONTH($S$10:$S$60001)=5);$H$10:$H$60001)/$T$4
-- HTH Bob Phillips "Duke Carey" wrote in message ... Try: =SUMPRODUCT(--(MID($S$10:$S$60001,5,2)="05");$H$10:$H$60001)/$T$4 "carl" wrote: I currently use this formula: =SUMPRODUCT(--($S$10:$S$60001=$H$2);$H$10:$H$60001)/$T$4 My ColS values are dates that look like so: 20050512 (year,month,day). I would like to modify the formula to sum only if the 5th and 6th character = 05. Thank you in advance. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How can I use a cell reference in Sumproduct array formula? | Excel Discussion (Misc queries) | |||
Help with macro formula and variable | Excel Worksheet Functions | |||
sumproduct formula to slow | Excel Worksheet Functions | |||
SUMPRODUCT formula | Excel Worksheet Functions | |||
SUMPRODUCT formula | Excel Worksheet Functions |