Need formula to look up a specific text in Column A and sum up all matched text from Column B

jandtng

New Member
Joined
Apr 17, 2024
Messages
16
Office Version
  1. 365
Platform
  1. Windows
Need formula to look up a specific text in E2 from Column A and sum up all matched text from Column B in F2. TIA

1717532253781.png
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
This can be done with a simple SUMIF formula.
Excel Formula:
=SUMIF(A1:A7,E2,B1:B7)

See here for more details and examples: SUMIF Function
 
Upvote 1
Solution
You are welcome.
Glad I was able to help!

Note that there is a similar COUNTIF function, which counts the matching records, instead of summing them.
And there are also similar SUMIFS and COUNTIFS functions, which do the same thing, but allow for multiple criteria (instead of just one single one).
Lots of great Excel functions!
 
Upvote 0

Forum statistics

Threads
1,224,524
Messages
6,179,304
Members
452,904
Latest member
CodeMasterX

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