Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
I'm not sure I'm using the correct terminology but here's what I'm trying to accomplish. I have an Excel Sheet that is linked to an Access table (I did this by selecting Data / Import External Data / Import Data...). This works fine. Let's say there are 300 records in the table not including the header row. I have formulas in the first empty row in the spreadsheet (row 302, in this example), that simply subtract the value in the last two rows (so, =A300-A301, in this example). My table is dynamic and records can be added or deleted. When records are added and the data in the Excel Sheet is updated/refreshed the formulas do not retain their ordinal or relative positions. I.e., rather than subtracting the value in the last two rows they now subtract the value in what was formally the last row and the value in the "new" last row. So, in this example, =A301-A304, if three records are added to the table. I want the formula to reposition to =A303-A304. How do I get Excel to reference the last two rows regardless of whether rows are inserted or deleted, i.e. the two rows above where the formula is placed? Your assistance is greatly appreciated! Thanks, Manuel |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
how do I format numbers to ordinal i.e. 1st, 2nd etc | Excel Worksheet Functions | |||
VB macros & "relative positioning" | Excel Programming | |||
Ordinal Numbers | Excel Worksheet Functions | |||
Comments positioning relative to cell not worksheet home | Excel Discussion (Misc queries) | |||
Ordinal Nummbers List | Excel Programming |