Sum if adjacent cell is not empty

Paklr

New Member
Joined
Dec 20, 2013
Messages
5
Hi, my problem is: I have a table with values in a sheet called "Hist", imagine this:

Michael Hepburn90
Michael HepburnTeam A50
Michael HepburnTeam A10
Andrey ZeitsTeam B40

<tbody>
</tbody>

And in another sheet caled "Classification" I have in A2 "Michael Hepburn", and I'd like to have in B2 the sum of all Michael Hepburn values in "Hist" when the cell next to it is not blank. In this case, the result of that sum would be 50 + 10 = 60.
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
Hi

Assuming the data in Hist!A:C, Try:

=SUMIFS(Hist!C2:C5,Hist!A2:A5,"Michael Hepburn",Hist!B2:B5,"?*")
 
Upvote 0

Forum statistics

Threads
1,214,649
Messages
6,120,733
Members
448,987
Latest member
marion_davis

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