Sum all fruits in table

vorannon

New Member
Joined
Dec 11, 2019
Messages
2
Office Version
  1. 2016
Platform
  1. Windows
Hi. I would like to sum all fruits from table like this:
quantityfruit 1fruit 2fruit 3
4​
appleplum
3​
pearapplestrawberry
8​
apple
6​
strawberry

And the result would be:
apple
15​
plum
4​
pear
3​
strawberry
9​

If I use sumif I only get sum from column fruit 1

Thank you for your help
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
Something like:

=SUMPRODUCT(($B$2:$D$5=A8)*$A$2:$A$5)

where A8 contains your named fruit and A1:D5 contains the source table.
 
Upvote 0

Forum statistics

Threads
1,215,004
Messages
6,122,656
Members
449,091
Latest member
peppernaut

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