Formula to add a column based on Specific text

Skumby

New Member
Joined
Aug 22, 2012
Messages
36
I have an annual leave spreadsheet that I need to add up the LSL provisions. I have totals table that has the department which I would like to have a sumif style function so the formula looks at the dept in Q729 then adds up all the figures that relate to that Dept in the above table where the (dept is in column B) and returns all the corresponding figures in column R.
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
I have an annual leave spreadsheet that I need to add up the LSL provisions. I have totals table that has the department which I would like to have a sumif style function so the formula looks at the dept in Q729 then adds up all the figures that relate to that Dept in the above table where the (dept is in column B) and returns all the corresponding figures in column R.
Update - I think the formula will be too fiddly to create now that I look closer. I need to add a specific cell that relates to the wording from a different row aghhh
 
Upvote 0
A couple of things might assist getting some help here

1. I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)


2. Give us a smallish set of sample data and the expected results and explain again in relation to that sample data. MrExcel has a tool called “XL2BB” that lets you post samples of your data that will allow us to copy/paste it to our Excel spreadsheets, so we can work with the same copy of data that you are. Instructions on using this tool can be found here: XL2BB Add-in
Note that there is also a "Test Here” forum on this board. This is a place where you can test using this tool (or any other posting techniques that you want to test) before trying to use those tools in your actual posts.
 
Upvote 0

Forum statistics

Threads
1,221,519
Messages
6,160,298
Members
451,636
Latest member
ddweller151

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