Hi
I'm sure this question has been answered before but I've been wading through all the vlookup posts and can't find the answer. So here goes:
I have a spreadsheet set up with columns as follows:
A. Job number B. Quote Number C. Customer Name D. Material E. Price
I am running a standard vlookup for job number however it returns #N/A when I have the lookup range set to false and the wrong value when it is set to true. My data is arranged in ascending order however the same job number does appear more than once within the data. I'm guessing this is why I'm getting #N/A. An example of columns A and B would be:
Job No ......... Quote No
71300 ......... 1958
71301 ......... 2054
71302 ......... 2068
71302 ......... 2101
71302 ......... 1996
71303 ......... 1759
Quote number (column B) has an individual number each time. I need to use job number however for my lookup. What I want to do is return the values from 1. the job number that i specify and 2. the most recent quote number (the highest value). In other words, if I lookup job number 71302, I want it to return quote number 2101.
Can anyone help me out?
Thanks
Rowan
I'm sure this question has been answered before but I've been wading through all the vlookup posts and can't find the answer. So here goes:
I have a spreadsheet set up with columns as follows:
A. Job number B. Quote Number C. Customer Name D. Material E. Price
I am running a standard vlookup for job number however it returns #N/A when I have the lookup range set to false and the wrong value when it is set to true. My data is arranged in ascending order however the same job number does appear more than once within the data. I'm guessing this is why I'm getting #N/A. An example of columns A and B would be:
Job No ......... Quote No
71300 ......... 1958
71301 ......... 2054
71302 ......... 2068
71302 ......... 2101
71302 ......... 1996
71303 ......... 1759
Quote number (column B) has an individual number each time. I need to use job number however for my lookup. What I want to do is return the values from 1. the job number that i specify and 2. the most recent quote number (the highest value). In other words, if I lookup job number 71302, I want it to return quote number 2101.
Can anyone help me out?
Thanks
Rowan