#1   Report Post  
Hywel
 
Posts: n/a
Default Fill Query


I have a fill right problem, where I want excel to give me the result of
the cell below.

In a Horizontal table, with years along the columns, I have the
following in B1
'Sheet 2'!A1 + 'Sheet 2'!A100 + 'Sheet 2'!A200

Is there a way to fill right, so I get the result in B2
'Sheet 2'!A2 + 'Sheet 2'!A101 + 'Sheet 2'!A201

instead of B1,B100 and B200

Any help appreciated.
Hywel
Manchester UK


--
Hywel
------------------------------------------------------------------------
Hywel's Profile: http://www.excelforum.com/member.php...o&userid=14824
View this thread: http://www.excelforum.com/showthread...hreadid=483426

  #2   Report Post  
Jim May
 
Posts: n/a
Default Fill Query

Save your work before trying, but
maybe:
in B1 alter content to:
'Sheet 2'!$A1 + 'Sheet 2'!$A100 + 'Sheet 2'!$A200
And try Right Fill again.
HTH

"Hywel" wrote in
message ...

I have a fill right problem, where I want excel to give me the result of
the cell below.

In a Horizontal table, with years along the columns, I have the
following in B1
'Sheet 2'!A1 + 'Sheet 2'!A100 + 'Sheet 2'!A200

Is there a way to fill right, so I get the result in B2
'Sheet 2'!A2 + 'Sheet 2'!A101 + 'Sheet 2'!A201

instead of B1,B100 and B200

Any help appreciated.
Hywel
Manchester UK


--
Hywel
------------------------------------------------------------------------
Hywel's Profile:
http://www.excelforum.com/member.php...o&userid=14824
View this thread: http://www.excelforum.com/showthread...hreadid=483426



  #3   Report Post  
Hywel
 
Posts: n/a
Default Fill Query


I've tried that already Jim,
It keeps both the column and row reference the same - effectively the
same as using double dollar symbols.
Hywel


--
Hywel
------------------------------------------------------------------------
Hywel's Profile: http://www.excelforum.com/member.php...o&userid=14824
View this thread: http://www.excelforum.com/showthread...hreadid=483426

  #4   Report Post  
Dave Peterson
 
Posts: n/a
Default Fill Query

You say your formula is in B1 and want to drag right to B2. I'm guessing that
B2 was a typo and you meant C1.

If that's the case, maybe you could use a formula like this in B1:

=INDIRECT("'Sheet 2'!A"&COLUMN()-2+1)
+INDIRECT("'Sheet 2'!A"&100+COLUMN()-2)
+INDIRECT("'Sheet 2'!A"&200+COLUMN()-2)

(all one cell)

and drag right




Hywel wrote:

I have a fill right problem, where I want excel to give me the result of
the cell below.

In a Horizontal table, with years along the columns, I have the
following in B1
'Sheet 2'!A1 + 'Sheet 2'!A100 + 'Sheet 2'!A200

Is there a way to fill right, so I get the result in B2
'Sheet 2'!A2 + 'Sheet 2'!A101 + 'Sheet 2'!A201

instead of B1,B100 and B200

Any help appreciated.
Hywel
Manchester UK

--
Hywel
------------------------------------------------------------------------
Hywel's Profile: http://www.excelforum.com/member.php...o&userid=14824
View this thread: http://www.excelforum.com/showthread...hreadid=483426


--

Dave Peterson
  #5   Report Post  
Hywel
 
Posts: n/a
Default Fill Query


Thanks Dave, you spotted my error. However, I am getting a #REF in the
cell.


--
Hywel
------------------------------------------------------------------------
Hywel's Profile: http://www.excelforum.com/member.php...o&userid=14824
View this thread: http://www.excelforum.com/showthread...hreadid=483426



  #6   Report Post  
Dave Peterson
 
Posts: n/a
Default Fill Query

Do you really have a sheet named 'Sheet 2' (with the space)?

Did you put the formula in B1?



Hywel wrote:

Thanks Dave, you spotted my error. However, I am getting a #REF in the
cell.

--
Hywel
------------------------------------------------------------------------
Hywel's Profile: http://www.excelforum.com/member.php...o&userid=14824
View this thread: http://www.excelforum.com/showthread...hreadid=483426


--

Dave Peterson
  #7   Report Post  
Hywel
 
Posts: n/a
Default Fill Query


Ah. It was the space in the 'Sheet 2' that was missing,
Thanks for the help,


--
Hywel
------------------------------------------------------------------------
Hywel's Profile: http://www.excelforum.com/member.php...o&userid=14824
View this thread: http://www.excelforum.com/showthread...hreadid=483426

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
AHHH! Again JAA149 Excel Discussion (Misc queries) 0 October 31st 05 11:36 AM
AHHHH-Get Data from Multiple Excel workbooks JAA149 Excel Discussion (Misc queries) 5 October 30th 05 05:19 PM
fill handle + query Vickie Excel Worksheet Functions 9 September 17th 05 11:02 PM
Web Query Help... Jambruins Excel Discussion (Misc queries) 1 July 29th 05 06:56 PM
"Query cannot be edited by the Query Wizard" PancakeBatter Excel Discussion (Misc queries) 0 April 25th 05 05:59 PM


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