LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Junior Member
 
Posts: 1
Default Excel Macro Programing Problem

Hello,

I have got a question regarding how to solve a problem using excel macro. Here it goes :

There are n=4 variables : x1,x2,x3,x4, each can take r=3 different values: A,B,C. See below:
X1 A1 B1 C1
X2 A2 B2 C2
X3 A3 B3 C3
X4 A4 B4 C4
The final equation to be computed is y=x1+x2+x3+x4. Now, there are nPr = 24 different values all the variables can assume and therefore there will be 24 different y values the above table and equation can generate.
Problem Statement: Generate a macro which will list all the y values when the values of n and r are supplied.

I would really appreciate is someone could help me out with the macro code.

Thanks in advance.
 
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
Excel 2007 Macro Programing Eddie Kirby Excel Programming 3 October 1st 08 09:35 PM
excel 2007 macro/vb programing question Keith Excel Programming 10 November 2nd 07 02:55 PM
Macro Programing ¿Confused? New Users to Excel 13 March 8th 07 07:23 PM
I have a programing problem! mgmcdevitt[_2_] Excel Programming 2 August 25th 05 02:45 PM
Macro programing Jason Trolian Excel Programming 4 June 5th 04 10:15 PM


All times are GMT +1. The time now is 08:56 AM.

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"