Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Mac Mac is offline
external usenet poster
 
Posts: 213
Default Sorting triplets...

Situation: chemical reactants are measured; samples are mixed, each sample is
measured in two different enviroments, samples are measured in triplets, the
result should be an ideal path of the reactant through the changes of the
environment.
Algorithm: triplets of values - the amount of triplets is given, the range
of values is given (confined) - I need to sort (extract from) these triplets
in a way that - all values from the given range are covered by the selected
triplets (which will cover the whole path of the reactant through the changes
of the environment) and each value repeats between two triplets (this covers
the measured differences). an example might look like:

From these:

{3,223;3,223;3,224}
{0,121;0,122;6,782}
{6,782;0,122;0,122}

I need to get these:

{3,223;0,122;6,782},{3,223;8,456;12,354},{33,012;8 ,456;6,782},{33,012;12,354;0,122}

This wouldn't be a problem if I had the time to code a simple C app...but -
how do I do this in Excel? Thank you for any ideas!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default Sorting triplets...

What algorithm is used to derive the second set of numbers from the first?

"Mac" wrote:

Situation: chemical reactants are measured; samples are mixed, each sample is
measured in two different enviroments, samples are measured in triplets, the
result should be an ideal path of the reactant through the changes of the
environment.
Algorithm: triplets of values - the amount of triplets is given, the range
of values is given (confined) - I need to sort (extract from) these triplets
in a way that - all values from the given range are covered by the selected
triplets (which will cover the whole path of the reactant through the changes
of the environment) and each value repeats between two triplets (this covers
the measured differences). an example might look like:

From these:

{3,223;3,223;3,224}
{0,121;0,122;6,782}
{6,782;0,122;0,122}

I need to get these:

{3,223;0,122;6,782},{3,223;8,456;12,354},{33,012;8 ,456;6,782},{33,012;12,354;0,122}

This wouldn't be a problem if I had the time to code a simple C app...but -
how do I do this in Excel? Thank you for any ideas!

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Mac Mac is offline
external usenet poster
 
Posts: 213
Default Sorting triplets...

That's the one I describe above: all (or as much as possible) values are
covered and each is repeated throughout two triplets.

"Mike H" wrote:

What algorithm is used to derive the second set of numbers from the first?

"Mac" wrote:

Situation: chemical reactants are measured; samples are mixed, each sample is
measured in two different enviroments, samples are measured in triplets, the
result should be an ideal path of the reactant through the changes of the
environment.
Algorithm: triplets of values - the amount of triplets is given, the range
of values is given (confined) - I need to sort (extract from) these triplets
in a way that - all values from the given range are covered by the selected
triplets (which will cover the whole path of the reactant through the changes
of the environment) and each value repeats between two triplets (this covers
the measured differences). an example might look like:

From these:

{3,223;3,223;3,224}
{0,121;0,122;6,782}
{6,782;0,122;0,122}

I need to get these:

{3,223;0,122;6,782},{3,223;8,456;12,354},{33,012;8 ,456;6,782},{33,012;12,354;0,122}

This wouldn't be a problem if I had the time to code a simple C app...but -
how do I do this in Excel? Thank you for any ideas!

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
Sorting VLookup vs Sorting SumProduct Lauren Excel Discussion (Misc queries) 1 August 21st 07 12:19 AM
Sorting Kim New Users to Excel 2 December 11th 06 04:03 AM
sorting RKS Excel Discussion (Misc queries) 1 December 1st 06 11:42 AM
Sorting: Sorting by the First Character dzuy Excel Discussion (Misc queries) 2 June 22nd 06 08:27 PM
sorting Patrick Excel Discussion (Misc queries) 1 July 20th 05 02:15 PM


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

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"