LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 59
Default Lookup 3 columns and return a result from another column

Hi,

I have a workbook (book 3) which consists of 8 columns of data. There
are 3 columns of data which are very important. There is another
workbook linked to book 3 which reads this entire data structure and
performs decision making process. Basically what I want is to check
the 3 columns for 3 different variables. if they match, then retun the
number (in another column) of that row that matches all the variables

Now i am looking for a function which can check the entries of the 3
columns and return the right corresponding number to that entry.

For example, the three columns i have a Date, Customer, Defect Code

First, it should read the date (month) , then the customer and then
the defect code and then return the number of defects (which is in
another column in book 3)

I have inserted my version of code but obviously it doesn't recognize
anything properly and work.

=SUM(IF('[Book3.xls]Customer Returns (External)'!$A$3:$A$1200=$C$2,
IF('[Book3.xls]Customer Returns (External)'!$C$3:$C$1200=C$3,
IF('[Book3.xls]Customer Returns (External)'!$D$3:$D$1200=$A6,
'[Book3.xls]Customer Returns (External)'!$J$3:$J$1200))))

A3:A1200 - List of all dates from Oct 2006 to Sept 2007 in Book 3
(column)

C2 - Month cell from another workbook

C3: C1200 - List of all customers in Book 3 (Column)

C3 - Company cell from another workbook

D3: D1200 - Defect Code column in Book 3 (Column)

A6 - Defect Code Cell from another workbook

J3: J1200 - Confirmed Defects (value that should be returned after
satisfying these 3 conditions in book 3).

I would appreciate if anyone can propose a better solution to this
problem. Thanks in advance

Swamy

 
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
BIFF - Help!! lookup numbers in multiple columns and return one nu JB Excel Worksheet Functions 6 October 23rd 06 02:56 PM
LOOKUP and return the column heading for IF/THEN return for False NN Excel Discussion (Misc queries) 1 October 6th 06 11:24 AM
lookup value and return result in column to left Mark M Excel Worksheet Functions 3 April 23rd 06 07:47 PM
I need a Lookup to return more than 1 result joe1182 Excel Worksheet Functions 8 February 1st 06 02:52 PM
return the column reference number of a function result Mahendhra Excel Discussion (Misc queries) 2 May 16th 05 12:46 PM


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