using sumproduct in place of sumif

lilolme

New Member
Joined
Nov 2, 2009
Messages
7
I'm using the following info as part of my spreadsheet.
A B C D E F
1 LA LS LU LT Sessions Month
2 LU 1.5 NOV
3 LA 3 DEC
4 LT 4 NOV
5 LA 2.1 NOV
LS JAN

I need a formula which will calculate the sum of sessions with the conditions that i need to select a month and a code. i'm using Excel 2007 and the following formula worked ok:

=SUMIFS($E$1:$E$4,$F$1:$F$4,"Nov",$A$1:$A$4,"LA").

However, i need to send it to someone using the 2003 version of Excel, which does not have the function SUMIFS. i think the formula i need is the SUMPRODUCT one but i cant get it to work.

Can anyone help please?
 

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.

Jonmo1

MrExcel MVP
Joined
Oct 12, 2006
Messages
44,061
Yep, sumproduct would work...

=SUMPRODUCT(--($F$1:$F$4="Nov"),--($A$1:$A$4="LA"),$E$1:$E$4)
 

Watch MrExcel Video

Forum statistics

Threads
1,129,685
Messages
5,637,798
Members
416,983
Latest member
LessThanAverageUser

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top