Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default Copying Formulas - correctly stated

I'm copying a formula that gets its values from a different worksheet and the
values are not from a serielised range. How can I write it so that the values
automatically pick up which cells to refer to? i.e
if CELL E6 in sheet2 has formula:
IF(SUM('Sheet1'!E$6:G$6) 0,SUM('Sheet1'!E$6:G$6),"")
CELL F6 should have :
=IF(SUM('Sheet1'!H$6:J$6) 0,SUM('Sheet1'!H$6:J$6),"")
CELL G6 should have :
=IF(SUM('Sheet1'!K$6:M$6) 0,SUM('Sheet1'!K$6:M$6),"")
so thats E:G, H:J, K:M etc


Thus the columns must reflect the change after every 3rd column but I'm
referencing the same row.
--
Wether you think you can or you think you cant , you are right ... anon
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Copying Formulas - correctly stated

See your earlier post.
--
David Biddulph

"Mtabaruka" wrote in message
...
I'm copying a formula that gets its values from a different worksheet and
the
values are not from a serielised range. How can I write it so that the
values
automatically pick up which cells to refer to? i.e
if CELL E6 in sheet2 has formula:
IF(SUM('Sheet1'!E$6:G$6) 0,SUM('Sheet1'!E$6:G$6),"")
CELL F6 should have :
=IF(SUM('Sheet1'!H$6:J$6) 0,SUM('Sheet1'!H$6:J$6),"")
CELL G6 should have :
=IF(SUM('Sheet1'!K$6:M$6) 0,SUM('Sheet1'!K$6:M$6),"")
so thats E:G, H:J, K:M etc


Thus the columns must reflect the change after every 3rd column but I'm
referencing the same row.
--
Wether you think you can or you think you cant , you are right ... anon



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default Copying Formulas - correctly stated

My earlier post was incorrectly stated. I implied that the rows also change
but that is not the case all I want to change are the columns. I've tried to
alter the formula without success.
--
Wether you think you can or you think you cant , you are right ... anon


"David Biddulph" wrote:

See your earlier post.
--
David Biddulph

"Mtabaruka" wrote in message
...
I'm copying a formula that gets its values from a different worksheet and
the
values are not from a serielised range. How can I write it so that the
values
automatically pick up which cells to refer to? i.e
if CELL E6 in sheet2 has formula:
IF(SUM('Sheet1'!E$6:G$6) 0,SUM('Sheet1'!E$6:G$6),"")
CELL F6 should have :
=IF(SUM('Sheet1'!H$6:J$6) 0,SUM('Sheet1'!H$6:J$6),"")
CELL G6 should have :
=IF(SUM('Sheet1'!K$6:M$6) 0,SUM('Sheet1'!K$6:M$6),"")
so thats E:G, H:J, K:M etc


Thus the columns must reflect the change after every 3rd column but I'm
referencing the same row.
--
Wether you think you can or you think you cant , you are right ... anon




  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Copying Formulas - correctly stated

You've still got a circular reference in E6, and will need to sort that out,
but the answer is still to use OFFSET, but this time you'll need to use
COLUMN() in the formula, not ROW().
--
David Biddulph

"Mtabaruka" wrote in message
...
My earlier post was incorrectly stated. I implied that the rows also
change
but that is not the case all I want to change are the columns. I've tried
to
alter the formula without success.
--
Wether you think you can or you think you cant , you are right ... anon


"David Biddulph" wrote:

See your earlier post.
--
David Biddulph

"Mtabaruka" wrote in message
...
I'm copying a formula that gets its values from a different worksheet
and
the
values are not from a serielised range. How can I write it so that the
values
automatically pick up which cells to refer to? i.e
if CELL E6 in sheet2 has formula:
IF(SUM('Sheet1'!E$6:G$6) 0,SUM('Sheet1'!E$6:G$6),"")
CELL F6 should have :
=IF(SUM('Sheet1'!H$6:J$6) 0,SUM('Sheet1'!H$6:J$6),"")
CELL G6 should have :
=IF(SUM('Sheet1'!K$6:M$6) 0,SUM('Sheet1'!K$6:M$6),"")
so thats E:G, H:J, K:M etc


Thus the columns must reflect the change after every 3rd column but I'm
referencing the same row.
--
Wether you think you can or you think you cant , you are right ... anon






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
Pivottable does not copy correctly when copying worksheets PSchmidt Excel Discussion (Misc queries) 0 March 7th 07 06:38 AM
Excell formulas not copying correctly? Lost Excel Worksheet Functions 1 November 24th 06 02:48 AM
Matching cells (RE-STATED) GARY Excel Discussion (Misc queries) 0 February 14th 06 06:58 PM
Formulas not calculating correctly MWickline Excel Discussion (Misc queries) 3 June 9th 05 04:10 PM
Excel won't calculate my formulas correctly. Shelfish Excel Worksheet Functions 2 March 18th 05 05:29 PM


All times are GMT +1. The time now is 03:22 PM.

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"