Which formula

singingsister

Board Regular
Joined
Jun 13, 2006
Messages
145
I have a spreadsheet with various text in column a, what I want to do is tell excel to look for particular text in column a, and if it's there, look at column l and add up the total amount in column l for all the cells in column a with the text I want

ie I want to find all the Joe Bloggs (column A) and all up all his expenses (column L), but the figures in column L, will, in the future, change.

HELP!
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.

singingsister

Board Regular
Joined
Jun 13, 2006
Messages
145
i know how to do the first bit
ie =countif(sheetname!a1:100,"=joe bloggs")

but i need to tell it that if it find joe bloggs it needs to add up the relevant cell in column L.
(so all expenses for joe bloggs added up)

What do I need to add.
 

Forum statistics

Threads
1,136,926
Messages
5,678,618
Members
419,776
Latest member
mikelowski

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
Top