Jenckes
asked on
Sum and combine rows based on certain conditions
based on certain matching criteria I am trying to combine rows and sum the contents within certain cells in those rows.
Basically if any rows match with column A, D, and G then combine and sum contents within column F
Column A is the number
Column D is a letter
Column G is a description
so for all
10, B, Expense
sum the contents of F and reduce to one row
Basically if any rows match with column A, D, and G then combine and sum contents within column F
Column A is the number
Column D is a letter
Column G is a description
so for all
10, B, Expense
sum the contents of F and reduce to one row
Do you require a VBA solution? Because, if not, i think a pivot table should work for you. If you require help with using a pivot table, let me know and I will give you more detailed instructions.
ASKER
VBA
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hi Jim,
I just ran through an audit of some sample data and it looks like you killed it. It did exactly what I wanted and looking through your code I think I will be able to use it to help in with future projects. Thanks
I just ran through an audit of some sample data and it looks like you killed it. It did exactly what I wanted and looking through your code I think I will be able to use it to help in with future projects. Thanks
Jenckes,
You're very welcome! Glad to help and thanks for the grade!
Jim
You're very welcome! Glad to help and thanks for the grade!
Jim