Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
pikapika13
 
Posts: n/a
Default Autofilling a formula: not working?


I currently have the following formula:
=INDIRECT($A$1&".xls!A1").
I need to drag and increment the formula but it won't work.
Desired results:

INDIRECT($A$1&".xls!A2")
INDIRECT($A$1&".xls!A3")
etc.

Thanks in advance for your help.


--
pikapika13
------------------------------------------------------------------------
pikapika13's Profile: http://www.excelforum.com/member.php...o&userid=10892
View this thread: http://www.excelforum.com/showthread...hreadid=523128

  #2   Report Post  
Posted to microsoft.public.excel.misc
 
Posts: n/a
Default Autofilling a formula: not working?

Hi

Try this:
=INDIRECT($A$1&".xls!A"&ROW()-2)
where the row number minus 2 is the number you want. The example above would
look at the row number the formula is on and subtract 2 from it.
This will then increment when you fill down (as the row number increments).

Andy.

"pikapika13" wrote
in message ...

I currently have the following formula:
=INDIRECT($A$1&".xls!A1").
I need to drag and increment the formula but it won't work.
Desired results:

INDIRECT($A$1&".xls!A2")
INDIRECT($A$1&".xls!A3")
etc.

Thanks in advance for your help.


--
pikapika13
------------------------------------------------------------------------
pikapika13's Profile:
http://www.excelforum.com/member.php...o&userid=10892
View this thread: http://www.excelforum.com/showthread...hreadid=523128



  #3   Report Post  
Posted to microsoft.public.excel.misc
pikapika13
 
Posts: n/a
Default Autofilling a formula: not working?


Thanks for the quick reply. It works. Now how do I have it for the
columns? the "column" function gives me a number. I would need a
letter.


--
pikapika13
------------------------------------------------------------------------
pikapika13's Profile: http://www.excelforum.com/member.php...o&userid=10892
View this thread: http://www.excelforum.com/showthread...hreadid=523128

  #4   Report Post  
Posted to microsoft.public.excel.misc
 
Posts: n/a
Default Autofilling a formula: not working?

Hi

Thanks for the feedback. If you use COLUMN() it will return the column
number - just the same as ROW() does for rows!

Andy.

"pikapika13" wrote
in message ...

Thanks for the quick reply. It works. Now how do I have it for the
columns? the "column" function gives me a number. I would need a
letter.


--
pikapika13
------------------------------------------------------------------------
pikapika13's Profile:
http://www.excelforum.com/member.php...o&userid=10892
View this thread: http://www.excelforum.com/showthread...hreadid=523128



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 find the working days difference between to dates? Mudgeman Excel Discussion (Misc queries) 2 May 15th 06 04:26 AM
Dynamic Range with unused formula messing up x axis on dynamic graph [email protected] Charts and Charting in Excel 2 February 2nd 06 08:02 PM
Array Formula Not Working with Range with Formulas [email protected] Excel Discussion (Misc queries) 4 February 1st 06 02:01 PM
VLOOKUP & Dates: Why is this Formula working? Ali Excel Worksheet Functions 1 January 18th 06 01:37 PM
Formula entered not working Thrava Excel Discussion (Misc queries) 5 March 6th 05 09:18 PM


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