LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 184
Default If(vlookup statement

I have three columns that I need to return a vlookup value.

A B C
8 2 PSS

I want to lookup column A in my table to return the name, if not then lookup
B and return the name, if not then lookup C, otherwise give me "Part 1 -
Other". In this case none of A, B, or C is found so my result should be "Part
1 - Other". My lookup table is below:

CLASSIFIERID GENERICATTRIBUTE1 GENERICATTRIBUTE2
ANH Part_4 Athena Part_4 Athena
21 Part_4 Specialty Part_4 Specialty
24 Part_4 Specialty Part_4 Specialty
CR Part_4 Specialty Part_4 Specialty
EVN Part_4 Specialty Part_4 Specialty
PMY Part_4 Specialty Part_4 Specialty
19 Part_4 Specialty Part_4 Specialty
GMT Part_4 Specialty Part_4 Specialty
11 Part_1 Select Part_1 Select
3 Part_3 Equip Part_3 Equip
PS Part_1 Select Part_1 Select
9 Part_1 BLD Part_1 BLD
MAL Part_1 PSP Part_1 PSP
MMM Part_1 PSP Part_1 PSP
WA Part_1 PSP Part_1 PSP
BMI Part_1 PSP Part_1 PSP
DJO Part_1 PSP Part_1 PSP
KEN Part_1 PSP Part_1 PSP
AEP Part_1 PSP Part_1 PSP



 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Vlookup, if statement, maybe an and statement Jennifer Excel Discussion (Misc queries) 1 February 26th 10 03:30 AM
Using an IF statement, or VLOOKUP statement Tim Williams Excel Programming 0 December 8th 06 09:41 PM
Vlookup with If Statement Shams Excel Worksheet Functions 3 October 16th 06 07:52 PM
If Statement with VLookup Shams Excel Worksheet Functions 3 October 16th 06 07:16 PM
if statement with vlookup choice[_2_] Excel Programming 1 October 30th 04 12:44 AM


All times are GMT +1. The time now is 07:03 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"