Sumifs and array question

Blitzkragen

New Member
Joined
Oct 18, 2019
Messages
1
ABCDEFGHIJKL
1ProjectValuexxxTitleHoursTitleHoursTitleHours
215Bob
314JustinBob
415BobJustin
518Justin

<tbody>
</tbody>

Can someone help? I know this should be fairly easy, but I am struggling with it. I am looking to sum up the values in column B if a matching value to Bob or Justin appears in F:K. This is just a parse of the information and I have been able to do this with a
=Sumifs(B:B,F:F,"Justin")+Sumifs(B:B,H:H,"Justin")+Sumifs(B:B,J:J,"Justin")

but is there an easier way?
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
maybe PowerQuery aka Get&Transform

ProjectValueTitleHoursTitle2Hours3Title4Hours5Value.1Sum
15​
BobBob
44​
14​
JustinBobJustin
47​
15​
BobJustin
18​
Justin

Code:
[SIZE=1]// Table5
let
    Source = Excel.CurrentWorkbook(){[Name="Table5"]}[Content],
    UnpivotOSC = Table.Unpivot(Source, {"Title", "Hours", "Title2", "Hours3", "Title4", "Hours5"}, "Attribute", "Value.1"),
    Group = Table.Group(UnpivotOSC, {"Value.1"}, {{"Sum", each List.Sum([Value]), type number}})
in
    Group[/SIZE]
 
Upvote 0

Forum statistics

Threads
1,213,536
Messages
6,114,207
Members
448,554
Latest member
Gleisner2

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