Vehicle Replacement Forecast - Repeating Values

jwiller1

New Member
Joined
Jan 18, 2016
Messages
2
Good Morning,

I am new here so I do not know if I will be using the correct terminology!

I have a vehicle replacement plan which I am forecasting out when items are to be replaced and then they may need to be replaced again in the 10 year plan depending on the optimum replacement time for each item.

I am having a problem with not being able to get the replacement value to repeat itself. I will give you an example (see below data):

There is an item which is due for replacement in FY 15/16 (this year) with a value of $23,840.33. I want to build into my existing formula to have this value repeat itself off the optimum replacement time(this varies; 2,3,4,5,6,7,8,9,10 years). ie the optimum replacement for this item is every 4 years, so I want it to also show the value in FY years: 19/20 & 23/24.

Here is my current formula to get the value in the first instance:

=IF(I6="DISPOSED",0,IF(IF(ISERROR(VLOOKUP(O6,'Year Table'!$C$3:$E$25,3,1)),0,VLOOKUP(O6,'Year Table'!$C$3:$E$25,3,1))=$U$1,P6,0))


Data example:

Optimum ReplacementEst Replacement DateEst Purchase price
(Inc cmpnd int)
Est trade Price2015/162016/172017/182018/192019/202020/212021/222022/232023/242024/252025/262026/27
3.00%1/07/20151/07/20161/07/20171/07/20181/07/20191/07/20201/07/20211/07/20221/07/20231/07/20241/07/20251/07/2026
820/09/2013 $ 159,840.03$27,480.38 $ 159,840.03 $ - $ - $ - $ - $ - $ - $ - $ - $ - $ - $ -
818/11/2023 $ 170,902.26$44,442.41 $ - $ - $ - $ - $ - $ - $ - $ - $ 170,902.26 $ - $ - $ -
825/05/2017 $ 134,443.46$34,961.45 $ - $ 134,443.46 $ - $ - $ - $ - $ - $ - $ - $ - $ - $ -
403/04/2016 $ 23,840.33$11,468.96 $ 23,840.33 $ - $ - $ - $ - $ - $ - $ - $ - $ - $ - $ -
711/09/2021 $ 109,582.88$33,537.41 $ - $ - $ - $ - $ - $ - $ 109,582.88 $ - $ - $ - $ - $ -
710/06/2022 $ 33,821.54$10,350.95 $ - $ - $ - $ - $ - $ - $ 33,821.54 $ - $ - $ - $ - $ -
701/09/2022 $ 42,458.60$12,994.29 $ - $ - $ - $ - $ - $ - $ - $ 42,458.60 $ - $ - $ - $ -
413/02/2017 $ 31,243.00$15,030.20 $ - $ 31,243.00 $ - $ - $ - $ - $ - $ - $ - $ - $ - $ -
404/12/2016 $ 33,503.11$16,117.48 $ - $ 33,503.11 $ - $ - $ - $ - $ - $ - $ - $ - $ - $ -
401/04/2018 $ 30,393.24 $ 14,621.40 $ - $ - $ 30,393.24 $ - $ - $ - $ - $ - $ - $ - $ - $ -
401/10/2013 $ 22,884.31$7,819.54 $ 22,884.31 $ - $ - $ - $ - $ - $ - $ - $ - $ - $ - $ -
414/08/2019 $ 37,785.99$18,177.86 $ - $ - $ - $ - $ 37,785.99 $ - $ - $ - $ - $ - $ - $ -
428/03/2017 $ 43,572.53 $ 20,961.62 $ - $ 43,572.53 $ - $ - $ - $ - $ - $ - $ - $ - $ - $ -
423/04/2019 $ 35,794.25$17,219.69 $ - $ - $ - $ 35,794.25 $ - $ - $ - $ - $ - $ - $ - $ -
426/09/2016 $ 30,734.92$14,785.77 $ - $ 30,734.92 $ - $ - $ - $ - $ - $ - $ - $ - $ - $ -
401/05/2016 $ 32,665.70$15,714.62 $ 32,665.70 $ - $ - $ - $ - $ - $ - $ - $ - $ - $ - $ -
427/08/2018 $ 33,812.42$16,266.28 $ - $ - $ - $ 33,812.42 $ - $ - $ - $ - $ - $ - $ - $ -

<tbody>
</tbody>


If anyone could help it would be greatly appreciated,

Thanks in advance,

jwiller1
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
Hi jwiller,

One side you are asking about forecast and other side you are using vlookup function which will pick up the number from a defined table.
I am not sure about your query. Are you trying to calculate something or just picking up the first instance (which vlookup can do) ?


Regards,
DILIPandey
 
Upvote 0
Hi DILIPandey,

I am trying to pick something up, but the vlookup is doing a check to match other cells to return the cells I want, which is why I have need to use the nested IF.

I have been able to work out what I need, whether it is the best way to do it is another thing! The following is the formula what I have used.

=IF(T3="DISPOSED",0,IF(IF(ISERROR(VLOOKUP(AB3,'Year Table'!$C$3:$E$25,3,1)),0,VLOOKUP(AB3,'Year Table'!$C$3:$E$25,3,1))=$AI$1,AC3,IF($AI$2-VLOOKUP(AB3,'Year Table'!$B$3:$E$25,3,1)=AA3,AC3,IF(SUM($AI$2-VLOOKUP(AB3,'Year Table'!$B$3:$E$25,3,1))/2=AA3,AC3,IF(SUM($AI$2-VLOOKUP(AB3,'Year Table'!$B$3:$E$25,3,1))/3=AA3,AC3,IF(SUM($AI$2-VLOOKUP(AB3,'Year Table'!$B$3:$E$25,3,1))/4=AA3,AC3,IF(SUM($AI$2-VLOOKUP(AB3,'Year Table'!$B$3:$E$25,3,1))/5=AA3,AC3,IF(SUM($AI$2-VLOOKUP(AB3,'Year Table'!$B$3:$E$25,3,1))/6=AA3,AC3,IF(SUM($AI$2-VLOOKUP(AB3,'Year Table'!$B$3:$E$25,3,1))/7=AA3,AC3,0)))))))))

An example of the results I get (note cell references do not march, highlighted are the rep),

"Optimum
Replacement
YEARS" Est Replacement Date Est Purchase price 2015/16 2016/17 2017/18 2018/19 2019/20 2020/21 2021/22
6 19/04/2016 $67,382.54 $67,382.54 $- $- $- $- $- $67,382.54
4 22/12/2016 $40,883.43 $- $40,883.43 $- $- $- $40,883.43 $-
4 08/03/2017 $40,909.63 $- $40,909.63 $- $- $- $40,909.63 $-
2 11/08/2016 $30,033.11 $- $30,033.11 $- $30,033.11 $- $30,033.11 $-
2 02/12/2016 $29,504.59 $- $29,504.59 $- $29,504.59 $- $29,504.59 $-
4 19/04/2015 $27,885.33 $27,885.33 $- $- $- $27,885.33 $- $-


Thanks,
jwiller1
 
Upvote 0
Hi jwiller1,

Would be helpful if you post sample workbook on a public file sharing portal and share the link here.
Also indicate your expected results as well.

Regards,
DILIPandey
 
Upvote 0

Forum statistics

Threads
1,215,676
Messages
6,126,161
Members
449,295
Latest member
DSBerry

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top