Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 430
Default Setting original Formulas for copying

I have two sets of data on a single worksheet, as so;
Short example - actual LeftData = Rows 4-601 RightData = Rows 4-823
RightData is more comphrehensive than LeftData


LeftData RightData
ColA ColB ColC ColD Col E Col F Col G
Row XYZ XYZ
4 1 Avg Charges 65760.37 1 Avg Charges 45,511 65,760
5 Count of XYZ 2 Count of XYZ 10 2
6 3 Avg Charges 31309.41 2 Avg Charges 29,073 0
7 Count of XYZ 3 Count of XYZ 8 0
8 7 Avg Charges 44233.39 3 Avg Charges 48,608 31,309
9 Count of XYX 2 Count XYZ 6 3

Formula for G4 (at present is):
=IF(ISNA(INDEX($A$4:$C$601,MATCH(D4,$A$4:$A$600,0) ,3)),0,INDEX($A$4:$C$601,MATCH(D4,$A$4:$C$600,0),3 ))
<< which produces the 65,760 (Cell C4).

Formula for G5 (at present is):
=IF(ISNA(INDEX($A$4:$C$601,MATCH(D4,$A$4:$C$600,0) +1,3)),0,INDEX($A$4:$C$601,MATCH(D4,$A$4:$C$600,0) +1,3))

These above two work - so I've copied them (G4:G5) to (G6:G7);
Then copied G4:G7 to G8:G11; then copied G4:G11 to G12:G19
Copying the Blocks 2,4,8,16,32,64,128, etc.. fashion...
So my entire spreadsheet formulas in G4:G601 work fine,
It is just the step-copying I had to do that "bothers" me.
Could I have done this a different way (simplier???)
If so, HOW?

Thanks in Advance..


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
How to sort but keep linked formulas? GovUser Excel Discussion (Misc queries) 7 April 3rd 06 10:36 PM
how can i get formulas in excel to copy and paste? bman Excel Worksheet Functions 1 October 3rd 05 04:15 PM
Weekly Transaction Processing Ralph Howarth Excel Worksheet Functions 4 January 19th 05 05:37 AM
How to make Excel run limited number of formulas on a given worksh John Excel Discussion (Misc queries) 0 January 12th 05 04:29 PM
Way to make Excel only run certain formulas on a worksheet? jrusso Excel Discussion (Misc queries) 0 January 12th 05 04:23 PM


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