Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 740
Default how to formulate this easily???

Hi All,

TIA...

I need to extract the corresponding intercept of the days with the amount.
for cash flow variance

e.g.
I have one row with 10 columns - each cell contains days -
A2:J2
25 50 65 90 115 135 150 180 200 215

then I have a 2 columns of data

first column stores the amount, while the second column stores the days...
A10:B20
$30,000 30
$60,000 60
$90,000 90
$100,000 121
$150,000 152
$160,000 180
$200,000 210
$220,000 241
$250,000 271
$300,000 302

to place formulated result in A3:J3, by searching the direct interpolated
amount between the given data

e.g.
since A2=25 and A10=$30,000 and B10=30, hence A3=25,000
also since B2=50 then B3= $50,000

hope there is one formula for this type of question.

regards n gracias

--
*****
birds of the same feather flock together..

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 270
Default how to formulate this easily???

Hi

If I am reading what you want correctly, then I would suggest:

Copy the range A10:B20
Paste special into -say - A8 after ticking the 'Transpose' box.
In A3 use =A8/A9*A2 and then drag the formula along the rest of the row.

Sandy

"driller" wrote in message
...
Hi All,

TIA...

I need to extract the corresponding intercept of the days with the amount.
for cash flow variance

e.g.
I have one row with 10 columns - each cell contains days -
A2:J2
25 50 65 90 115 135 150 180 200 215

then I have a 2 columns of data

first column stores the amount, while the second column stores the days...
A10:B20
$30,000 30
$60,000 60
$90,000 90
$100,000 121
$150,000 152
$160,000 180
$200,000 210
$220,000 241
$250,000 271
$300,000 302

to place formulated result in A3:J3, by searching the direct interpolated
amount between the given data

e.g.
since A2=25 and A10=$30,000 and B10=30, hence A3=25,000
also since B2=50 then B3= $50,000

hope there is one formula for this type of question.

regards n gracias

--
*****
birds of the same feather flock together..



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,339
Default how to formulate this easily???

Try this:

=INDEX($A$9:$A$19,MATCH(A$2,$B$9:$B$19,1)+1)+((IND EX($A$9:$A$19,MATCH(A$2,$B$9:$B$19,1))-INDEX($A$9:$A$19,MATCH(A$2,$B$9:$B$19,1)+1))/(INDEX($B$9:$B$19,MATCH(A$2,$B$9:$B$19,1))-INDEX($B$9:$B$19,MATCH(A$2,$B$9:$B$19,1)+1)))*(A$2-INDEX($B$9:$B$19,MATCH(A$2,$B$9:$B$19,1)+1))


Sandy,
Executing your solution gave a value of approx $74,000 for 90
days whereas the table has a value of $90,000. The data is non-linear and I
beieve your solution only works if it is a straight line.


"Sandy" wrote:

Hi

If I am reading what you want correctly, then I would suggest:

Copy the range A10:B20
Paste special into -say - A8 after ticking the 'Transpose' box.
In A3 use =A8/A9*A2 and then drag the formula along the rest of the row.

Sandy

"driller" wrote in message
...
Hi All,

TIA...

I need to extract the corresponding intercept of the days with the amount.
for cash flow variance

e.g.
I have one row with 10 columns - each cell contains days -
A2:J2
25 50 65 90 115 135 150 180 200 215

then I have a 2 columns of data

first column stores the amount, while the second column stores the days...
A10:B20
$30,000 30
$60,000 60
$90,000 90
$100,000 121
$150,000 152
$160,000 180
$200,000 210
$220,000 241
$250,000 271
$300,000 302

to place formulated result in A3:J3, by searching the direct interpolated
amount between the given data

e.g.
since A2=25 and A10=$30,000 and B10=30, hence A3=25,000
also since B2=50 then B3= $50,000

hope there is one formula for this type of question.

regards n gracias

--
*****
birds of the same feather flock together..




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,339
Default how to formulate this easily???

Correction ...

I needed to add A9 and B9 with 0 (zero) in each cell.

"Toppers" wrote:

Try this:

=INDEX($A$9:$A$19,MATCH(A$2,$B$9:$B$19,1)+1)+((IND EX($A$9:$A$19,MATCH(A$2,$B$9:$B$19,1))-INDEX($A$9:$A$19,MATCH(A$2,$B$9:$B$19,1)+1))/(INDEX($B$9:$B$19,MATCH(A$2,$B$9:$B$19,1))-INDEX($B$9:$B$19,MATCH(A$2,$B$9:$B$19,1)+1)))*(A$2-INDEX($B$9:$B$19,MATCH(A$2,$B$9:$B$19,1)+1))


Sandy,
Executing your solution gave a value of approx $74,000 for 90
days whereas the table has a value of $90,000. The data is non-linear and I
beieve your solution only works if it is a straight line.


"Sandy" wrote:

Hi

If I am reading what you want correctly, then I would suggest:

Copy the range A10:B20
Paste special into -say - A8 after ticking the 'Transpose' box.
In A3 use =A8/A9*A2 and then drag the formula along the rest of the row.

Sandy

"driller" wrote in message
...
Hi All,

TIA...

I need to extract the corresponding intercept of the days with the amount.
for cash flow variance

e.g.
I have one row with 10 columns - each cell contains days -
A2:J2
25 50 65 90 115 135 150 180 200 215

then I have a 2 columns of data

first column stores the amount, while the second column stores the days...
A10:B20
$30,000 30
$60,000 60
$90,000 90
$100,000 121
$150,000 152
$160,000 180
$200,000 210
$220,000 241
$250,000 271
$300,000 302

to place formulated result in A3:J3, by searching the direct interpolated
amount between the given data

e.g.
since A2=25 and A10=$30,000 and B10=30, hence A3=25,000
also since B2=50 then B3= $50,000

hope there is one formula for this type of question.

regards n gracias

--
*****
birds of the same feather flock together..




  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 740
Default how to formulate this easily???

thanks Toppers,
I follow the formula and add 0,0 on first row of data amount,days...
i got some problem on the last result cell e.g. J3
e.g.
last ref cell : B19 = 302
lookup cell J2=302
result cell J3=#REF!

i really don't know what happen here! I verify the ranges in the formula by
auditing tools! Please verify the formula !

gracias and regards...



--
*****
birds of the same feather flock together..



"Toppers" wrote:

Correction ...

I needed to add A9 and B9 with 0 (zero) in each cell.

"Toppers" wrote:

Try this:

=INDEX($A$9:$A$19,MATCH(A$2,$B$9:$B$19,1)+1)+((IND EX($A$9:$A$19,MATCH(A$2,$B$9:$B$19,1))-INDEX($A$9:$A$19,MATCH(A$2,$B$9:$B$19,1)+1))/(INDEX($B$9:$B$19,MATCH(A$2,$B$9:$B$19,1))-INDEX($B$9:$B$19,MATCH(A$2,$B$9:$B$19,1)+1)))*(A$2-INDEX($B$9:$B$19,MATCH(A$2,$B$9:$B$19,1)+1))


Sandy,
Executing your solution gave a value of approx $74,000 for 90
days whereas the table has a value of $90,000. The data is non-linear and I
beieve your solution only works if it is a straight line.


"Sandy" wrote:

Hi

If I am reading what you want correctly, then I would suggest:

Copy the range A10:B20
Paste special into -say - A8 after ticking the 'Transpose' box.
In A3 use =A8/A9*A2 and then drag the formula along the rest of the row.

Sandy

"driller" wrote in message
...
Hi All,

TIA...

I need to extract the corresponding intercept of the days with the amount.
for cash flow variance

e.g.
I have one row with 10 columns - each cell contains days -
A2:J2
25 50 65 90 115 135 150 180 200 215

then I have a 2 columns of data

first column stores the amount, while the second column stores the days...
A10:B20
$30,000 30
$60,000 60
$90,000 90
$100,000 121
$150,000 152
$160,000 180
$200,000 210
$220,000 241
$250,000 271
$300,000 302

to place formulated result in A3:J3, by searching the direct interpolated
amount between the given data

e.g.
since A2=25 and A10=$30,000 and B10=30, hence A3=25,000
also since B2=50 then B3= $50,000

hope there is one formula for this type of question.

regards n gracias

--
*****
birds of the same feather flock together..






  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,339
Default how to formulate this easily???

Extend range to include row 20:


=INDEX($A$9:$A$20,MATCH(A$2,$B$9:$B$20,1))+((INDEX ($A$9:$A$20,MATCH(A$2,$B$9:$B$20,1)+1)-INDEX($A$9:$A$19,MATCH(A$2,$B$9:$B$19,1)))/(INDEX($B$9:$B$20,MATCH(A$2,$B$9:$B$20,1)+1)-INDEX($B$9:$B$20,MATCH(A$2,$B$9:$B$20,1))))*(A$2-INDEX($B$9:$B$20,MATCH(A$2,$B$9:$B$20,1)))


"driller" wrote:

thanks Toppers,
I follow the formula and add 0,0 on first row of data amount,days...
i got some problem on the last result cell e.g. J3
e.g.
last ref cell : B19 = 302
lookup cell J2=302
result cell J3=#REF!

i really don't know what happen here! I verify the ranges in the formula by
auditing tools! Please verify the formula !

gracias and regards...



--
*****
birds of the same feather flock together..



"Toppers" wrote:

Correction ...

I needed to add A9 and B9 with 0 (zero) in each cell.

"Toppers" wrote:

Try this:

=INDEX($A$9:$A$19,MATCH(A$2,$B$9:$B$19,1)+1)+((IND EX($A$9:$A$19,MATCH(A$2,$B$9:$B$19,1))-INDEX($A$9:$A$19,MATCH(A$2,$B$9:$B$19,1)+1))/(INDEX($B$9:$B$19,MATCH(A$2,$B$9:$B$19,1))-INDEX($B$9:$B$19,MATCH(A$2,$B$9:$B$19,1)+1)))*(A$2-INDEX($B$9:$B$19,MATCH(A$2,$B$9:$B$19,1)+1))


Sandy,
Executing your solution gave a value of approx $74,000 for 90
days whereas the table has a value of $90,000. The data is non-linear and I
beieve your solution only works if it is a straight line.


"Sandy" wrote:

Hi

If I am reading what you want correctly, then I would suggest:

Copy the range A10:B20
Paste special into -say - A8 after ticking the 'Transpose' box.
In A3 use =A8/A9*A2 and then drag the formula along the rest of the row.

Sandy

"driller" wrote in message
...
Hi All,

TIA...

I need to extract the corresponding intercept of the days with the amount.
for cash flow variance

e.g.
I have one row with 10 columns - each cell contains days -
A2:J2
25 50 65 90 115 135 150 180 200 215

then I have a 2 columns of data

first column stores the amount, while the second column stores the days...
A10:B20
$30,000 30
$60,000 60
$90,000 90
$100,000 121
$150,000 152
$160,000 180
$200,000 210
$220,000 241
$250,000 271
$300,000 302

to place formulated result in A3:J3, by searching the direct interpolated
amount between the given data

e.g.
since A2=25 and A10=$30,000 and B10=30, hence A3=25,000
also since B2=50 then B3= $50,000

hope there is one formula for this type of question.

regards n gracias

--
*****
birds of the same feather flock together..




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
how to formulate this??? FORMULA Excel Discussion (Misc queries) 4 November 13th 06 05:46 AM
How do i formulate to add certain colored numbers? Jawz22 Excel Discussion (Misc queries) 2 July 30th 06 06:16 PM
time formulate arslan Excel Discussion (Misc queries) 3 April 16th 06 01:22 PM
How do you formulate an entire column? SWcoord Excel Worksheet Functions 1 February 15th 06 06:39 PM
HOW DO I FORMULATE A CELL TO ROUND $5.82 TO $5.85 rikg Excel Discussion (Misc queries) 3 April 9th 05 01:53 PM


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