+ Reply to Thread
Results 1 to 5 of 5

Sumproduct polynomial using curly brackets

  1. #1
    Forum Contributor
    Join Date
    08-05-2009
    Location
    Colorado Springs, CO
    MS-Off Ver
    Office 365
    Posts
    161

    Sumproduct polynomial using curly brackets

    I have forgotten how this works, but I'm trying to calculate a polynomial value (y = C0 + C1*X + C2*X^2).
    I remember the formula is something like this: =sumproduct(A1,B1:B3^{0,1,2})
    Where A1 is any value and B1:B3 contains the polynomial coefficients.
    However, what I typed above is not correct.
    How to?

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,510

    Re: Sumproduct polynomial using curly brackets

    See the responses to this link: https://newtonexcelbach.com/2009/09/...ial-functions/
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,510

    Re: Sumproduct polynomial using curly brackets

    Ok, after some playing:

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Or
    Formula: copy to clipboard
    Please Login or Register  to view this content.



    Where B1 contains the value for X, B2:B4 contain the coefficients, and C2:C4 contain the powers (0, 1, 2)

    So, A + Bx + Cx^2 => B2*B1^0 + B3*B1^1 + B4*B1^2 => B2*B1^C2 + B3*B1^C3 + B4*B1^C4

  4. #4
    Forum Contributor
    Join Date
    08-05-2009
    Location
    Colorado Springs, CO
    MS-Off Ver
    Office 365
    Posts
    161

    Re: Sumproduct polynomial using curly brackets

    Got it. Thank you.

  5. #5
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,510

    Re: Sumproduct polynomial using curly brackets

    You're welcome. Thanks for the rep.



    If you are satisfied with the solution(s) provided, please mark your thread as Solved.


    New quick method:
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

    Or you can use this way:

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save


    You may also want to consider thanking those people who helped you by clicking on the little star at the bottom left of their reply to your question.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Curly brackets from google sheets to Excel HELP!
    By Boxgrabber in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-15-2022, 09:56 PM
  2. Curly brackets / arrays in if statement formulas
    By Mahisse in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-18-2018, 09:16 AM
  3. [SOLVED] SUM(COUNTIF.. with more than one pair of curly brackets ?
    By Gabor in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 12-30-2013, 03:46 PM
  4. what is the meaning of curly brackets in the functions { }
    By funtastic in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-04-2013, 04:23 PM
  5. What do curly brackets /braces {} do in VBA
    By Huugin in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-17-2012, 04:33 PM
  6. [SOLVED] Excluding Single Member from CUBEVALUE using Curly Brackets
    By tlafferty in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-21-2012, 05:58 PM
  7. [SOLVED] Curly Brackets in formula view
    By VBSK8R in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-04-2012, 09:32 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1