Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 7
Default select multiple criteria multiple worksheets

I have two worksheets along the lines of:

SHEET 1 SHEET 2
A B C D A B C D
1 1 10 100 1 10 100
1 3 20 - 1 20 -
2 6 20 300 1 30 200
2 9 30 200 2 20 300
2 9 30 200 3 10 100
3 11 10 100 3 10 200
3 11 10 200

I want to fill incolumn "B" on Sheet 2 with the values from column B in
sheet 1 whereever columns A, C, and D match.

Any ideas on how to do this?

thanks.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default select multiple criteria multiple worksheets

In Sheet2,
Put in B1, array-enter the formula by pressing CTRL+SHIFT+ENTER:
=IF(ISNA(MATCH(1,(Sheet1!$A$1:$A$10=A1)*(Sheet1!$C $1:$C$10=C1)*(Sheet1!$D$1:$D$10=D1),0)),"",INDEX(S heet1!$B$1:$B$10,MATCH(1,(Sheet1!$A$1:$A$10=A1)*(S heet1!$C$1:$C$10=C1)*(Sheet1!$D$1:$D$10=D1),0)))
Copy down. Adapt the ranges to suit.
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"koneil" wrote:
I have two worksheets along the lines of:

SHEET 1 SHEET 2
A B C D A B C D
1 1 10 100 1 10 100
1 3 20 - 1 20 -
2 6 20 300 1 30 200
2 9 30 200 2 20 300
2 9 30 200 3 10 100
3 11 10 100 3 10 200
3 11 10 200

I want to fill incolumn "B" on Sheet 2 with the values from column B in
sheet 1 whereever columns A, C, and D match.

Any ideas on how to do this?

thanks.

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 for multiple criteria, multiple worksheets jtoy Excel Worksheet Functions 4 January 25th 07 09:26 PM
select lines from multiple worksheets and write to new worksheet rem Excel Worksheet Functions 1 September 15th 05 03:35 PM
Select by multiple criteria (Excel 2003) Picman Excel Worksheet Functions 1 August 16th 05 06:17 PM
Select rows of data in a worksheet on one criteria in multiple co MrSkoot99 Excel Worksheet Functions 5 July 11th 05 01:48 PM
Countif with multiple criteria and multiple worksheets JJ Excel Worksheet Functions 1 December 28th 04 06:37 PM


All times are GMT +1. The time now is 07:34 AM.

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"