Hi All,
I have two worksheets which which contain around 20,000 rows of data in each. The important columns are A, B & C. What i need to do is start on sheets2 cell A2 (the reference), then look this up in sheet 1. If it finds it then sum the value of cells in sheets2 cell b2 with sheets1 column b, row that contain the reference. The sum needs to be in sheets2 columnAB. I need to then repeat this but rather sum the values from colmn B it'll be columns c and the sum in sheets2 column AC.
In my current code i use a vlookup and/or sumif's but they're slow, i have dug around the web site and scripting dirctories seem to be a quick way to do this, but they are out my VBA knowledge to adjust to suit!
Any help will be appreciated
Thanks in advance
Blunder
I have two worksheets which which contain around 20,000 rows of data in each. The important columns are A, B & C. What i need to do is start on sheets2 cell A2 (the reference), then look this up in sheet 1. If it finds it then sum the value of cells in sheets2 cell b2 with sheets1 column b, row that contain the reference. The sum needs to be in sheets2 columnAB. I need to then repeat this but rather sum the values from colmn B it'll be columns c and the sum in sheets2 column AC.
In my current code i use a vlookup and/or sumif's but they're slow, i have dug around the web site and scripting dirctories seem to be a quick way to do this, but they are out my VBA knowledge to adjust to suit!
Any help will be appreciated
Thanks in advance
Blunder