#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 447
Default Vlookup function

Need help on the following :

I have a list of countries which is separated into Group A, B and C. Each of
these countries return to a value based on certain conditions e.g

Conditions | Country Group A | Country Group B | Country Group C
Heavy | 1 | 2 |
3
Medium | 2 | 3 |
4
Light | 3 | 4 |
5

I have set up a vlookup function for this. However, there is an exception,
China which falls under Group B should return 4 for all conditions. India
which is in Group C should return 5 for all conditions.

What formula can I use? Thank you.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,276
Default Vlookup function

Hi,
I assume the country is in column A starting in row 1 change it to fit your
needs

=if(A1="China",4,if(A1="India",5,your formula))

"Karen" wrote:

Need help on the following :

I have a list of countries which is separated into Group A, B and C. Each of
these countries return to a value based on certain conditions e.g

Conditions | Country Group A | Country Group B | Country Group C
Heavy | 1 | 2 |
3
Medium | 2 | 3 |
4
Light | 3 | 4 |
5

I have set up a vlookup function for this. However, there is an exception,
China which falls under Group B should return 4 for all conditions. India
which is in Group C should return 5 for all conditions.

What formula can I use? Thank you.

Reply
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
Combine VLOOKUP and IF function so #NA isn't returned as a value from VLOOKUP buffgirl71 Excel Discussion (Misc queries) 12 November 14th 06 11:36 PM
Embedded VLOOKUP function within IF function beautyteknorth Excel Worksheet Functions 6 August 17th 06 09:31 AM
HOW DO I NEST THE VLOOKUP FUNCTION WITH THE LEFT FUNCTION CHAIM Excel Worksheet Functions 1 July 27th 05 09:10 PM
how do I write a vlookup function within an iserror function so t. JBLeeds Excel Worksheet Functions 2 March 16th 05 10:30 AM
I want to use Vlookup function and AND function in a single formu. prakash Excel Worksheet Functions 3 January 25th 05 07:11 AM


All times are GMT +1. The time now is 02:58 AM.

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

About Us

"It's about Microsoft Excel"