How to Three columns, different SUM by columns in one cell another sheet

K0st4din

Active Member
Joined
Feb 8, 2012
Messages
488
Office Version
  1. 2016
  2. 2013
  3. 2011
  4. 2010
  5. 2007
Platform
  1. Windows
Hi, I searched a lot, but I couldn't find anything on the internet.
I have three columns in sheet1
Cars, Fruits, Cities
and down in the columns I have numbers that I need to add (SUM) in sheet2
I'm asking for some help, I just don't know what to add to make things happen to me.
Example:
in sheet 1 in column B6 - Cars
b7 - 5
b8 - 15
b9 - 5
total 25

in sheet 2 I choose in cell A5 - cars and in B5 it should show me 25
if in A5 I choose - Fruits, in B5 - it must show me the sum of the fruits, if I have chosen in A5 - Cities, in B5 respectively the sum of cities.
Thank you in advance for your cooperation.
If there is something that is not clear, please ask me.
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
How about
=SUM(INDEX(Sheet1!A7:C20,,MATCH(A5,Sheet1!A6:C6,0)))
 
Upvote 0
YES, YES, YES, THANK YOU VERY MUCH
I wish you good health.
That's exactly what I was looking for.
You are the top 100000000000%
 
Upvote 0
Glad we could help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,830
Messages
6,121,835
Members
449,051
Latest member
excelquestion515

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