Candyland25
New Member
- Joined
- Dec 2, 2016
- Messages
- 33
Hello,
I'm trying to write a vlookup with a combination of doing cumulative with some multiplication. Here is my example:
PC Cost: $500
10% Maintenance Fee
15% Setup Fee
5% Warranty Fee
Maintenance fee would be $50 (500*.10).
Setup Fee would be $82.50 since it's cumulative of (500+50)*.15
Warranty Fee would be $31.63 since it's cumulative of (500+50+82.50)*.05
Total cost would be $664.13
Since I would be looking for certain items cost (PC, Monitors etc.) I need to do a vlookup formula to pull this information in from a separate sheet.
So here is how far I have gotten: =IFERROR(VLOOKUP(A1,'Items'!$B$4:$AP$20,4,0) + VLOOKUP(A1,'Items'!$B$4:$AP$20,4,0)*Fee!A2,0)
This gives $550 but I try to follow the same logic to do the rest of the calculation the formula breaks.
How do i get cumulative of (500+50)*.15 using vlookup?
Thank you so much.
I'm trying to write a vlookup with a combination of doing cumulative with some multiplication. Here is my example:
PC Cost: $500
10% Maintenance Fee
15% Setup Fee
5% Warranty Fee
Maintenance fee would be $50 (500*.10).
Setup Fee would be $82.50 since it's cumulative of (500+50)*.15
Warranty Fee would be $31.63 since it's cumulative of (500+50+82.50)*.05
Total cost would be $664.13
Since I would be looking for certain items cost (PC, Monitors etc.) I need to do a vlookup formula to pull this information in from a separate sheet.
So here is how far I have gotten: =IFERROR(VLOOKUP(A1,'Items'!$B$4:$AP$20,4,0) + VLOOKUP(A1,'Items'!$B$4:$AP$20,4,0)*Fee!A2,0)
This gives $550 but I try to follow the same logic to do the rest of the calculation the formula breaks.
How do i get cumulative of (500+50)*.15 using vlookup?
Thank you so much.