PC Review


Reply
Thread Tools Rate Thread

comp.apps.spreadsheets,microsoft.public.excel,microsoft.public.excel.programming

 
 
S.
Guest
Posts: n/a
 
      5th Oct 2004
Hi All,

I am generating large amounts of data that need to be analyzed on the fly.
To simplify the problem, consider an Excel workbook that has n number
of data sheets, S1 to Sn. Each spreadsheet has 5 columns, C1 to C5
and x number of rows, R1 to Rx, in addition to the a header row. The
workbook also has one main sheet called Smain. The workbook should
be capable of doing the following automatically, either by pressing a button
or auto-refresh when the data is updated:

1. The rows of each data sheet should be sorted max to min according to C3.

2. If the maximum value in C3 of a given sheet is less than -1, the tab color
of that sheet should be changed to red. If it is between -1 and -2 then the
tab color should be yellow. If it is between 1 and 2 it should be blue. If it is
greater than 2 it should change to green.

3. The row with max C3 value in each sheet data sheet should be automatically
copied into the main sheet, Smain. So, Smain will consist of n number of rows
with each row being one which has the max C3 in its corresponding data sheet.
All rows need to be sorted in Smain max to min according to C3. Same tab color
condition applied to Smain.

Anyone can produce such workbook?


 
Reply With Quote
 
 
 
 
Frank Kabel
Guest
Posts: n/a
 
      5th Oct 2004
Hi
some ideas to get started:
1. Record a macro while doing this manually and assign this macro to a
button
2. What Excel version are you using. Prior to Excel 2002: Not possible
3. See:
http://www.rondebruin.nl/copy5.htm

as a starting point

--
Regards
Frank Kabel
Frankfurt, Germany

"S." <(E-Mail Removed)> schrieb im Newsbeitrag
news:(E-Mail Removed)...
> Hi All,
>
> I am generating large amounts of data that need to be analyzed on the

fly.
> To simplify the problem, consider an Excel workbook that has n number
> of data sheets, S1 to Sn. Each spreadsheet has 5 columns, C1 to C5
> and x number of rows, R1 to Rx, in addition to the a header row. The
> workbook also has one main sheet called Smain. The workbook should
> be capable of doing the following automatically, either by pressing a

button
> or auto-refresh when the data is updated:
>
> 1. The rows of each data sheet should be sorted max to min according

to C3.
>
> 2. If the maximum value in C3 of a given sheet is less than -1, the

tab color
> of that sheet should be changed to red. If it is between -1 and -2

then the
> tab color should be yellow. If it is between 1 and 2 it should be

blue. If it is
> greater than 2 it should change to green.
>
> 3. The row with max C3 value in each sheet data sheet should be

automatically
> copied into the main sheet, Smain. So, Smain will consist of n number

of rows
> with each row being one which has the max C3 in its corresponding

data sheet.
> All rows need to be sorted in Smain max to min according to C3. Same

tab color
> condition applied to Smain.
>
> Anyone can produce such workbook?
>
>


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
microsoft.public.excel.programming (PAGE PROBLEM) shahzad4u_ksa@yahoo.com Microsoft Excel Programming 2 29th May 2008 02:23 PM
comp.protocols.smb,microsoft.public.windowsxp.general,microsoft.public.windowsxp.configuration_manage,microsoft.public.windowsxp.basics,alt.os.windows-xp Chris Szilagyi Windows XP Networking 0 5th Aug 2004 01:55 PM
microsoft.public.developer.outlook.addins, microsoft.public.outlook.program_addins,microsoft.public.dotnet.languages.csharp,microsoft.public.outlook.general Anushya Microsoft C# .NET 0 15th Jan 2004 06:18 AM
microsoft.public.developer.outlook.addins,microsoft.public.dotnet.languages.csharp,microsoft.public.outlook.program_addins,microsoft.public.outlook.general Anushya Microsoft Dot NET Framework Forms 0 9th Jan 2004 07:21 AM
microsoft.public.windowsxp.general, microsoft.public.windowsxp.configuration_manage, microsoft.public.windowsxp.basics,microsoft.public.windowsxp.customize, microsoft.public.windowsxp.network_web, microsoft.public.windowsxp.perform_maintain, microso Dan Irwin Windows XP General 2 12th Nov 2003 07:03 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:59 AM.