Solved

Help with a formula/Function (Lookup)

Posted on 2013-05-11
2
341 Views
Last Modified: 2013-05-12
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
Comment
Question by:Bright01
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 81

Accepted Solution

by:
byundt earned 500 total points
ID: 39158114
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
 

Author Closing Comment

by:Bright01
ID: 39159170
I used the Vlookup recommendation and it worked beautifully!

Thank you,

B.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes a serious pitfall that can happen when deleting shapes using VBA.
This article describes how you can use Custom Document Properties to store settings and other information in your workbook so that they will be available the next time you open the workbook.
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question