I have two Excel workbooks: Printers.xlsx and Template.xlsx
In Printers.xlsx I have a tab titled Inventory with the following columns in this order: Printer Name, Model #
In Printers.xlsx there is another tab titled Toner with the following columns in this order: Model #, Toner Part #, Toner Cost
In Template.xlsx I have a tab titled Data Table with the following columns in this order: Printer Name, Toner Part #, Toner Cost
The column Printer Name is filled with data, but I am trying to setup Toner Part # and Toner Cost and need help.
I need to write a formula that makes intelligent use of [@[Column Name]], [Column Name], and other methods that I might not know about so as not to restrict the formulas application to a specific range within the table (example A2:A198) but to the table/column so that when other Technicians use ths workbook it is maintenance-free in terms of its functionality and hard to mess up if moving columns around.
Toner Part # -- It needs to take [@[Printer Name]] and find the matching Printer Name value in Printers.xlsx Inventory tab. When it finds a match, it needs to look over to the value in [Model #] of the same row, then find a match in the Toner tab of the same Excel workbook. Once it finds its match, it needs to retrieve the value of [Toner Part #].
Toner Cost -- Uses same formula as Toner Part # but retrieve value [Toner Cost] instead of [Toner Part #]
Basically the formula looks up the printer in the Inventory to find out what model it is, then uses the model to determine what toner cartridge belongs to this printer and retrieves the cost of the toner cartridge (aka Toner Cost column).
If someone would put together a finished formula for me, I will analyze the formula to try understand how it is constructed and how it works and I will ask questions 'why' where I don't understand because I really do want to understand. I've a headache with trying to understand or construct a VLOOKUP() or INDEX() and MATCH() and IF().
Getting past this obstacle would make a huge and wonderful difference to me way beyond just this scenario.
Bookmarks