How to sum values based on a drop-down list?

GerganaG

New Member
Joined
May 14, 2017
Messages
1
Hello! So now I will explain myself better. I'm doing this for a school project but I am not sure about the formula. I am doing reference about sold mobile phones in a techno shop. But I have made a drop-down list for the models of the mobile phones because, you know, there are a lot of different kinds. I have made a column about the number of the phones at the beggining of the month. Here's a picture to understand me better(Click on the pics for a better view):


So what I want to do is to sum all of the phones at the beggining of the month. I'll give an example. Here is the formula I have used for cell E4:


What I want to do is to basically sum these values so 40+50+30+40=160. So we have 160 mobile phones brand Huawei. I want to sum the numbers of iPhone,Samsung,LG,Nokia the same way. Let's say that they are 300,200,450,150. So the result i want to get at cell C11 is the total number of the mobile phones at the beginning. Basically 160+300+200+450+150=1260. This was just an example. I really hope you understood me. It's really important. Is there a formula for this? Thank you in advance!
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
shopphone makephone modelnumber
shop1make1mod125
shop1make1mod229
shop1make1mod333
shop1make2mod137
shop1make2mod241
shop1make2mod345
shop1make2mod449
shop2make1mod199
shop2make1mod297
shop2make1mod395phone makemake2
shop2make2mod193phone modelmod3
shop2make2mod291
shop2make2mod389Sum of numberTotal
shop2make2mod487Total134
I presume your basic data is something like this
a pivot table will pull the total of a particular make and model
in both shops

<colgroup><col><col><col><col span="6"><col><col><col span="3"></colgroup><tbody>
</tbody>
 
Upvote 0

Forum statistics

Threads
1,215,412
Messages
6,124,761
Members
449,187
Latest member
hermansoa

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