Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
dan dan is offline
external usenet poster
 
Posts: 866
Default Min/Max multiple rows into another sheet

I have the following stock data. I would like to summarize 3 days (rows) into
one row on another sheet. I would like to take the date and opening from day
1 and then take the Max of the next 3 rows (high) , the Min of the next 3
rows (low) and the close of the 3rd row and put this into 1 line on another
sheet. This 3 day aggregation I would like to do for the entire sheet. so
1/2, 1/3 and 1/4 would be one row and 1/4, 1/5 1/8 would be next row etc.....

Date Open High Low Close
1/2/1962 578.5 578.5 572 572
1/3/1962 572 577 572 577
1/4/1962 577 577 571 571.25
1/5/1962 570.5 570.5 559 560
1/8/1962 559.5 559.5 545 549.5
1/9/1962 552 563 552 556
1/10/1962 557 559.5 557 557
1/11/1962 558.5 563 558.5 563
1/12/1962 564 568 564 564

Thanks in advance - Dan

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
dan dan is offline
external usenet poster
 
Posts: 866
Default Min/Max multiple rows into another sheet

correction 1/5 1/8 1/9 would be second row........

"Dan" wrote:

I have the following stock data. I would like to summarize 3 days (rows) into
one row on another sheet. I would like to take the date and opening from day
1 and then take the Max of the next 3 rows (high) , the Min of the next 3
rows (low) and the close of the 3rd row and put this into 1 line on another
sheet. This 3 day aggregation I would like to do for the entire sheet. so
1/2, 1/3 and 1/4 would be one row and 1/4, 1/5 1/8 would be next row etc.....

Date Open High Low Close
1/2/1962 578.5 578.5 572 572
1/3/1962 572 577 572 577
1/4/1962 577 577 571 571.25
1/5/1962 570.5 570.5 559 560
1/8/1962 559.5 559.5 545 549.5
1/9/1962 552 563 552 556
1/10/1962 557 559.5 557 557
1/11/1962 558.5 563 558.5 563
1/12/1962 564 568 564 564

Thanks in advance - Dan

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
can i wrap rows to form multiple rows per row to fit on 1 sheet? Dave Excel Discussion (Misc queries) 2 October 9th 12 04:53 PM
How to VLOOKUP multiple sheets and each sheet have 65536 rows? nginhong Excel Worksheet Functions 9 June 4th 09 02:05 AM
Auto link rows of information from multiple sheets to single sheet Steve R Excel Discussion (Misc queries) 3 November 8th 06 06:13 AM
How do I copy or cut multiple rows to move to new sheet? rodneynoah Excel Discussion (Misc queries) 1 September 15th 06 01:41 AM
view excel sheet tabs in multiple rows gingerq Setting up and Configuration of Excel 2 June 27th 06 01:25 AM


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