Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Wazooli
 
Posts: n/a
Default Trouble with skipping rows

OK. Here's the story. I have a large sheet of data containing around 10000
rows and around 60 columns. I have figured out a formula to skip every 195th
row in order to generate conversion factors. The data is grouped in the
following manner, and starts column A row 2:

Block Column Row
1 1 1
1 1 2
1 1 3

etc to

48 14 14

The formula I have to skip rows is:

=IF(MOD(ROW()+196*2,196)=2,MEDIAN(BE2:BE197),""), where column BE contains
values I need the median of. With this formula I can generate 48 median
factors, 1 for each block. Now, I need to apply each median conversion
factor to each column/row entry. I would like to be able to do this in
formula form, instead of typing
=U2*BF$2, dragging down for all 196 entries per block, then typing the
absolute reference for the next median value. I have tried address and
indirect, but I seem to be stuck in the decision making part. Any help is
appreciated.

wazooli
  #2   Report Post  
Duke Carey
 
Posts: n/a
Default

Try something like:

=U2*INDIRECT("BF"&2+196*(INT((ROW()-2)/196)))



"Wazooli" wrote:

OK. Here's the story. I have a large sheet of data containing around 10000
rows and around 60 columns. I have figured out a formula to skip every 195th
row in order to generate conversion factors. The data is grouped in the
following manner, and starts column A row 2:

Block Column Row
1 1 1
1 1 2
1 1 3

etc to

48 14 14

The formula I have to skip rows is:

=IF(MOD(ROW()+196*2,196)=2,MEDIAN(BE2:BE197),""), where column BE contains
values I need the median of. With this formula I can generate 48 median
factors, 1 for each block. Now, I need to apply each median conversion
factor to each column/row entry. I would like to be able to do this in
formula form, instead of typing
=U2*BF$2, dragging down for all 196 entries per block, then typing the
absolute reference for the next median value. I have tried address and
indirect, but I seem to be stuck in the decision making part. Any help is
appreciated.

wazooli

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
Insert rows based on specific value bob Excel Worksheet Functions 6 February 29th 08 07:11 PM
flexible paste rows function that inserts the right number of rows marika1981 Excel Discussion (Misc queries) 1 February 18th 05 02:40 AM
Row selections by row # OR by even/odd rows in another spreadsheet Tom Excel Discussion (Misc queries) 0 February 9th 05 04:03 PM
Adding Rows to Master Sheet Excel Newbie New Users to Excel 1 December 23rd 04 10:56 PM
Copying Rows when hiding other rows Neutron1871 Excel Worksheet Functions 2 November 3rd 04 11:38 PM


All times are GMT +1. The time now is 10:29 PM.

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"