Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default moving source cell in excel

Excel 2002
I am setting up a Day End report of sales and expences to pull information
from various spreadsheets.
If the source sheet row moves the result is not accurate. For example if
within the source sheet rows are added or deleted and the "total" row moves
up or down, the report gives the wrong answer or a 0.
Is is possible to make a reference to a cell that is not static?

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 318
Default moving source cell in excel

The formulas normally adjust when rows are deleted or added. For example if
in Cell A1 you have a formula =A40 and you add or delete rows between the 2nd
and teh 39th row the formula adjusts automatically. Am I missing something?

Alok

"k9kapers" wrote:

Excel 2002
I am setting up a Day End report of sales and expences to pull information
from various spreadsheets.
If the source sheet row moves the result is not accurate. For example if
within the source sheet rows are added or deleted and the "total" row moves
up or down, the report gives the wrong answer or a 0.
Is is possible to make a reference to a cell that is not static?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default moving source cell in excel

Well that is what I thought too, but it is not happening. Let me look at it
again. What is happening is that the source cell number changes from A40 to
A38 or A52 as you add or subtract rows, so if you put in A40 it becomes a
useless cell.

"Alok" wrote:

The formulas normally adjust when rows are deleted or added. For example if
in Cell A1 you have a formula =A40 and you add or delete rows between the 2nd
and teh 39th row the formula adjusts automatically. Am I missing something?

Alok

"k9kapers" wrote:

Excel 2002
I am setting up a Day End report of sales and expences to pull information
from various spreadsheets.
If the source sheet row moves the result is not accurate. For example if
within the source sheet rows are added or deleted and the "total" row moves
up or down, the report gives the wrong answer or a 0.
Is is possible to make a reference to a cell that is not static?

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 318
Default moving source cell in excel

It seems what you want is to always use say Cell A40 in the formula
irrespective of any changes to the spreadsheet. IN that case you have to use
the following formula
=INDIRECT("A40")

"k9kapers" wrote:

Well that is what I thought too, but it is not happening. Let me look at it
again. What is happening is that the source cell number changes from A40 to
A38 or A52 as you add or subtract rows, so if you put in A40 it becomes a
useless cell.

"Alok" wrote:

The formulas normally adjust when rows are deleted or added. For example if
in Cell A1 you have a formula =A40 and you add or delete rows between the 2nd
and teh 39th row the formula adjusts automatically. Am I missing something?

Alok

"k9kapers" wrote:

Excel 2002
I am setting up a Day End report of sales and expences to pull information
from various spreadsheets.
If the source sheet row moves the result is not accurate. For example if
within the source sheet rows are added or deleted and the "total" row moves
up or down, the report gives the wrong answer or a 0.
Is is possible to make a reference to a cell that is not static?

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default moving source cell in excel

OK, I think I understand but I am still doing something wrong or am missing
something in the string as it sends back a #ref error, both workbooks are
open.

Here is where I am at:
=INDIRECT("'[Daily Accruals.xls]Sept Accruals'!$E$26+'[Daily
Accruals.xls]Oct Accruals'!$E$26")

The current cell where I want the final answer is I1086. (not in the above
referece)

The cell where I am getting the information are on 2 sheets
1.[Daily Accruals.xls]Sept Accruals'!$E$26
2.[Daily Accruals.xls]Oct Accruals'!$E$26
These 2 sheets are the ones whose cells move as you insert or delete rows.

Hopefully you can follow this. :/

"Alok" wrote:

It seems what you want is to always use say Cell A40 in the formula
irrespective of any changes to the spreadsheet. IN that case you have to use
the following formula
=INDIRECT("A40")

"k9kapers" wrote:

Well that is what I thought too, but it is not happening. Let me look at it
again. What is happening is that the source cell number changes from A40 to
A38 or A52 as you add or subtract rows, so if you put in A40 it becomes a
useless cell.

"Alok" wrote:

The formulas normally adjust when rows are deleted or added. For example if
in Cell A1 you have a formula =A40 and you add or delete rows between the 2nd
and teh 39th row the formula adjusts automatically. Am I missing something?

Alok

"k9kapers" wrote:

Excel 2002
I am setting up a Day End report of sales and expences to pull information
from various spreadsheets.
If the source sheet row moves the result is not accurate. For example if
within the source sheet rows are added or deleted and the "total" row moves
up or down, the report gives the wrong answer or a 0.
Is is possible to make a reference to a cell that is not static?



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 318
Default moving source cell in excel

Hi,
What you have is pretty close. I beleive it should be

=INDIRECT("[Daily Accruals.xls]Sept Accruals'!$E$26")+Indirect("[Daily
Accruals.xls]Oct Accruals'!$E$26")

"k9kapers" wrote:

OK, I think I understand but I am still doing something wrong or am missing
something in the string as it sends back a #ref error, both workbooks are
open.

Here is where I am at:
=INDIRECT("'[Daily Accruals.xls]Sept Accruals'!$E$26+'[Daily
Accruals.xls]Oct Accruals'!$E$26")

The current cell where I want the final answer is I1086. (not in the above
referece)

The cell where I am getting the information are on 2 sheets
1.[Daily Accruals.xls]Sept Accruals'!$E$26
2.[Daily Accruals.xls]Oct Accruals'!$E$26
These 2 sheets are the ones whose cells move as you insert or delete rows.

Hopefully you can follow this. :/

"Alok" wrote:

It seems what you want is to always use say Cell A40 in the formula
irrespective of any changes to the spreadsheet. IN that case you have to use
the following formula
=INDIRECT("A40")

"k9kapers" wrote:

Well that is what I thought too, but it is not happening. Let me look at it
again. What is happening is that the source cell number changes from A40 to
A38 or A52 as you add or subtract rows, so if you put in A40 it becomes a
useless cell.

"Alok" wrote:

The formulas normally adjust when rows are deleted or added. For example if
in Cell A1 you have a formula =A40 and you add or delete rows between the 2nd
and teh 39th row the formula adjusts automatically. Am I missing something?

Alok

"k9kapers" wrote:

Excel 2002
I am setting up a Day End report of sales and expences to pull information
from various spreadsheets.
If the source sheet row moves the result is not accurate. For example if
within the source sheet rows are added or deleted and the "total" row moves
up or down, the report gives the wrong answer or a 0.
Is is possible to make a reference to a cell that is not static?

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
I lose cell comments in Excel when moving a file via a USb drive Marvyn Excel Discussion (Misc queries) 0 January 19th 06 05:02 PM
how do I format a cell reference to move as source changes KGray Excel Worksheet Functions 1 August 13th 05 12:41 AM
Pasting Word table cell with paragraph markers into single Excel c Steve Excel Discussion (Misc queries) 1 June 16th 05 11:26 PM
Possible Lookup Table Karen Excel Worksheet Functions 5 June 8th 05 09:43 PM
GET.CELL Biff Excel Worksheet Functions 2 November 24th 04 07:16 PM


All times are GMT +1. The time now is 12:01 AM.

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

About Us

"It's about Microsoft Excel"