Updating a Summary Sheet from other sheets

healey21

Well-known Member
Joined
Dec 22, 2009
Messages
900
I have been presented with a challenge! I have been asked to see if it is possible to work on a summary sheet during a month and look at a sheet name that reflects the current month. taking some data and adding it to the summary sheet. The sceanrio is as follows:

Data is worked on a sheet during that month showing store Code, sales amount, Sales current values and some other information, on the summary sheet I am only interested on the above headings, I would like the store number and amounts to be placed to the right of the last columns but the store codes aren't awlays in order.

My examples are as follows:

Excel Workbook
ABCDEFG
1these are fields that do not changethese figures change monthly
2Store NameCountryRegionStore StatusStore CodeSales AmountSales Count
3KFCUSANARemoved4382$ 75,865.00 1,543.00
4Wendy'sUSANAFine3214$ 172,750.00 791.00
5MeijiJapanAPIn Progress7291$ 73,151.00 401.00
6Mc DonaldsMexicoLARemoved1782$ 77,337.00 1,916.00
7H&MSwedenEURemoved2819$ 92,937.00 319.00
8Mr BeanSingaporeAPIn Progress2739$ 186,279.00 1,611.00
9Baskin RobbinsMalaysiaAPFine8313$ 194,360.00 375.00
10ZaraSpainEUIn Progress6281$ 161,033.00 586.00
11SamsungKoreaAPIn Progress1234$ 137,644.00 214.00
12LenovoChinaAPFine7283$ 142,656.00 1,196.00
13MovenpickSwitzerlandEUWaived3729$ 78,251.00 296.00
Mar-10


Summary Sample

Excel Workbook
ABCDEFGHIJKLMN
1Dec-09Jan-10Feb-10
2Store NameCountryRegionStore StatusStore CodeSales AmountSales CountCount/Amount RatioSales AmountSales CountCount/Amount RatioSales AmountSales CountCount/Amount Ratio
3KFCUSANARemoved4382$ 298,731.11 2,9831.00%$ 86,460.00 1,6001.85%$ 176,291.0014460.82%
4Mc DonaldsMexicoLARemoved1782$ 37,281.28 2,1385.73%$ 195,583.00 1,0810.55%$ 28,463.0013364.69%
5H&MSwedenEURemoved2819$ 37,913.27 8292.19%$ 61,666.00 1,5392.50%$ 17,995.006713.73%
6Mr BeanSingaporeAPIn Progress2739$ 161,927.28 100.01%$ 38,339.00 1,4623.81%$ 105,416.006890.65%
7Baskin RobbinsMalaysiaAPFine8313$ 2,729.23 270.99%$ 142,388.00 1,9411.36%$ 92,859.007730.83%
8SamsungKoreaAPIn Progress1234$ 27,349.24 2310.84%$ 9,008.00 1,90021.09%$ 36,658.007422.02%
9Wendy'sUSANAFine3214$ 7,219.23 4896.77%$ 126,040.00 6090.48%$ 47,844.005561.16%
10MeijiJapanAPIn Progress7291$ 13,943.41 2,13915.34%$ 16,321.00 1,5559.53%$ 94,355.0018121.92%
11MovenpickSwitzerlandEUWaived3729$ 13,943.41 2,13915.34%$ 101,774.00 1,4221.40%$ 134,008.002330.17%
12ZaraSpainEUIn Progress6281$ 13,943.41 2,13915.34%$ 152,351.00 8700.57%$ 188,368.008440.45%
13LenovoChinaAPFine7283$ 13,943.41 2,13915.34%$ 192,550.00 1,6620.86%$ 119,183.0015521.30%
Master
<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p>
<o:p> </o:p>
<o:p>Any suggestions or guidance would be wonderful.</o:p>
<o:p></o:p>
 
Try this to start with

in Master sheet F3
=VLOOKUP(A3,INDIRECT("'"&F1&"'!A3:G13"),6,FALSE)
in Master sheet G3
=VLOOKUP(A3,INDIRECT("'"&F1&"'!A3:G13"),7,FALSE)
in master Sheet H3
=G3/F3

Now copy down the columns and across for each month required.

This solution assumes the following:
1) For each month on the Master sheet there is an equivalent Lookup sheet, ie sheets Dec-09, Jan-10, Feb-10 etc exist
2) The name of the monthly lookup sheet is in cell F1. If its in G1 or H1 change this in the formula.
3) Store name is unique, ie there is only ever one KFC in the list. If this is not so you'll have to modify the formulas but this is a start towards what youre after
 
Upvote 0
It comes back with a #ref! error, at the first attempt. would it be possible to explain this formula then I can look to see if I can correct it.

I have re read your comments and will see if I can amend this. The dates in row 1 are in merged cells.

Thankyou for looking at this
 
Last edited:
Upvote 0
I had to adjust my spreadsheet slightly but have managed to work it through thank you.

I will now look to see if I can automate the process.

Very Grateful
 
Upvote 0

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