Link to home
Start Free TrialLog in
Avatar of Jenckes
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

Avatar of felixdsouza
felixdsouza
Flag of India image

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.
Avatar of Jenckes
Jenckes

ASKER

VBA
ASKER CERTIFIED SOLUTION
Avatar of jeverist
jeverist
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Jenckes

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
Jenckes,

You're very welcome!  Glad to help and thanks for the grade!

Jim