Afbeelding 1.gif
Hello all,
I'm trying to get the closest match from a cross reference table as the one above, but can't get it done.
Any ideas?
Afbeelding 1.gif
Hello all,
I'm trying to get the closest match from a cross reference table as the one above, but can't get it done.
Any ideas?
In H5 cell
Formula:Please Login or Register to view this content.
If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
Mark your thread as Solved
If the suggestion helps you, then Click *below to Add Reputation
Thanks for trying but that didn't work
Hi Jonathan78
Try the INDEX & MATCH:
Formula:Please Login or Register to view this content.
Regards Kevin
Merged Cells (They are the work of the devil!!!)
Hello Kevin,
Thanks for helping.
I tried that one already but it always returns the highest value.
Changing the 1 to -1 always gives the lowest.
I am looking for the closest
@Jonathan78,
Post your file instead of an .gif file.
Then we can test the formula.
Notice my main language is not English.
I appreciate it, if you reply on my solution.
If you are satisfied with the solution, please mark the question solved.
You can add reputation by clicking on the star * add reputation.
Hi Jonathan78
That gives me 36!
Closest Match.PNG
Book1.xlsm
Hello Kevin it does, but when I put 7550 in H2 it remains 36 iso changing to the nearest (42)
I used the orange cells as helpcells.
The result is in the green cell.
See the attached file.
If the value is as close to both cells it takes the lowest value.
It can be done in 1 formula, but I think it's much easier to understand if you use (my) helpcells.Please Login or Register to view this content.
try it
=INDEX($C$3:$F$10;MATCH(H2;$B$3:$B$10);MATCH(H3;$C$2:$F$2))
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks