Searching for values in multiple cells, and reporting info in corresponding cells.

DANNYB667

New Member
Joined
Aug 9, 2016
Messages
3
Ok here goes....I have a spreadsheet with multiple data charts. I need a formula (for column J) which searches through column C for a specific text (which could occur in any or all of the cells), and when returns true, adds the numbers up in the correlating cell in colum d.

Example C D J
a 1 a 6
b 3 b 7
c 4 c 4
b 4 d 44
a 2
a 3
d 44

here is what i came up for a single cell =IF(C1="a",D1,0) but i need it to search for all of the "a" in column C, and add all the amounts in column D. HELP!!!!
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
I believe that I have a similar request.


I have a column with names, a column with hours they worked. There's a list of names under the data, and next to the list I want it the result to be the added hours for each name. Can you help?

NAMEHOURSListTotal hours [this where I want the formula]
John1Bob2
Bob2John5
John1Mark2
John3
Mark2

<tbody>
</tbody>
 
Upvote 0

Forum statistics

Threads
1,215,632
Messages
6,125,909
Members
449,274
Latest member
mrcsbenson

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