Database formula

TSTALBOT

New Member
Joined
May 30, 2018
Messages
1
I'm a novice with excel. I've used it very basically and am trying to expand the near limitless potential. I have a question. We have a spreadsheet with multiple inputs in different columns with assigned values. I'd like to be able to tally each common input and value over the entire sheet. As well as have the ability to add different variables to the summary column. Thanks for any and all help.[TABLE="width: 500"]
<tbody>[TR]
[TD]A
[/TD]
[TD]40
[/TD]
[TD]A
[/TD]
[TD]40
[/TD]
[TD]B
[/TD]
[TD]50
[/TD]
[TD]Total inventory
[/TD]
[TD]sum
[/TD]
[/TR]
[TR]
[TD]B
[/TD]
[TD]50
[/TD]
[TD]C
[/TD]
[TD]20
[/TD]
[TD]A
[/TD]
[TD]23
[/TD]
[TD]A
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]C
[/TD]
[TD]10
[/TD]
[TD]D
[/TD]
[TD]50
[/TD]
[TD]C
[/TD]
[TD]10
[/TD]
[TD]B
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]E
[/TD]
[TD]35
[/TD]
[TD]S
[/TD]
[TD]45
[/TD]
[TD]E
[/TD]
[TD]12
[/TD]
[TD]C
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]X
[/TD]
[TD]34
[/TD]
[TD]S
[/TD]
[TD]22
[/TD]
[TD]Z
[/TD]
[TD]12
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]D
[/TD]
[TD]22
[/TD]
[TD]A
[/TD]
[TD]12
[/TD]
[TD]W
[/TD]
[TD]10
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
Welcome to the Board!

Take a look at the SUMIF formula: https://www.techonthenet.com/excel/formulas/sumif.php

Note though that if you have "A" in three different columns, you may need to do three SUMIFS (one for each column) and add them together, i.e.
Code:
=SUMIF(A:A,"A",B:B) + SUMIF(C:C,"A",D:D) + SUMIF(E:E,"A",F:F)
 
Upvote 0

Forum statistics

Threads
1,223,230
Messages
6,170,883
Members
452,364
Latest member
springate

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