Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 27
Default how to get values in between data?

hi,
if i have 2 column of data like
A B
100 10
200 36
300 45
400 60

how can i get the b values for input of values that are in between my column
A data? im currently ploting out the graph and using the trendline eqn to
obtain my results.however polynomial power6 curve still cannot approach my
table data well.
wonder if i can do some what-if-analysis to interpolate the 2 column?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,651
Default how to get values in between data?

On Wed, 22 Oct 2008 10:21:02 -0700, Oligo wrote:

hi,
if i have 2 column of data like
A B
100 10
200 36
300 45
400 60

how can i get the b values for input of values that are in between my column
A data? im currently ploting out the graph and using the trendline eqn to
obtain my results.however polynomial power6 curve still cannot approach my
table data well.
wonder if i can do some what-if-analysis to interpolate the 2 column?


Given the data you present above, a 3rd order polynomial as an R^2 of 1. Can't
get too much better fit than that.

If your "real" data doesn't match the data you've presented, you'll have to
make some decision as to how you will interpolate between points.

One common problem in trying to apply the formula on a graph to real data is
the precision of the values displayed. If that is what you are trying to do,
and is your problem, right-click on the formula, then select "format trendline
label". Format the number to 15 decimals and use those values.

Or, you could use the LINEST equation. To use the LINEST equation to predict
the B value given a new A, using the 3rd order polynomial:

=SUMPRODUCT(X^{3,2,1,0},LINEST(B,A^{1,2,3}))

where X is your unknown A.

--ron
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 168
Default how to get values in between data?

Hi Oligo,

If you are looking for a straight line fit between
data points, try this approach.

Put this formula in D1 and drag it down to D4
=IF(AND($E$1=A1,$E$1<=A2),TREND(B1:B2,A1:A2,$E$1) ,0)

In F4 put this
=MAX(D1:D4)

Put a new value for A into E1
and F1 will reflect the corresponding B value.

HTH
Martin

"Oligo" wrote in message
...
hi,
if i have 2 column of data like
A B
100 10
200 36
300 45
400 60

how can i get the b values for input of values that are in between my
column
A data? im currently ploting out the graph and using the trendline eqn to
obtain my results.however polynomial power6 curve still cannot approach my
table data well.
wonder if i can do some what-if-analysis to interpolate the 2 column?



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 27
Default how to get values in between data?



"MartinW" wrote:

Hi Oligo,

If you are looking for a straight line fit between
data points, try this approach.

Put this formula in D1 and drag it down to D4
=IF(AND($E$1=A1,$E$1<=A2),TREND(B1:B2,A1:A2,$E$1) ,0)

In F4 put this
=MAX(D1:D4)

Put a new value for A into E1
and F1 will reflect the corresponding B value.

HTH
Martin


thanks martin. but now i got another issue. your interpolate formula solve
the problem. but i need the interpolated value to be reference in formula on
another worksheet. so now i dont know how to reference to the cell since the
interpolation values will only be adjacent to the cell that match the if
analysis.
  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 168
Default how to get values in between data?

Say your interpolated value is in Sheet1 cell F1,
Put this in the other Sheet
=Sheet1!F1

You can reference another sheet like that
in any formula.

HTH
Martin



"Oligo" wrote in message
...


"MartinW" wrote:

Hi Oligo,

If you are looking for a straight line fit between
data points, try this approach.

Put this formula in D1 and drag it down to D4
=IF(AND($E$1=A1,$E$1<=A2),TREND(B1:B2,A1:A2,$E$1) ,0)

In F4 put this
=MAX(D1:D4)

Put a new value for A into E1
and F1 will reflect the corresponding B value.

HTH
Martin


thanks martin. but now i got another issue. your interpolate formula solve
the problem. but i need the interpolated value to be reference in formula
on
another worksheet. so now i dont know how to reference to the cell since
the
interpolation values will only be adjacent to the cell that match the if
analysis.





  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 27
Default how to get values in between data?

thanks martin.

"MartinW" wrote:

Say your interpolated value is in Sheet1 cell F1,
Put this in the other Sheet
=Sheet1!F1

You can reference another sheet like that
in any formula.

HTH
Martin



"Oligo" wrote in message
...


"MartinW" wrote:

Hi Oligo,

If you are looking for a straight line fit between
data points, try this approach.

Put this formula in D1 and drag it down to D4
=IF(AND($E$1=A1,$E$1<=A2),TREND(B1:B2,A1:A2,$E$1) ,0)

In F4 put this
=MAX(D1:D4)

Put a new value for A into E1
and F1 will reflect the corresponding B value.

HTH
Martin


thanks martin. but now i got another issue. your interpolate formula solve
the problem. but i need the interpolated value to be reference in formula
on
another worksheet. so now i dont know how to reference to the cell since
the
interpolation values will only be adjacent to the cell that match the if
analysis.




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
Data values t_sumaré Excel Worksheet Functions 0 August 30th 07 04:02 PM
Excel chart source data y-values can only accept 7 data pts? progprog Charts and Charting in Excel 3 March 14th 07 01:09 AM
How do you get the values of the data between data points marshie Excel Worksheet Functions 1 September 25th 06 01:41 AM
why do I get the multiple data values when there is no data in my. Audi Excel Worksheet Functions 0 July 27th 06 05:20 PM
If I have X,Y data how do I sum the Y values using a set of bins based on x values ScottBerger Excel Worksheet Functions 1 November 16th 04 11:48 PM


All times are GMT +1. The time now is 07:06 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"