Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Vlookup help with function

I need to perform the following lookup and comparison: On sheet 1, if content
in a1:a700 AND content of b1:b700 AND content of c1:b700 matches exactly to
Sheet 2, content in a1:a700 AND content of b1:b700 AND content of c1:b700,
then return value in d1:d700 from sheet 2, if no match, return 0 (zero).
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Vlookup help with function

I'm presuming you had a typo for: c1:b700
ie its meant as: c1:c700

In Sheet1,
Put in D1, normal ENTER:
=IF(ISNA(MATCH(1,INDEX((Sheet2!$A$1:$A$700=A1)*(Sh eet2!$B$1:$B$700=B1)*(Sheet2!$C$1:$C$700=C1),),0)) ,0,INDEX(Sheet2!$D$1:$D$700,MATCH(1,INDEX((Sheet2! $A$1:$A$700=A1)*(Sheet2!$B$1:$B$700=B1)*(Sheet2!$C $1:$C$700=C1),),0)))
Copy D1 down as far as required
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:20,500 Files:363 Subscribers:64
xdemechanik
---
"ddjlddjl" wrote:
I need to perform the following lookup and comparison: On sheet 1, if content
in a1:a700 AND content of b1:b700 AND content of c1:b700 matches exactly to
Sheet 2, content in a1:a700 AND content of b1:b700 AND content of c1:b700,
then return value in d1:d700 from sheet 2, if no match, return 0 (zero).

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
Embedded If Function in a Vlookup Function Excel Student Excel Worksheet Functions 2 January 13th 07 04:39 AM
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
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 07:35 PM.

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"