Invoice Template1.jpg
InvoiceTemplate1
Invoice Template2.jpg
InvoiceTemplate2
CustomerList.jpg
CustomerList
Hey,
I'm having a hard time finding a solution to my issue that I'm hoping one of you might be able to help me with. I'll try to explain the best I can.
Basically, I have a drop down list of all the customers I have on file for my invoicing system (InvoiceTemplate1 picture), and then a similar list of these customers on a second worksheet, but this list contains a matching "Customer Code" that can range from R, L, C, B, Cab, etc. (CustomerList picture). What I want to see happen is, once a customer is selected from the drop down list, the "Code:" cell on the "Invoice Template" worksheet (G4) should automatically display the corresponding customer code found on the other worksheet. This will eliminate the need for any new employees from having to memorise every customer's code. I was thinking that employing some sort of Offset function would take care of this, but I'm drawing a blank.
In an attempt to figure this out myself, I used an Index/Match formula in the cell I40 of the "Invoice Template" worksheet (InvoiceTemplate2 picture). This formula returns the cell location of the matching customer name found in the second "Customer List" worksheet. I was thinking that with this information, one could add an offset to this value, one column to the right, to get the value of the customer code to display. Not sure how to implement this, and the formula in there right now does not include the entire array of customer names found on the second worksheet. You'll see it only searches in Column A2:A34, but with the customer list formatted the way it is (landscape style), the formula gets to be too long, or with "too many arguments" when I just try to Ctrl+Select each column of customer names, so I don't think this formula would help any, but it's there in case it could be used somehow.
Anyway, that's what I would like to see happen. I have blanked out some of the customer names, but you'll get the idea of what I'm trying to accomplish. Let me know if you have any questions. I don't mind using a macro, so long as each time a customer is selected from the drop down, that code cell will update to the knew customer code every time. Thanks in advance for your input,
Matt
Bookmarks