How to put into formula form

madfc101

New Member
Joined
Jun 15, 2015
Messages
5
in Column B I have a list of text strings. in Column c I have a list of lengths that go to column B.

beneath I have all the sums and lengths.

How to I put in formula If certain word pops up in column B. Sum all above that row in Column C

example: how can I make it sum all above jars.

col B col C
pipe 1 30.31
pipe 2 32.42
jars 40.91
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
Welcome madfc101,

In the example above the sum would be 62.73. Based on that I created the following for you.


Excel 2010
ABCDE
1col Bcol Cpipe 230.31
2pipe 130.31
3pipe 232.42
4jars40.91
5jars 229
6wire 131
7wire 25
Sheet1
Cell Formulas
RangeFormula
E1=SUM(INDIRECT((ADDRESS(MATCH(D1,$A$2:$A$100,0),2)&":$B$2")))


Best,

Luke
 
Upvote 0

Forum statistics

Threads
1,196,480
Messages
6,015,448
Members
441,895
Latest member
Zululander

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