Hi Everyone,
I'm attempting to write a vlookup (or any variation) formula for the information attached. This excel spreadsheet contains a little over 12,000 rows.
I would like 'DOT Code' to be the lookup value and for all the information contained immediately to the right to populate. This can be accomplished with a vlookup for each individual value (although I'm sure there must be an easier way, if anyone can provide insight as to how I can write one formula for the entire row).
However, my main problem lies with the information just to the left of the DOT Code info. Besides being to the left of the lookup value, it's at the top of each section. How can I get each one of those DOT codes to populate a spreadsheet with its respective information.
For instance, if I were to type in "221.467-010" I want it to pull the string of information to the right and left of the call. The information contained to the right and within the same row, as I said, can be accomplished via a vlookup. But the information to the left is, not only to the left, but up 4 rows, e.g. 43-5111 | Weighers, Measurers | (4.0 to < 6.0) | 69,870 | 33.
To be clear, if I were to type in another DOT, such as '221.482-018', all the information to the left would be the same the same as the DOT code before this because they are in the same category, but the info to the right would change.
There must be some sort of nested Vlookup. I'm just having difficulty getting it to work.
Lastly, if there were some way to get all that to work, I'd like the numbers chart to the right to populate as well.
Any and all help would be very much appreciated! More than happy to provide further information. Thanks so much.
ExcelScreenshot.png
Bookmarks