#1   Report Post  
Posted to microsoft.public.excel.misc
kckar
 
Posts: n/a
Default graphing


if i have a list of stock prices in f1:f50 and the times recorded in
e1:e50

how do i randomly plot 30 of them on a graph?


--
kckar
------------------------------------------------------------------------
kckar's Profile: http://www.excelforum.com/member.php...o&userid=25322
View this thread: http://www.excelforum.com/showthread...hreadid=513066

  #2   Report Post  
Posted to microsoft.public.excel.misc
Max
 
Posts: n/a
Default graphing

One way ..

Using 3 empty cols to the right

Put in H1: =RAND()
Put in I1: =INDEX(E$1:E$50,RANK($H1,$H$1:$H$50))
Copy I1 to J1
Select H1:J1, copy down to J50

Cols I and J will return a full random shuffle
of the times recorded / stock prices in cols E & F
(Pressing F9 will re-generate another random shuffle)

Just plot the 1st 30 pairs of values in cols I & J (i.e. I1:J30)

If required, freeze cols I & J with an-place:
Copy Paste special Check "Values" OK
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"kckar" wrote in
message ...

if i have a list of stock prices in f1:f50 and the times recorded in
e1:e50

how do i randomly plot 30 of them on a graph?


--
kckar
------------------------------------------------------------------------
kckar's Profile:

http://www.excelforum.com/member.php...o&userid=25322
View this thread: http://www.excelforum.com/showthread...hreadid=513066



  #3   Report Post  
Posted to microsoft.public.excel.misc
Max
 
Posts: n/a
Default graphing

Typo in line:
If required, freeze cols I & J with an-place:


should read as:
If required, freeze cols I & J with an in-place:

--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---


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
Graphing weekly/monthly averages Heidi Charts and Charting in Excel 4 January 28th 06 02:33 PM
graphing kristine Excel Discussion (Misc queries) 2 December 17th 05 05:12 AM
Graphing error using Time as X axis. pete3589 Excel Worksheet Functions 2 December 16th 05 04:50 PM
Graphing Database Growth Rate DavidM Charts and Charting in Excel 1 February 2nd 05 12:01 AM
Graphing Woze? Arlen Excel Discussion (Misc queries) 4 January 26th 05 10:19 PM


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