littlereddog90
New Member
- Joined
- Apr 6, 2019
- Messages
- 5
I am creating a pricing template for services, a section of which is based on an hourly rate. The rates, are by level of seniority which need to be added together then multiple by the number of hours.
I would like the option of only selecting the level of seniority and adding the hours, then the total autocalculates in order to not have the column rates showing in this sheet. A simple SUM & VLOOKUP works fine at first;
=SUM(VLOOKUP(B4,Rates!A:B,2,FALSE),VLOOKUP(C4,Rates!A:B,2,FALSE),VLOOKUP(D4,Rates!A:B,2,FALSE))*E4
B4,C4 & D4 are the three fields that contain a drop down list for level of seniority. RatesA:B is a separate sheet with the levels and the associated rates so that this can be added to / modified. E4 is the number of hours.
The problem, is that there isn't always necessarily three individuals on the task so as soon as you don't fill out all three fields, the result in F4 shows up as N/A. I have tried building in IFERROR and IF/ISNA but can't get it to work. I also don't know enough about INDEX/MATCH for that to be an option. Please help!! This template needs to be clean with minimal maintenance hence I was hoping to just have one formula in F4 - is it possible?
I would like the option of only selecting the level of seniority and adding the hours, then the total autocalculates in order to not have the column rates showing in this sheet. A simple SUM & VLOOKUP works fine at first;
=SUM(VLOOKUP(B4,Rates!A:B,2,FALSE),VLOOKUP(C4,Rates!A:B,2,FALSE),VLOOKUP(D4,Rates!A:B,2,FALSE))*E4
B4,C4 & D4 are the three fields that contain a drop down list for level of seniority. RatesA:B is a separate sheet with the levels and the associated rates so that this can be added to / modified. E4 is the number of hours.
The problem, is that there isn't always necessarily three individuals on the task so as soon as you don't fill out all three fields, the result in F4 shows up as N/A. I have tried building in IFERROR and IF/ISNA but can't get it to work. I also don't know enough about INDEX/MATCH for that to be an option. Please help!! This template needs to be clean with minimal maintenance hence I was hoping to just have one formula in F4 - is it possible?