Results 1 to 6 of 6

Best-fitting an array

Threaded View

  1. #1
    Registered User
    Join Date
    02-10-2015
    Location
    Notts, England
    MS-Off Ver
    2010
    Posts
    3

    Best-fitting an array

    Hi. I'm new to forums like this.

    In Excel, I have an array of 30 random positive and negative values.

    I wish to execute a best-fit via a corresponding cell formula that can be used
    to adjust all the values in their individual negative or positive family group, in
    one direction away from the absolute maximum deviation accordingly, regardless
    of the sign of that maximum value:

    Using initially only the highest negative and highest positive value, I have first
    subtracted half the absolute difference between them for a value to be the best-fit
    adjustment factor.

    Typically my adjusted column would look something like below.

    0.210 0.220
    0.140 < == THESE VALUES TO THESE == > 0.150
    0.110 0.120
    -0.261 -0.251
    0.111 0.121
    0.117 0.127
    0.279 HIGHEST POSITIVE .279 0.289
    -0.024 -0.014
    -0.299 HIGHEST NEGATIVE .299 + (highest of the 2 values) -0.289
    -0.115 ------ -0.105
    0.170 578 / 2 = .289 0.180
    0.035 0.045
    0.027 .299 - .289 = .010 (best fit adjustment value) 0.037
    -0.138 ==== -0.128
    0.081 0.091
    0.102 0.112
    -0.016 -0.006
    0.267 0.277

    I'm betting this isn't too tricky right?

    Cheers

    OK my column spacing has gone nuts when posted. Sorry about that.
    Last edited by Parky102!; 02-10-2015 at 12:48 PM. Reason: Clarification

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Excel 2007 : How to do a Data Fitting?
    By Nokia N93 in forum Excel General
    Replies: 3
    Last Post: 12-20-2011, 03:07 AM
  2. [SOLVED] curve fitting
    By somsankarsen@gmail.com in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 06-03-2006, 02:10 PM
  3. [SOLVED] Curve fitting in Excel
    By Vidya Raja in forum Excel General
    Replies: 1
    Last Post: 01-06-2006, 03:25 PM
  4. [SOLVED] Best fitting curve
    By ladee_bird in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-27-2005, 09:05 AM
  5. best curve fitting
    By ladee_bird in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 09-20-2005, 03:05 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