Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default creating logarithmic trendline equation function


Hello,

I was just wondering how I can create a logarithmic trendline equatio
function out of three points. I don’t want to have to manually copy i
from a chart as there are over fifty different log equations. I woul
like it to just calculate a result automatically in a cell.

Example:

Three data points:

X
15.00 23.00 35.00

Y
25.34 24.38 22.72


Trendline equation created from three point in chart:
y = -3.0925Ln(x) + 33.836

Let x = 25

y = 23.88

I sure hope you can help me this.

Thanks,

Mitchel

mparke
-----------------------------------------------------------------------
Posted via http://www.mcse.m
-----------------------------------------------------------------------
View this thread: http://www.mcse.ms/message399665.htm

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default creating logarithmic trendline equation function

assume you data

A1: 15 B1: 25.34
A2: 23 B2: 24.38
A3: 35 B3: 22.72

A5: =ln(a1)
A6: =ln(A2)
A7: =ln(A3)

select C1:D1 array enter (ctrl+Shift+Enter rather than just enter)
=Linest(B1:B3,A5:A7)

c1: -3.089633383

D1: 33.82637732

Answer is slightly different, but we may not have exactly the same inputs.

--
Regards,
Tom Ogilvy


"mparker" wrote in message
...

Hello,

I was just wondering how I can create a logarithmic trendline equation
function out of three points. I don't want to have to manually copy it
from a chart as there are over fifty different log equations. I would
like it to just calculate a result automatically in a cell.

Example:

Three data points:

X
15.00 23.00 35.00

Y
25.34 24.38 22.72


Trendline equation created from three point in chart:
y = -3.0925Ln(x) + 33.836

Let x = 25

y = 23.88

I sure hope you can help me this.

Thanks,

Mitchell


mparker
------------------------------------------------------------------------
Posted via http://www.mcse.ms
------------------------------------------------------------------------
View this thread: http://www.mcse.ms/message399665.html



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 100
Default creating logarithmic trendline equation function

Mitchel

You can use the LOGEST function

If you put your data in the range B1:D3 as described, then array enter the formula =LOGEST(B2:D2,B1:D1) in cells B7:C7. The results will be (approx) .99 (B7) and 27.56 (C7). The formula is then =$C$7*$B$7^B1 copied across to cover the X cells B1 to B3

Ton

----- mparker wrote: ----


Hello

I was just wondering how I can create a logarithmic trendline equatio
function out of three points. I dont want to have to manually copy i
from a chart as there are over fifty different log equations. I woul
like it to just calculate a result automatically in a cell

Example

Three data points

X
15.00 23.00 35.0


25.34 24.38 22.7


Trendline equation created from three point in chart
y = -3.0925Ln(x) + 33.83

Let x = 2

y = 23.8

I sure hope you can help me this

Thanks

Mitchel


mparke
-----------------------------------------------------------------------
Posted via http://www.mcse.m
-----------------------------------------------------------------------
View this thread: http://www.mcse.ms/message399665.htm


Reply
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
Getting the values from a logarithmic trendline Garf[_2_] Excel Discussion (Misc queries) 4 March 11th 09 04:41 PM
Logarithmic Trendline [email protected] Charts and Charting in Excel 2 March 28th 07 11:18 PM
Logarithmic equation Pedro Monteiro Charts and Charting in Excel 1 August 22nd 06 06:22 PM
Function for Logarithmic Trendline ArthurJ Charts and Charting in Excel 9 June 8th 05 12:08 AM
Logarithmic Trendline Equation Phil Hageman Charts and Charting in Excel 2 January 13th 05 11:55 AM


All times are GMT +1. The time now is 12:13 AM.

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"