Function for looking up multiple variables
I've been through the F&F user guide and the numbers help guide. I'm either not seeing it or something is just going over my head. I know what I'm doing when it comes to my mac and normally I'd say I'm very capable with the standard functions/operations. I've been teaching myself the more "advanced" functions and so far it's been going well. But now I've hit a road block....
I'm trying to create a form for work, to calculate pricing for jobs.
The first table here is my reference table. the second is part of the billing sheet, which you'd be inputting information for specific jobs etc. in order to determine the price
They are on different sheets but within the same document. But I understand using formulas on different sheets, so I think for simplicity sake we can talk about them as if they are on the same sheet. (unless someone feels that's a no no). In case this is relevant, I used custom cell formats for 's/wrap' in table 2 (( ## 's )) and the prices listed in table 1 (( $##.##/m )).
4-page |
6-page |
8-page |
Broad |
Gate |
10-Page |
|
25's |
$20.00/m |
$22.50/m |
$23.50/m |
$26.50/m |
$35.00/m |
$25.50/m |
50's |
$15.00/m |
$17.50/m |
$18.50/m |
$21.00/m |
$30.00/m |
$20.50/m |
100's |
$12.50/m |
$15.00/m |
$16.00/m |
$18.50/m |
$28.00/m |
$18.00/m |
None |
$10.00/m |
$12.50/m |
$13.50/m |
$17.00/m |
$25.00/m |
$16.50/m |
Yes/No |
TRUE |
Perf / Score |
FALSE |
Fold Type |
4-page |
S/wrap |
25's |
$/m |
|
Sub-Total |
HERE'S MY PROBLEM:
I've been trying to figure out what function to use / how to express it so that the $/m box in the second chart will come up with the correct price as listed in the top table. I can't find anything about multi-dimensional searching except that it tells me "MATCH" can't be used multi-dimensional. I've used LOOKUP for some other basic functions but I don't really understand HLOOKUP nor VLOOKUP
In the explanation for LOOKUP it mentions something about "search-where" being two-dimensional, when I try to make it two dimensional it tells me vector arguments can't be, however the formula and function guide book doesn't mention the word vector once (at least that's what the search told me).
But I THINK (think being the key word here) what I need is for the "search-for" to be two-dimensional. I'd like to be able to input a fold type and the s/wrap quantity and BAM get my price listed below.
Is this possible?
Can someone help me out here? I've been at this for hours and I'm pulling my hair out. Am I not conceptualizing something correctly or arranging my data poorly?
Any and all help would be immensely appreciated. đ
I hope that wasn't too long winded.
To further complicate my life, there are price discounts for larger quantity jobs. I was trying to get around this by creating price tables for the different quantity ranges (i.e. 0-7500; 75001-15,000 etc.). That is what I have the YES/NO check box for at the top of table 2. I have four tables just like table 2 on the same sheet (each table is named differently so as to be clear). But if there is a way to simplify this, that would be awesome too. I won't get my hopes up, I think I'm asking for a Hail Mary as it is. I'll provide more information if someone thinks what I am talking about is a possibility.
iMac (27-inch Mid 2011), OS X Mountain Lion