LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #8   Report Post  
Posted to microsoft.public.excel.misc
Stu - Wast
 
Posts: n/a
Default Copying formulas

Wow - I'll give it a try.

Thanks

Stu

"RagDyeR" wrote:

How about making your formula shorter while still being able to copy down:

=SUMPRODUCT(--(INDEX($2:$2,ROWS($1:3)):INDEX($31:$31,ROWS($1:3)) ={"s04","s05
","s06","s07","s08","s09","s10","s11","s12"}))

OR ... even:

=SUM(COUNTIF(INDEX($2:$2,ROWS($1:3)):INDEX($31:$31 ,ROWS($1:3)),{"s04","s05",
"s06","s07","s08","s09","s10","s11","s12"}))

--

HTH,

RD
================================================== ===
Please keep all correspondence within the Group, so all may benefit!
================================================== ===


"Stu - Wast" wrote in message
...
D'oh!

Brilliant, that works perfect.

Again, thanks very much.

Now, I don't suppose you have any ideas for my other post - "Excel Ranges &
LEFT" ???

Cheers

Stu

"Duke Carey" wrote:

You're right that it's more complex. Howver, it does not look as though

you
used absolute row references as suggested. Change all the C2:C31

references
to C$2:C$31 and try again.

"Stu - Wast" wrote:

Hi Duke,

It did work for a simple formula.

However, some of the formulas are quite complex :


=COUNTIF(Planner!C2:C31,"s04")+COUNTIF(Planner!C2: C31,"s05")+COUNTIF(Planner
!C2:C31,"s06")+COUNTIF(Planner!C2:C31,"s07")+COUNT IF(Planner!C2:C31,"s08")+C
OUNTIF(Planner!C2:C31,"s09")+COUNTIF(Planner!C2:C3 1,"s10")+COUNTIF(Planner!C
2:C31,"s11")+COUNTIF(Planner!C2:C31,"s12")

I can copy this, repeate it horizontally, but when I re-copy & transpose

it
back to the original cells, the "C2:C31" beocmes #REF!. I've tried

pasting
with different options - all, formula, formats, but none of them seem to

copy
just the formula as is - they all want to change the values.

Any further help would be much appreciated.

Thanks, Stu

"Stu - Wast" wrote:

Hi all,

I have a row of forumulas, which relate to columns of data. Each

formula
needs to be copied down the sheet, but I need the column value to

change, not
the row value.

eg C3 : =sum(c2:c31)
C4 : =sum(d2:d31)
C5: =sum(e2:e31)

etc.

How can I replicate the formulas down, but get the Column values to

change ?

TIA

Stu




 
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
Excel Error when copying formulas Joe Gieder Excel Worksheet Functions 2 March 18th 05 05:01 PM
excel 2002 - copying formulas to another worksheet Greg Excel Discussion (Misc queries) 2 January 28th 05 10:23 PM
Excel 2002 - copying formulas across worksheets Greg Excel Discussion (Misc queries) 1 January 27th 05 10:45 PM
Copying options: contents, results, formulas, etc. Top Spin New Users to Excel 2 December 20th 04 04:54 PM
Excel & Copying Formulas JComer Excel Worksheet Functions 1 October 28th 04 07:17 PM


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