+ Reply to Thread
Results 1 to 3 of 3

Finding x in y=x^3+x^2+x

  1. #1
    Registered User
    Join Date
    06-05-2008
    Posts
    2

    Finding x in y=x^3+x^2+x

    I've an equation of the 3º.
    To enter with the x and find y, i know!
    I want to enter with the y and find the x. How do I do this in excel? How do i do the same in VBA?

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    Please don't post duplicate threads in multiple forums.
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Forum Contributor
    Join Date
    02-27-2008
    Posts
    764

    goal seek

    Hi
    if A1= x value
    B1= =A1^3+a1^2 + A1
    Goto Tools menu > goal seek > set cell = B1 > to value = enter the desired Y value > by changing cell = A1 > click OK
    for VBA
    enter y value in C1 and run the macro with the following codes
    Sub Macro1()
    Range("B1").GoalSeek Goal:=Range("C1"), ChangingCell:=Range("A1")
    End Sub
    Ravi
    Last edited by ravishankar; 06-06-2008 at 06:34 AM.

+ 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. Finding Multiple matches in same column
    By jerry8989 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-15-2008, 02:26 PM
  2. finding "like" part numbers
    By leapyleigh in forum Excel General
    Replies: 5
    Last Post: 09-02-2007, 02:43 PM
  3. Finding the closest number on a column
    By elpollo in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 08-24-2007, 06:59 PM
  4. Replies: 3
    Last Post: 03-02-2007, 07:13 AM
  5. Finding the sum of Duplicate Rows
    By mojocojo2000 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-05-2006, 11:14 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