Forum Discussion

Amanda535's avatar
Amanda535
Copper Contributor
Jul 09, 2020

Need to calculate based on values from two separate drop down Lists

list of 16 cars, 16 brands and 16 different prices. I have a main sheet with my data, a second sheet with the table containing the drop down lists. My formula spills. I cannot for the life of me figure out what I'm missing. I've tried so many

=VLOOKUP('Main Sheet'!A4:A20,[@[From ]]&'Main Sheet'!A4:Q4,[@To],'Main Sheet'!B5:B20)

 

this is my latest. Anyone recognize what I'm missing? I know once I see it, I'll have that AHA moment

7 Replies

  • SergeiBaklan's avatar
    SergeiBaklan
    Diamond Contributor

    Amanda535 

    Lookup value here is an array, formula returns an array for which is not enough space in one cell of the table, thus #SPILL error

    What other parameters mean is also absolutely unclear (second one is value instead of range, etc)

  • mathetes's avatar
    mathetes
    Gold Contributor

    Amanda535 

     

    Without seeing your actual workbook, it's hard to be sure. I do notice that the first argument in your VLOOKUP formula is itself an array, and my own suspicion would be that that might be the problem. Usually one uses a single cell as the first argument.

     

    If you were to post your actual sheet, we (I and others) could take a look at it. Just make sure it's not got any confidential info on it

Resources