I have struggled mightly with this assignment….Assume the following grid:
5 0 Below Minimum Range 5 36,800 First Quartile 5 41,400 Second Quartile 5 46,000 Third Quartile 5 50,600 Fourth Quartile 5 55,201 Above Maximum Range 4 0 Below Minimum Range 4 32,000 First Quartile 4 36,000 Second Quartile 4 40,000 Third Quartile 4 44,000 Fourth Quartile 4 48,001 Above Maximum Range
The first column is the pay code (i.e. the 5’s and 4’s). The second column is base compensation threshold amount and the third column is the commentary that I want to retrieve to a cell when looking up values in the first 2 columns.
EDIT: Somehow when I type this it looks like coulmns…but when it posts in the lounge it is run together
For example, if someone is a grade 5 and making less than 36,800, I need to retrieve the value in the third column, “Below Minimum Range”. If someone is a grade 5 and making 41,399, then I would retrieve the 3rd column value of “First Quartile”. I actually have about 20 pay grades with the 6 amounts if this impacts your recommendation.
I “played” the last 3 hours with vlookup, index and match and have only produced #NA’s, #Value’s and other various sundry Excel error messages….The only thing I believe that I have concluded [hopefully correctly] is that what I need to do cannot be accomplished with a vlookup function and nested if statements…I ran up against the if statement limit.
This caused me try to use match function, then the index function and finally a combination of the index with match function…but to no available. I have experimented with the true or false switch in these functions too. I have never used these functions before and could not apply some of the stuff I searched in the forum to successfully produce the required result.
There really should be a courtesy function coder in EXCEL that helps one out after he has produced 100+ error messages trying to apply a formula / function in one session…I have certainly exhausted my know-how [this was in minutes] and now my patience [this in 3 hours] with the so-called help file.
Any assistance is greatly appreciated. Thank you.