• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 356
  • Last Modified:

Help with a formula/Function (Lookup)

I'm doing something simple but terribly wrong.  I have 3 tabs.  The first tab inputs from a dropdown list the answer to a set of questions.  In the third tab, I have the look up tables and the validation list.  What happens next has me stumped.  If you go to Tab 2, you will see for some reason the Lookup function does not seem to work properly fo the given selection in the first Tab as I'm trying to calculate a returned value from a text selection.

Help!

B.
Fixing-a-formula.xlsm
0
Bright01
Asked:
Bright01
1 Solution
 
byundtCommented:
When used the way you are doing, LOOKUP requires Sheet3 column F to be sorted in ascending alphabetical order.

After sorting Sheet3, the formulas on Sheet2 work as desired.

You could alternatively use a VLOOKUP:
=VLOOKUP(Sheet1!G8,Sheet3!$F$8:$G$13,2,FALSE)

When False is the fourth parameter of VLOOKUP, Sheet3 column F does not need to be sorted.
Fixing-a-formulaQ28125178.xlsm
0
 
Bright01Author Commented:
I used the Vlookup recommendation and it worked beautifully!

Thank you,

B.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: C++ 11 Fundamentals

This course will introduce you to C++ 11 and teach you about syntax fundamentals.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now