very slow spreadsheet

robonions

New Member
Joined
Aug 20, 2008
Messages
17
Hi, i've got a very large spreadsheet for managing stock at our factory. I have two worksheets, one which records stock in and also gives a working stock value, and another worksheet which records used stock everytime a unit of stock is used in the factory. The sheet runs very slow and i'm sure it is because of the lookups which reference both sheets. My working stock sheet has over 10'000 rows and growing, and the used stock sheet over close to 30'000 rows. I have tried to use a dynamic named range but as yet had no success.

The formula which I think is causing the problem is:

=N9209-(SUMIF('Used Stock'!V:V,AB9209,'Used Stock'!O:O))

This basically references the opening stock figure, then subtracts the sum of the entries in the used stock sheet against the same stock code. Excel has to go through all 30'000 entries in the used stock sheet sum the figures.

Does anyone know of a way of speeding this up please?
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
Hi,

It would be really good if you can post some sample data. And any other relevant further info.

SUMIF is pretty fast. Lookups which reference both sheets are not.

Non formula solutions might be possible. Such as a pivot table. Depends on your set up & requirements, hence my suggestion of sample data.

regards,
 
Upvote 0
Rob
A lot of users don't have Excel 2007 or 2010.
It might be easier if you used Excejeanie to post a screen shot of your data
 
Upvote 0
Have a look here, Rob:

http://www.excel-jeanie-html.de/index.php?f=1

It allows you to post data into a message in a format that can then easily be copied and pasted into Excel by members to do testing and propose solutions.

Alternatively, you can just place borders around your data in Excel, hit copy, and then hit paste into the body of your message.

Matty
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,289
Members
452,631
Latest member
a_potato

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