This might help you: http://people.hofstra.edu/Stefan_Waner/RealWorld/Excel/tuts/ExcelPivot.xls
Norman On Mon, Jan 11, 2010 at 4:15 PM, larry <laurence.tha...@navy.mil> wrote: > I am trying to use the Gauss/Jordan method as a subrouting in my code. > This is code that lets you put linear equations into a matrix and then > finds the values for the variables in the equations. I am concerned > that my rewrite has made the count off so I am not getting the answers > I expect. Can anybody tell me if I am missing a step? Thanks > > Sub Jordan(N, M, A) > For K = 1 To N > For J = (K + 1) To M > A(K, J) = A(K, J) / A(K, K) > Next J > For I = 1 To N > If I <> K Then > For J = (K + 1) To M > A(I, J) = A(I, J) - A(I, K) * A(K, J) > Next J > End If > Next I > Next K > > -- > > ---------------------------------------------------------------------------------- > Some important links for excel users: > 1. Follow us in TWITTER for tips tricks and links : > http://twitter.com/exceldailytip > 2. Excel and VBA Tutorials(Video and Text), Free add-ins downloads at > http://www.excelitems.com > 3. Excel tutorials at http://www.excel-macros.blogspot.com > 4. Learn VBA Macros at http://www.quickvba.blogspot.com > 5. Excel Tips and Tricks at http://exceldailytip.blogspot.com > > > To post to this group, send email to excel-macros@googlegroups.com > If you find any spam message in the group, please send an email to: > Ayush Jain @ jainayus...@gmail.com > <><><><><><><><><><><><><><><><><><><><><><> > HELP US GROW !! > > We reach over 6,500 subscribers worldwide and receive many nice notes about > the learning and support from the group.Let friends and co-workers know they > can subscribe to group at > http://groups.google.com/group/excel-macros/subscribe > >
-- ---------------------------------------------------------------------------------- Some important links for excel users: 1. Follow us in TWITTER for tips tricks and links : http://twitter.com/exceldailytip 2. Excel and VBA Tutorials(Video and Text), Free add-ins downloads at http://www.excelitems.com 3. Excel tutorials at http://www.excel-macros.blogspot.com 4. Learn VBA Macros at http://www.quickvba.blogspot.com 5. Excel Tips and Tricks at http://exceldailytip.blogspot.com To post to this group, send email to excel-macros@googlegroups.com If you find any spam message in the group, please send an email to: Ayush Jain @ jainayus...@gmail.com <><><><><><><><><><><><><><><><><><><><><><> HELP US GROW !! We reach over 6,500 subscribers worldwide and receive many nice notes about the learning and support from the group.Let friends and co-workers know they can subscribe to group at http://groups.google.com/group/excel-macros/subscribe