Sum if with a index/match problem

SteveNL86

Board Regular
Joined
Nov 11, 2014
Messages
109
Office Version
  1. 2016
Platform
  1. Windows
Dear reader,

I'm trying to use a sumif formula with a index/match formula. I've got a table as such:

A - NameB - FTE
Jim1,0
Bob1,5
Mary1,6
Max1,9
Anna0,9
Marc2,1
Nicole1,1
Susan1,3
Rose1,6

Next to it I have the following data:
C - DateD- JimE- BobF- MaryG- MaxH - AnnaI- MarcJ - NicoleK - SusanL - Rose
15-01YesNoNoNoYesNoNoNoYes
16-01YesNoNoNoYesNoNoNoYes
17-01NoYesNoYesYesNoNoNoYes
18-01NoYesNoNoYesNoNoNoYes
19-01NoYesNoNoYesNoNoNoNo
20-01NoYesNoNoYesNoYesNoNo
21-01NoYesNoNoNoNoYesNoNo
22-01NoYesNoNoNoNoYesNoNo
23-01NoYesNoNoNoNoNoNoNo

In column M I'm trying to count the sum of FTE of the people that have 'Yes' on that date. So for 15-01 it would be the sum of 1,0+0,9+1,6=3,5.

Edit: In addition, I have a column N with weeknumbers (1 to 52). In column O I'm trying to count the number of Yes results per week.

Any help is much appreciated!
 
Last edited:

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
How about
+Fluff 1.xlsm
ABCDEFGHIJKLM
1A - NameB - FTEC - DateJimBobMaryMaxAnnaMarcNicoleSusanRose
2Jim115-JanYesNoNoNoYesNoNoNoYes3.5
3Bob1.516-JanYesNoNoNoYesNoNoNoYes3.5
4Mary1.617-JanNoYesNoYesYesNoNoNoYes5.9
5Max1.918-JanNoYesNoNoYesNoNoNoYes4
6Anna0.919-JanNoYesNoNoYesNoNoNoNo2.4
7Marc2.120-JanNoYesNoNoYesNoYesNoNo3.5
8Nicole1.121-JanNoYesNoNoNoNoYesNoNo2.6
9Susan1.322-JanNoYesNoNoNoNoYesNoNo2.6
10Rose1.623-JanNoYesNoNoNoNoNoNoNo1.5
Lists
Cell Formulas
RangeFormula
M2:M10M2=SUMPRODUCT((D2:L2="Yes")*($D$1:$L$1=$A$2:$A$10)*($B$2:$B$10))
 
Upvote 0
Solution
Thank you so much Fluff, that works perfectly.

I'll try to see if I can find a way to count the numbers of Yes per week.
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,102
Messages
6,123,101
Members
449,096
Latest member
provoking

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
Back
Top