If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
#REF! errors due to number of rows
Hello, I hope this problem description makes sense. If not, I can try
again. I have a spreadsheet that imports data from a csv file. I've set up a button to refresh the data from the csv file. The spreadsheet uses columns A thru BS and then hides many of the columns to give an "Inventory Report". This report shows columns like Item, Description, Bin Location, On Hand, Cost, Last Sales, etc. The spreadsheet then creates a final column titled "Extension" which is Cost x On Hand. This final column, Extension, is a calculation and not imported from the csv file. At the top of the spreadsheet are two calculations - Total Inventory Value with a formula of "=SUM(BT:BT)" and Value this View with a formula of "=SUBTOTAL(9,BT:BT)". This all works fine as long as the number of rows do not change (but that is not the real world). If I initially import a file with 6000 records the spreadsheet works. If I then import a file of 8000 records, the spreadsheet works. But if I then import a file of 5000 records the Extension Column rows 5001 thru 8000 show "#REF!" or "$0.00" and the totals at the top (Total Inventory Value and Value this View) also show "#REF!". If I manually clear the contents of the "#REF!" cells and the "$0.00" cells, the top formulas work. But this clearing has to be an automatic process and cannot be done manually. Any suggestions? All help is very much appreciated!! |
#2
|
|||
|
|||
#REF! errors due to number of rows
When you import the data, do you copy it over what might be there
already? It might be better to clear all the data first and then import - your formula for Extension can then be copied down for as many rows as you have in this latest import without giving rise to the #REF error. Hope this helps. Pete |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
page number positioning and format | tinaa | Page Layout | 3 | February 4th, 2006 12:38 AM |
Return SEARCHED Column Number of Numeric Label and Value | Sam via OfficeKB.com | Worksheet Functions | 23 | January 30th, 2006 06:16 PM |
Need Subforms? | AccessRookie | Using Forms | 7 | April 8th, 2005 09:30 AM |
Number of objects | thomak | General Discussion | 3 | February 17th, 2005 11:58 AM |
Here's a shocker | Mike Labosh | General Discussion | 2 | October 26th, 2004 05:04 PM |