Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
sb
 
Posts: n/a
Default #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   Report Post  
Posted to microsoft.public.excel.newusers
Pete_UK
 
Posts: n/a
Default #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

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
formula to use when number of rows changes dynamically confused Excel Worksheet Functions 3 August 17th 05 03:55 PM
Insert a number of rows based on a value in a cell on active row iRocco Excel Worksheet Functions 0 August 10th 05 08:46 PM
Counting the number of rows blurboiboi Excel Worksheet Functions 1 July 13th 05 11:20 AM
Number columns and rows in Excel, Example: C027R36 Kezmaar Setting up and Configuration of Excel 1 July 12th 05 08:05 PM
Dynamic number of ROWS Gerrym Excel Worksheet Functions 2 November 16th 04 04:03 PM


All times are GMT +1. The time now is 09:59 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"