Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
vijaya
 
Posts: n/a
Default To find equation for two sets of non contiguous data

Hi
I have data like this:

Q C Q C Q c Formula (or equation)
a 1 10 2 20 3 30
b 4 40 5 50 6 60

I want a relation like y =m x or y= 3*e 0.2 ., or somethign liek that,
like how we get aan equation when we add a trend line. Is it possible to get
the equation for the above arranged data, and when i drag it to the next row
of data can the equation be updated using some trend formula or something...
IS this possible
  #2   Report Post  
Jerry W. Lewis
 
Posts: n/a
Default To find equation for two sets of non contiguous data

If you want function that relates Q and C, it would appear to be
C = 10*Q
or
Q = C/10

If you are asking whether those coefficients could be calculated by an
Excel function with more general data, then it depends on whether your
model can be expressed as a simple straight line using either the
original or transformed data; otherwise, no. Assuming that your data
are in A1:F2, you could array enter (Ctrl-Shift-Enter) the following
formulas
=SLOPE(IF(MOD(COLUMN(B1:G2),2)=0,B1:G2),IF(MOD(COL UMN(A1:F2),2)=1,A1:F2))
=INTERCEPT(IF(MOD(COLUMN(B1:G2),2)=0,B1:G2),IF(MOD (COLUMN(A1:F2),2)=1,A1:F2))

If your question is entirely different than the above, then you need to
be much more specific about what you are wanting to do.

Jerry

vijaya wrote:

Hi
I have data like this:

Q C Q C Q c Formula (or equation)
a 1 10 2 20 3 30
b 4 40 5 50 6 60

I want a relation like y =m x or y= 3*e 0.2 ., or somethign liek that,
like how we get aan equation when we add a trend line. Is it possible to get
the equation for the above arranged data, and when i drag it to the next row
of data can the equation be updated using some trend formula or something...
IS this possible


  #3   Report Post  
Jon Peltier
 
Posts: n/a
Default To find equation for two sets of non contiguous data

Jerry neglected to point out that this data arrangement is very
inefficient for the task at hand. A better arrangement would look like this:

a b
Q C Q C
1 10 4 40
2 20 5 50
3 30 6 60

This way each X range and Y range pairing are in adjacent columns, much
easier to write formulas and select ranges.

So many difficulties in Excel are eliminated by using a proper data layout.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services
Tutorials and Custom Solutions
http://PeltierTech.com/
_______


Jerry W. Lewis wrote:

If you want function that relates Q and C, it would appear to be
C = 10*Q
or
Q = C/10

If you are asking whether those coefficients could be calculated by an
Excel function with more general data, then it depends on whether your
model can be expressed as a simple straight line using either the
original or transformed data; otherwise, no. Assuming that your data
are in A1:F2, you could array enter (Ctrl-Shift-Enter) the following
formulas
=SLOPE(IF(MOD(COLUMN(B1:G2),2)=0,B1:G2),IF(MOD(COL UMN(A1:F2),2)=1,A1:F2))
=INTERCEPT(IF(MOD(COLUMN(B1:G2),2)=0,B1:G2),IF(MOD (COLUMN(A1:F2),2)=1,A1:F2))


If your question is entirely different than the above, then you need to
be much more specific about what you are wanting to do.

Jerry

vijaya wrote:

Hi
I have data like this:

Q C Q C Q c Formula (or equation)
a 1 10 2 20 3 30
b 4 40 5 50 6 60

I want a relation like y =m x or y= 3*e 0.2 ., or somethign liek
that, like how we get aan equation when we add a trend line. Is it
possible to get the equation for the above arranged data, and when i
drag it to the next row of data can the equation be updated using some
trend formula or something...
IS this possible



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
multiple scatter graphes how to plot 3 sets of data for x y on th. frances Charts and Charting in Excel 3 May 2nd 23 11:42 AM
"Link to other data source" - How can I find out what is linked? Chicago D Excel Discussion (Misc queries) 2 August 24th 05 08:19 PM
How do I compare data from 2 worksheets to find duplicate entries Jack Excel Discussion (Misc queries) 2 August 16th 05 02:17 PM
Line Graph Data Recognition Nat Charts and Charting in Excel 2 April 30th 05 02:07 PM
Charting data ranges that change mikelee101 Charts and Charting in Excel 2 December 16th 04 11:07 PM


All times are GMT +1. The time now is 01:52 PM.

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"