Sum all columns with a certain word within a cell.

tcorcoran15

New Member
Joined
Feb 16, 2017
Messages
22
Hello,

I am currently trying to combine a sumif and a right formula however I am at the stage where I am unsure if I am able to.

I have multiple descriptions in column A and each description ends with a specific word like as follows:

[TABLE="width: 500"]
<tbody>[TR]
[TD="align: center"]A[/TD]
[TD="align: center"]B[/TD]
[/TR]
[TR]
[TD="align: center"]Tom - Red
[/TD]
[TD="align: center"]1[/TD]
[/TR]
[TR]
[TD="align: center"]Tom - Blue[/TD]
[TD="align: center"]5[/TD]
[/TR]
[TR]
[TD="align: center"]Harry - Red[/TD]
[TD="align: center"]3[/TD]
[/TR]
</tbody>[/TABLE]

I would like to create a formula to sum up column B for all the ones which right(A1:A3,3)="Red" so in this instance it would give me 4 as the total. Is this possible?

Thanks in advance for any help.
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).

Forum statistics

Threads
1,224,823
Messages
6,181,182
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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