Excel help (V look up and a IF which are a logical and a reference.)

  • Thread starter Thread starter Sirsh
  • Start date Start date
  • Tags Tags
    Excel Reference
Click For Summary
SUMMARY

This discussion focuses on combining the VLOOKUP and IF functions in Excel to create a dynamic formula for referencing cells across different sheets. Users are encouraged to wrap the IF function around VLOOKUP to achieve conditional lookups. An example provided includes the formula =IF(B2>=3, VLOOKUP(#1), VLOOKUP(#2)), demonstrating how to implement this logic. The conversation references an Excel 2007 file containing a VLOOKUP database for further illustration.

PREREQUISITES
  • Familiarity with Excel functions, specifically VLOOKUP and IF
  • Understanding of cell referencing in Excel
  • Basic knowledge of logical operators in Excel
  • Experience with Excel 2007 or later versions
NEXT STEPS
  • Explore advanced Excel functions like INDEX and MATCH for more complex lookups
  • Learn how to use nested IF statements in Excel for multi-condition scenarios
  • Investigate Excel's data validation features to enhance lookup accuracy
  • Review Excel's error handling functions like IFERROR to manage lookup failures
USEFUL FOR

This discussion is beneficial for Excel users, data analysts, and anyone looking to enhance their spreadsheet skills by mastering conditional lookups and referencing techniques.

Sirsh
Messages
262
Reaction score
10
Hi, Wondering if anyone can help me with figuring out of if it's possible to make a function on excel with V lookup and IF, if you can pls post an example.

Or give an example of using both of these functions in a algorithm to reference to cells on another page in excel within the function.

Thanks a lot!
 
Technology news on Phys.org
Sirsh said:
Hi, Wondering if anyone can help me with figuring out of if it's possible to make a function on excel with V lookup and IF, if you can pls post an example.

Or give an example of using both of these functions in a algorithm to reference to cells on another page in excel within the function.

Thanks a lot!
Hmm. Not sure what you need the IF for. But you're welcome to look at my spreadsheet for Maplestory. It has a nice VLOOKUP centered database. You would just wrap the IF around the VLOOKUP. It's an Excel 2007 file. Look at the part labeled "Reference Lookup" in particular (rows 25, 26, and 27).

http://www.filefront.com/15772455/Maplestory.xlsx

EDIT: You could make an if statement anyway you wanted... for example: =IF(B2>=3, VLOOKUP(#1), VLOOKUP(#2)) or =IF(B2< VLOOKUP(#1), 6, VLOOKUP(#2))
 
Last edited:

Similar threads

  • · Replies 18 ·
Replies
18
Views
3K
  • · Replies 12 ·
Replies
12
Views
5K
  • · Replies 13 ·
Replies
13
Views
5K
  • · Replies 18 ·
Replies
18
Views
6K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 37 ·
2
Replies
37
Views
5K
  • · Replies 17 ·
Replies
17
Views
4K
Replies
20
Views
3K
Replies
29
Views
6K