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: 6
Default Big Problem using VLOOKUP formula

Hi guys,

I am facing a tedious problem using the VLOOKUP formula.
First of all I give to all a clear picture on what I want to do.

For ex:
A1 - 1 B1-100 C1-2 D1-500 E1-1
A2 - 3 B2-200 C2-4 D2-600 E2-2
A2 - 5 B3-300 C3-6 D3-700 E3-3
A2 - 7 B4-400 C4-8 D4-800 E4-4

I have to create a coloumn F that contains the values contained on the
coloumn B or C depending if the values on E are found in the A or C
coloumns.

So F should be:

F1-100
F2-500
F3-200
F4-600
.....

I have created this formula:

IF(ISNA(VLOOKUP(F1,$A$1:$B$4,2,FALSE)),VLOOKUP(F1, $C$1:$D$4,4,FALSE),VLOOKUP(F1,$A$1:$B$4,2,FALSE))

But in the case of F2 is not working.. It seems that even if I select
as table_array the range C1:D4 is always checking in the coloumn A.

Anyone could help me to understand how to solve this problem?

I hope is clear.

Thanks.
BR,
Jessie

 
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 array formula problem Zach Excel Worksheet Functions 2 October 27th 09 06:53 PM
Problem with using Vlookup formula Montu Excel Worksheet Functions 4 October 3rd 08 06:33 AM
Vlookup/If? Formula problem? Langoose New Users to Excel 1 April 27th 06 05:59 PM
Problem with VLOOKUP formula BigH Excel Worksheet Functions 2 December 14th 05 08:36 PM
Vlookup, What is correct formula for problem below? Bill R Excel Worksheet Functions 7 August 2nd 05 04:01 AM


All times are GMT +1. The time now is 03:59 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"