Hi - New member and novice excel user
I'm trying to set up a sheet that will calculate the price of a service based on variable pricing where the rate for the first three units is fixed at $59.30 whether it be 1,2,or 3 units and every unit after that is an extra $19.90.
I am using the formula =IF(A1>3,(A1-3)*19.9+59.3,59.3) to calculate the price which seems to work OK but I have ran into trouble when I try to incorporate it into a VLOOKUP table along with a set of other prices for other products and services.
I'm using two VLOOK up functions set up so the second list option is dependent on the first one
=IFERROR(VLOOKUP(D13,Table30[[Column1]:[Ref]],2,FALSE),"")
=IFERROR(VLOOKUP(E13,Table30[[Ref]:[Amount]],2,FALSE),"")
Is there a way that I can incorporate the IF function into the VLOOKUP table so it will automatically enter the right price according to the number of units I input? I have tried a number of formula's but its beyond my very basic skills.
Thanks for any ideas. - James
I'm trying to set up a sheet that will calculate the price of a service based on variable pricing where the rate for the first three units is fixed at $59.30 whether it be 1,2,or 3 units and every unit after that is an extra $19.90.
I am using the formula =IF(A1>3,(A1-3)*19.9+59.3,59.3) to calculate the price which seems to work OK but I have ran into trouble when I try to incorporate it into a VLOOKUP table along with a set of other prices for other products and services.
I'm using two VLOOK up functions set up so the second list option is dependent on the first one
=IFERROR(VLOOKUP(D13,Table30[[Column1]:[Ref]],2,FALSE),"")
=IFERROR(VLOOKUP(E13,Table30[[Ref]:[Amount]],2,FALSE),"")
Is there a way that I can incorporate the IF function into the VLOOKUP table so it will automatically enter the right price according to the number of units I input? I have tried a number of formula's but its beyond my very basic skills.
Thanks for any ideas. - James