Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 31
Default Using Macros to Calculate Matrix Algebra in Excel..... I'm STUMPED

Hello!
Here is a link to a file with my situation:

http://www.savefile.com/files/8301241

I need to find a way to set up a spreadsheet where I can input the variables
G, H, W, J, Q, S and have excel calculate the possible answers that satisfy
all of the equations in column D.

I know to do this on paper you use matrix algebra but I have no clue how to
do this in excel.

Column B is the results I should be getting for each variable in column A
(with the input values in column F) but I can't get it to work in excel.
Column C is a quick attempt I made to use iterate and circular references but
to no avail. If anyone can point me in the right direction I would REALLY
appreciate it. Oh and column A is a list of all variables used in the
equations in column D.

Is it even possible to input values for the variables in column E and have
excel use those to find answers that satisfy all of the equations in column
D??

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Using Macros to Calculate Matrix Algebra in Excel..... I'm STUMPED


Hi there,

This shouldn't be too hard to execute.

When you work out your F variable you could rewrite the formula as:

F=A*((G*0.1)+(H*0.2)+(W*0.65)+(J*0.05))

You can get separate cells to perform each part of the calculation i.e
One cell, say A1, peforms the "G*0.1", another, A2, "H*0.2" etc and whe
you write the formulas into the cell you can reference back to the cell
where you're inputting your variables (in your file (G*0.1) would b
"=F2*0.1".

You know what F is because it equals T and that's derived from value
which you know or are inputing.

So all you need to do is switch the formula round so that:

A= F / ((G*0.1)+(H*0.2)+(W*0.65)+(J*0.05))

The formula you write into the cell will be something like:

= A5 / (sum(A1:A4))
The rest of the formulas write themselves.

Anyway, I've put this all onto sheet2 of your file and hopefully I ca
attach it to this post. It might make a bit more sense on there.

Hope this helps

Tri

+-------------------------------------------------------------------
|Filename: Excel_Problem.zip
|Download: http://www.excelforum.com/attachment.php?postid=4716
+-------------------------------------------------------------------

--
Trista
-----------------------------------------------------------------------
Tristan's Profile: http://www.excelforum.com/member.php...fo&userid=3406
View this thread: http://www.excelforum.com/showthread.php?threadid=53826

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 31
Default Using Macros to Calculate Matrix Algebra in Excel..... I'm STU

Thanks for the help Tristan! For some reason the link didn't work, would it
be possible for you to e-mail it to me at ?

"Tristan" wrote:


Hi there,

This shouldn't be too hard to execute.

When you work out your F variable you could rewrite the formula as:

F=A*((G*0.1)+(H*0.2)+(W*0.65)+(J*0.05))

You can get separate cells to perform each part of the calculation i.e.
One cell, say A1, peforms the "G*0.1", another, A2, "H*0.2" etc and when
you write the formulas into the cell you can reference back to the cells
where you're inputting your variables (in your file (G*0.1) would be
"=F2*0.1".

You know what F is because it equals T and that's derived from values
which you know or are inputing.

So all you need to do is switch the formula round so that:

A= F / ((G*0.1)+(H*0.2)+(W*0.65)+(J*0.05))

The formula you write into the cell will be something like:

= A5 / (sum(A1:A4))
The rest of the formulas write themselves.

Anyway, I've put this all onto sheet2 of your file and hopefully I can
attach it to this post. It might make a bit more sense on there.

Hope this helps

Tris


+-------------------------------------------------------------------+
|Filename: Excel_Problem.zip |
|Download:
http://www.excelforum.com/attachment.php?postid=4716 |
+-------------------------------------------------------------------+

--
Tristan
------------------------------------------------------------------------
Tristan's Profile: http://www.excelforum.com/member.php...o&userid=34061
View this thread: http://www.excelforum.com/showthread...hreadid=538261


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
[newbie] solving algebra in excel Jon Excel Discussion (Misc queries) 1 April 10th 09 05:15 PM
algebra by excel driller Excel Worksheet Functions 3 November 4th 08 09:16 AM
Algebra in Excel sstexas Excel Discussion (Misc queries) 3 June 21st 07 08:17 AM
Simple algebra and excel [email protected] Excel Worksheet Functions 5 March 8th 07 07:21 PM
how do i write a Algebra formula in excel sheet Saravanan Excel Discussion (Misc queries) 1 October 9th 06 10:47 AM


All times are GMT +1. The time now is 03:36 AM.

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"