Hello everyone,
First of all, I would like to thank you for taking the time to help me out. Here is what I am looking to do:
-I have a table with rate values for certain periods (dates) (Given)
-Then I have another(second table) table that has three columns , start date input , end date input , value cell (formula cell)
-The formula will need to look at the input of the start date and end date (in the second table) and populate the correct value from the first table
-If the duration falls between two periods it will need to populate the average values of the two.
here is an example below, I hope my explanation made sense.
GIVEN DATA/ GIVEN TABLE
[TABLE="width: 500"]
<tbody>[TR]
[TD]6/30/2017[/TD]
[TD]6/30/2018[/TD]
[TD]6/30/2019[/TD]
[/TR]
[TR]
[TD]20[/TD]
[TD]25[/TD]
[TD]30
[/TD]
[/TR]
[TR]
[TD]30[/TD]
[TD]35[/TD]
[TD]40[/TD]
[/TR]
[TR]
[TD]40[/TD]
[TD]45[/TD]
[TD]50[/TD]
[/TR]
[TR]
[TD]50[/TD]
[TD]55[/TD]
[TD]60[/TD]
[/TR]
</tbody>[/TABLE]
FORMULA & INPUT TABLE
[TABLE="width: 500"]
<tbody>[TR]
[TD]VALUE[/TD]
[TD]START DATE[/TD]
[TD] END DATE[/TD]
[/TR]
[TR]
[TD]20[/TD]
[TD]4/30/2017[/TD]
[TD]5/30/2017[/TD]
[/TR]
[TR]
[TD]32.5[/TD]
[TD]3/30/2017[/TD]
[TD]5/30/2018[/TD]
[/TR]
[TR]
[TD]50[/TD]
[TD]7/30/2018[/TD]
[TD]4/30/2019[/TD]
[/TR]
[TR]
[TD]57.5[/TD]
[TD]5/30/2018[/TD]
[TD]5/30/2019[/TD]
[/TR]
</tbody>[/TABLE]
Note that the 2nd and 4th inputs fall in two periods and there for the value populated is the average.
Thank you very much for your help
First of all, I would like to thank you for taking the time to help me out. Here is what I am looking to do:
-I have a table with rate values for certain periods (dates) (Given)
-Then I have another(second table) table that has three columns , start date input , end date input , value cell (formula cell)
-The formula will need to look at the input of the start date and end date (in the second table) and populate the correct value from the first table
-If the duration falls between two periods it will need to populate the average values of the two.
here is an example below, I hope my explanation made sense.
GIVEN DATA/ GIVEN TABLE
[TABLE="width: 500"]
<tbody>[TR]
[TD]6/30/2017[/TD]
[TD]6/30/2018[/TD]
[TD]6/30/2019[/TD]
[/TR]
[TR]
[TD]20[/TD]
[TD]25[/TD]
[TD]30
[/TD]
[/TR]
[TR]
[TD]30[/TD]
[TD]35[/TD]
[TD]40[/TD]
[/TR]
[TR]
[TD]40[/TD]
[TD]45[/TD]
[TD]50[/TD]
[/TR]
[TR]
[TD]50[/TD]
[TD]55[/TD]
[TD]60[/TD]
[/TR]
</tbody>[/TABLE]
FORMULA & INPUT TABLE
[TABLE="width: 500"]
<tbody>[TR]
[TD]VALUE[/TD]
[TD]START DATE[/TD]
[TD] END DATE[/TD]
[/TR]
[TR]
[TD]20[/TD]
[TD]4/30/2017[/TD]
[TD]5/30/2017[/TD]
[/TR]
[TR]
[TD]32.5[/TD]
[TD]3/30/2017[/TD]
[TD]5/30/2018[/TD]
[/TR]
[TR]
[TD]50[/TD]
[TD]7/30/2018[/TD]
[TD]4/30/2019[/TD]
[/TR]
[TR]
[TD]57.5[/TD]
[TD]5/30/2018[/TD]
[TD]5/30/2019[/TD]
[/TR]
</tbody>[/TABLE]
Note that the 2nd and 4th inputs fall in two periods and there for the value populated is the average.
Thank you very much for your help