#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Art Art is offline
external usenet poster
 
Posts: 587
Default permutations

Hello all:

I would like to know how to make this calculation. Below is a list of
products and types and prices. I would like to know how can I make that excel
should tell me all the permutations that's possible.

Product Type 1 Type 2 Type 3 Type 4 Type 5
Wood 1.29 1.39 1.49 1.59 1.69
Plastic 0.55 0.89 0.99 1.2 1.27
Metal 0.44 0.87 0.98 1.04 1.12

For example I want that in a certain cell it should start to tell me all the
variable prices possible if someone orders all three products. It should give
the results based whether the order is for type 1 for all of them, type 2 for
all of them and so on. It should then give the results for type 1 for wood
but type 2 for plastic and so on. I know there are a lot of possibilities.

Is there a way that I can see all possible variations and excel should give
the each result in a different cell?

Please help.

Thanks.

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,240
Default permutations

art wrote:
Hello all:

I would like to know how to make this calculation. Below is a list of
products and types and prices. I would like to know how can I make that excel
should tell me all the permutations that's possible.

Product Type 1 Type 2 Type 3 Type 4 Type 5
Wood 1.29 1.39 1.49 1.59 1.69
Plastic 0.55 0.89 0.99 1.2 1.27
Metal 0.44 0.87 0.98 1.04 1.12

For example I want that in a certain cell it should start to tell me all the
variable prices possible if someone orders all three products. It should give
the results based whether the order is for type 1 for all of them, type 2 for
all of them and so on. It should then give the results for type 1 for wood
but type 2 for plastic and so on. I know there are a lot of possibilities.

Is there a way that I can see all possible variations and excel should give
the each result in a different cell?

Please help.

Thanks.


Well, here's my interpretation. With your data above in A1:F4, put the
following in H2 and copy down to H126:

=$A$2&" ("&INDEX($B$1:$F$1,INT((ROW()-2)/25)+1)&
") - "&INDEX($B$2:$F$2,INT((ROW()-2)/25)+1)&
" "&$A$3&" ("&INDEX($B$1:$F$1,MOD(INT((ROW()-7)/5)+1,5)+1)&
") - "&INDEX($B$2:$F$2,MOD(INT((ROW()-7)/5)+1,5)+1)&
" "&$A$4&" ("&INDEX($B$1:$F$1,MOD(ROW()-2,5)+1)&
") - "&INDEX($B$2:$F$2,MOD(ROW()-2,5)+1)


If that's not what you are looking for, try showing an example of the results
you want.
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
listing permutations scott Excel Worksheet Functions 2 September 10th 08 02:10 PM
Permutations Dave Excel Discussion (Misc queries) 5 July 23rd 07 03:06 PM
permutations newyorkjoy Excel Discussion (Misc queries) 3 November 1st 05 08:20 PM
Permutations RedChequer Excel Worksheet Functions 9 September 26th 05 03:14 AM
Permutations RedChequer Excel Worksheet Functions 2 September 25th 05 04:05 AM


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