Look for matching item in another workbook and add contents

kmarkou

New Member
Joined
Oct 2, 2006
Messages
2
Hi I have a real good one!!

in WKBKA SHT1 I have a range of text strings in Column A and figures in colum c and d of rows 6 through to 66 for example...


My consolidation of figures in WKBKB SHT1 would look at adding to its already existing amount in Column X row 1 for example;

I was hoping that in WKBKB I could perform a function that would look to match the text string in WKBKA column A and when there is a match to perform an add function to what ever is already existing in WKBKB

IE....

WKBKA / SHT1 (school ABC)

Row | Column
A B C
1 TOTALS OCT NOV
2 No of attendees 20 10
3 No of classes 3 6
4 No of vacanies 23 16

---------------------------------------------------------------------------------
WKBKB / SHT1 (combined Schools)

Row | Column
A B C
1 TOTALS NOV OCT
2 No of vacancies 567 998
3 No of attendees 345 777
4 No of classes 66 77
---------------------------------------------------------------------------------

I want to be able to run a macros that I would be able to include the name of the new WKBK and it would add to the existing total in WKBKB the extra information in WKBKA, mind you it would need to look to match the text string in column A and that in Row header in order to add the right numbers to the right cells

Thanks heaps KOSTAS
 

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.

Forum statistics

Threads
1,141,629
Messages
5,707,506
Members
421,511
Latest member
mgroah1

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