LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
KC KC is offline
external usenet poster
 
Posts: 107
Default vlookup with if statement?

Hiring tab: Column K: Band (either 5,6,7 or 8); Column D: Source (either ITSO
or GMT), Column M: Country (Buenos Aires, etc)

List tab: Column I: Band (either 5,6,7 or 8); Column M: GMT Salaries;
Column N: ITSO salaries; Column O: Buenos Aires Salaries

In Column X on the Hiring tab, I want to put the salary that matches the
criteria that is in the columns above.

Basically, Look up whats in column K and column D, and IF Buenos Aires is
NOT in column M, then lookup the salary in the list tab that corresponds with
the criteria on the Hiring tab. However, if column M does = Buenos Aires,
then just look at the Band and match it with the band on the List tab and
return the correct salary from Column O of the List tab

I was using the following formula until someone changed the rules lol and
now this formula doesn't cut it. LOL
=IF(ISNA(VLOOKUP(K7,List!I:K,3,FALSE)),"",VLOOKUP( K7,List!I:K,3,FALSE))

Thanks in advance for your help! :)
 
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
Not sure whether to use VLOOKUP or an IF statement Allison1962 Excel Worksheet Functions 2 February 2nd 09 09:21 PM
If Statement / VLookup pb Excel Worksheet Functions 2 November 25th 06 01:16 AM
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/And statement; VLOOKUP? o1darcie1o Excel Worksheet Functions 5 December 29th 04 05:22 PM


All times are GMT +1. The time now is 11:34 PM.

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"