LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 215
Default Extracting Terms and Exponents of a Text Poly Formula ??

Hello;

(Sorry for cross-posting, but no expert has taken it on from the other XL
forum, suggesting the answer is either too simple or too difficult or simply
can't be done using w/s functions/macro!)

1) This exercise would save me considerable time and would almost certainly
eliminate the possibility of typing errors in preparing the input data file
for another application (program).

2) My program requires each input multivariant polynomial equation to be
specified as follows and in the same order:
--Number of Independent Variables, N (max 10)
--Number or Terms, M (max 20)
--Term 1: power of var 1
: power of var 2
: ...................
: power of var N
: coeff
--Term 2: power of var 1
: power of var 2
: ...................
: power of var N
: coeff
.....................................
--Term M: power of var 1
: power of var 2
: ...................
: power of var N
: coeff

3) It would be extremely helpful if I could type (or cut/paste) the equation
(of up to 10 variables and up to 20 terms) in a cell on a w/s and
automatically get the above particulars extracted and nicely tabulated in a
column.

4) Simplified Example: (3 var & 4 terms)
cell B1 enter :: 1.5*X + 2.*X*Y^2 - 3.0*Z*Y + 4.5*X*Z^4 = 0.0
cell B2 enter no. of variables :: 3
cell B3:B3+N-1 enter var names :: X Y Z

Expected Results:
Number of Terms M, cell C5 :: 4
Term 1: power of var 1, cell C6 :: 1
: power of var 2, cell C7 :: 0
: power of var 3, cell C8 :: 0
: coeff , cell C9 :: 1.50
Term 2: power of var 1, cell C10 :: 1
: power of var 2, cell C11 :: 2
: power of var 3, cell C12 :: 0
: coeff , cell C13 :: 2.00
Term 3: power of var 1, cell C14 :: 0
: power of var 2, cell C15 :: 1
: power of var 3, cell C16 :: 1
: coeff , cell C17 :: -3.00
Term 4: power of var 1, cell C18 :: 1
: power of var 2, cell C19 :: 0
: power of var 3, cell C20 :: 4
: coeff , cell C21 :: 4.50

Could someone please provide some guidance on how to accomplish that ??

Thank you kindly.
 
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
Formula for extracting text formated numbers within ( )'s as numbe M Excel Discussion (Misc queries) 6 October 30th 08 11:59 PM
conditional formula in terms of cell formats bd Excel Worksheet Functions 11 October 20th 08 06:25 AM
I cannot display all the poly equation constants on the chart. daz Charts and Charting in Excel 4 October 17th 07 04:29 PM
exponents in excel Pé Excel Worksheet Functions 0 February 15th 07 03:43 PM
sum of a series of exponents sirsoto Excel Worksheet Functions 2 July 5th 05 08:57 PM


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

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"