Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 34
Default Two Critera to match another spreadsheet and return single criteri

I have one workbook with two spreadsheets:

Spreadsheet 1 name: 5-digit_Consolidted
Spreadsheet 2 name: Area_Codes_US&CANADA

I am trying to match the criteria from Spreadsheet 1 cell C1 and cell D1 to
Spreadsheet 2 cells A1 and cell B1 and return the matching value in column C1
from Spreadsheet 2. (I am looking up and matching city and state to return
area code from the lists)

Here is the current formula I have and I have it set as an array:

{=INDEX(MATCH(C3587,'Area_Codes_US&CANADA'!$A$1:$C $2538),MATCH(D3587,'Area_Codes_US&CANADA'!$A$1:$C$ 2538,3))}

Please help!!





  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default Two Critera to match another spreadsheet and return single criteri

INDEX('Area_Codes_US&CANADA'!$A$1:$C$2538,MATCH(1, ('Area_Codes_US&CANADA'!$A$1:$C$2538=C3587)*('Area _Codes_US&CANADA'!$A$1:$C$2538=D3587),0))

ctrl+shift+enter, not just enter


"klmiura" wrote:

I have one workbook with two spreadsheets:

Spreadsheet 1 name: 5-digit_Consolidted
Spreadsheet 2 name: Area_Codes_US&CANADA

I am trying to match the criteria from Spreadsheet 1 cell C1 and cell D1 to
Spreadsheet 2 cells A1 and cell B1 and return the matching value in column C1
from Spreadsheet 2. (I am looking up and matching city and state to return
area code from the lists)

Here is the current formula I have and I have it set as an array:

{=INDEX(MATCH(C3587,'Area_Codes_US&CANADA'!$A$1:$C $2538),MATCH(D3587,'Area_Codes_US&CANADA'!$A$1:$C$ 2538,3))}

Please help!!





  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,339
Default Two Critera to match another spreadsheet and return single cri

=INDEX('Area_Codes_US&CANADA'!$C$1:$C$2538,MATCH(1 ,('Area_Codes_US&CANADA'!$A$1:$A$2538=C3587)*('Are a_Codes_US&CANADA'!$B$1:$B$2538=D3587),0))

with Ctrl+Shift+Enter


"Teethless mama" wrote:

INDEX('Area_Codes_US&CANADA'!$A$1:$C$2538,MATCH(1, ('Area_Codes_US&CANADA'!$A$1:$C$2538=C3587)*('Area _Codes_US&CANADA'!$A$1:$C$2538=D3587),0))

ctrl+shift+enter, not just enter


"klmiura" wrote:

I have one workbook with two spreadsheets:

Spreadsheet 1 name: 5-digit_Consolidted
Spreadsheet 2 name: Area_Codes_US&CANADA

I am trying to match the criteria from Spreadsheet 1 cell C1 and cell D1 to
Spreadsheet 2 cells A1 and cell B1 and return the matching value in column C1
from Spreadsheet 2. (I am looking up and matching city and state to return
area code from the lists)

Here is the current formula I have and I have it set as an array:

{=INDEX(MATCH(C3587,'Area_Codes_US&CANADA'!$A$1:$C $2538),MATCH(D3587,'Area_Codes_US&CANADA'!$A$1:$C$ 2538,3))}

Please help!!





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
vlookup/match 2 critera Wannano Excel Discussion (Misc queries) 2 January 3rd 07 08:09 PM
VLookup a given critera and return a value without duplication Excel_oz Excel Discussion (Misc queries) 1 December 8th 06 09:24 AM
Formula to return a value if any numbers in a group meet a criteri dcozzi Excel Worksheet Functions 3 April 13th 06 02:45 PM
Match Single Numeric Criteria and Return Multiple Numeric Labels Sam via OfficeKB.com Excel Worksheet Functions 3 December 30th 05 08:01 PM
Match Single Numeric Criteria and Return Multiple Numeric Labels Sam via OfficeKB.com Excel Worksheet Functions 0 December 29th 05 08:44 PM


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