Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
 
Posts: n/a
Default Automatically step a formula?

I have the following formula in a worksheet (MAIN):
V:\office files\Registration Forms\[cap1.xls]Sheet1'!$B$22

I want the next row, same cell (column) in MAIN to have the following
formula:
V:\office files\Registration Forms\[cap2.xls]Sheet1'!$B$22

and then on down the column increasing exponentially (cap3, cap4, cap5
etc)....where cap1 and cap2 etc are other worksheets associated with
the main worksheet.

Is there a way to do this automatically (generate the formula
automatically), rather than having to do it manually?

Any help is very much appreciated.

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bernard Liengme
 
Posts: n/a
Default Automatically step a formula?

Did you try
In A1:A10 the numbers 1,2,3,4,5...10
In your cells =INDIRECT("V:\office files\Registration
Forms\[cap"&A1&"1.xls]Sheet1'!$B$22")
and copy down the row
Any reference to a file requires the file to be open

By the way 1,2,3,4 is a linear increase, not exponential.
--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

wrote in message
oups.com...
I have the following formula in a worksheet (MAIN):
V:\office files\Registration Forms\[cap1.xls]Sheet1'!$B$22

I want the next row, same cell (column) in MAIN to have the following
formula:
V:\office files\Registration Forms\[cap2.xls]Sheet1'!$B$22

and then on down the column increasing exponentially (cap3, cap4, cap5
etc)....where cap1 and cap2 etc are other worksheets associated with
the main worksheet.

Is there a way to do this automatically (generate the formula
automatically), rather than having to do it manually?

Any help is very much appreciated.



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
 
Posts: n/a
Default Automatically step a formula?

You are right,sorry, linear.

I tried this...=INDIRECT("V:\office files\Registration
Forms\[cap"&A1&".xls]Sheet1'!$B$22") with the sequential numbers in the
A1-A10, etc.... it gives me a #ref. i've tried it with the other files
open/closed...i know i have done this before, not sure why i'm having
such a hard time with it now.

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bernard Liengme
 
Posts: n/a
Default Automatically step a formula?

REF indicates Excel is having problems locating the external file.
Open one of the files (CAP1); in the other file type = and then 'point' at
cell B22 in CAP1
This has to work!
Now modify the formula as I have suggested
best wishes
--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

wrote in message
oups.com...
You are right,sorry, linear.

I tried this...=INDIRECT("V:\office files\Registration
Forms\[cap"&A1&".xls]Sheet1'!$B$22") with the sequential numbers in the
A1-A10, etc.... it gives me a #ref. i've tried it with the other files
open/closed...i know i have done this before, not sure why i'm having
such a hard time with it now.



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
 
Posts: n/a
Default Automatically step a formula?

This is the formula that ended up working:
=INDIRECT("[cap"&$A3&".xls]Sheet1!$B$22")

I think that you had an extra ' in there..you told me to put: In your
cells =INDIRECT("V:\office files\Registration
Forms\[cap"&A1&"1.xls]Sheet1'!$B$22")

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
Is it possible? DakotaNJ Excel Worksheet Functions 25 September 18th 06 09:30 PM
The Excel cells are not automatically calc. existing formula. Peggy Martinez Excel Worksheet Functions 2 July 27th 05 07:22 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 07:48 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 03:28 AM
Can I set up the formula to update automatically? pugsly8422 Excel Worksheet Functions 1 March 23rd 05 04:43 PM


All times are GMT +1. The time now is 04:21 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"