Hi,
I'm trying to set up a series of HLookups for a template we use to handle our quotations, acknowledgements, invoices etc at work.
I've created the whole thing and have been asked to simplify how we search our reporting pricing.
I want to create product codes for how long each contract is:
3 Month Diagnostic Contract;
6 Month Diagnostic Contract;
12 Month Diagnostic Contract; and,
etc.
But we want to change the pricing based on the number of assets to be monitored and what the setup is for data being sent to our servers.
I wanted to use a list drop down for the data type that would match the table array range needed for the hlookup:
Type 1 = A3:I9;
Type 2 = A15:I21; and,
etc.
And then I wanted to use the number of units as the row to be looked in:
2-5 = 2;
6-10 = 3; and,
etc.
So I wrote the logic out in cells nearby so that people would understand the selections to be made in the drop downs.
And then wrote the following hlookup.
=IFERROR(HLOOKUP(C159,'QUOTE INPUT'!I62,'QUOTE INPUT'!I67,FALSE),0)
This gave me a 0 return which means that it didn't manage to use the references I gave it.
How do I fix this?
So that workers can input only in the quote input worksheet and have it find pricing in the reporting pricing worksheet, which has the 4 tables that contain all the diagnostic pricing. Where columns are number of months and rows are number of units, and each table overall is based on a setup type. It then needs to return this pricing to the product data worksheet where it gets feed into all the outputs I have in the excel spreadsheet.
I would like to avoid posting the spreadsheet if at all possible for two reasons, one it has company data, two I don't have permission to post it currently according to the details in the admin of this post.
Any help much appreciated!
Kind Regards
I'm trying to set up a series of HLookups for a template we use to handle our quotations, acknowledgements, invoices etc at work.
I've created the whole thing and have been asked to simplify how we search our reporting pricing.
I want to create product codes for how long each contract is:
3 Month Diagnostic Contract;
6 Month Diagnostic Contract;
12 Month Diagnostic Contract; and,
etc.
But we want to change the pricing based on the number of assets to be monitored and what the setup is for data being sent to our servers.
I wanted to use a list drop down for the data type that would match the table array range needed for the hlookup:
Type 1 = A3:I9;
Type 2 = A15:I21; and,
etc.
And then I wanted to use the number of units as the row to be looked in:
2-5 = 2;
6-10 = 3; and,
etc.
So I wrote the logic out in cells nearby so that people would understand the selections to be made in the drop downs.
And then wrote the following hlookup.
=IFERROR(HLOOKUP(C159,'QUOTE INPUT'!I62,'QUOTE INPUT'!I67,FALSE),0)
This gave me a 0 return which means that it didn't manage to use the references I gave it.
How do I fix this?
So that workers can input only in the quote input worksheet and have it find pricing in the reporting pricing worksheet, which has the 4 tables that contain all the diagnostic pricing. Where columns are number of months and rows are number of units, and each table overall is based on a setup type. It then needs to return this pricing to the product data worksheet where it gets feed into all the outputs I have in the excel spreadsheet.
I would like to avoid posting the spreadsheet if at all possible for two reasons, one it has company data, two I don't have permission to post it currently according to the details in the admin of this post.
Any help much appreciated!
Kind Regards