Hi, I'm new to this forum - I must say I'm impressed, albeit overwhelmed, with all the solutions to a wide variety of problems! Here's my problem:
I'm trying to use excel to compare a numerical value with an identifying list and have it return the value in the column next to the closest match. Vlookup would work, except it won't find the closest match in either direction.
I've looked into fuzzyvlookup, but it seems that it's only for matching text, not the closest number. I can't get the function to return anything other than N/A. It is very possible that I am doing something wrong with it - but maybe this function wasn't made to match numerical values?
To clarify:
I'm trying to identify a chemical based on its retention time on a chromatographic column:
retention time / compound
34.867 PCB 45
35.543 PCB 48
35.789 PCB 41
36.534 PCB 54
What I'd like to do is input a number, like 35.756, and the function report back "PCB 41" because it's the closest match. Some of the other features in the fuzzyvlookup function like "rank" and "percentdifference" would be useful too, but not essential. The problem with vlookup is that it would report back "PCB 48" because it will ingore values greater than the lookup value. I'm looking for a function that can do this properly. Some of the other features in the fuzzyvlookup function like "rank" and "percentdifference" would be useful too, but are not essential.
This seems like a simple problem to have, and yet I can't seem to find the solution.
Any help would be greatly appreciated!
I'm trying to use excel to compare a numerical value with an identifying list and have it return the value in the column next to the closest match. Vlookup would work, except it won't find the closest match in either direction.
I've looked into fuzzyvlookup, but it seems that it's only for matching text, not the closest number. I can't get the function to return anything other than N/A. It is very possible that I am doing something wrong with it - but maybe this function wasn't made to match numerical values?
To clarify:
I'm trying to identify a chemical based on its retention time on a chromatographic column:
retention time / compound
34.867 PCB 45
35.543 PCB 48
35.789 PCB 41
36.534 PCB 54
What I'd like to do is input a number, like 35.756, and the function report back "PCB 41" because it's the closest match. Some of the other features in the fuzzyvlookup function like "rank" and "percentdifference" would be useful too, but not essential. The problem with vlookup is that it would report back "PCB 48" because it will ingore values greater than the lookup value. I'm looking for a function that can do this properly. Some of the other features in the fuzzyvlookup function like "rank" and "percentdifference" would be useful too, but are not essential.
This seems like a simple problem to have, and yet I can't seem to find the solution.
Any help would be greatly appreciated!