#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Smish
 
Posts: n/a
Default Matching Items

I could use some help with following problem. I am having problems getting
correct formula and normally there are people much smarter then I in the
discussion group. What I have is a workbook with 4 worksheets and on on of
the worksheets I have a layout like this. (sheet 1)
A B C
1 Name Origin Driver #
2 Mrs Soandso 125 anywhere
3 Mr. Someone 327 anywhere

Drver numbers are blank

On another worksheet(sheet 3) I have a list of subscriptions (I.e drivers
numbers already filled in) I have this set up as a list.

A B C
1 Name Origin Driver #
2 Mrs Soandso 125 anywhere 37
3 Mr. Someone 327 anywhere 39

What I am looking for is a way to pull the drivers numbers from sheet3 into
sheet1. so basically in sheet 1 if a1 and b1 match the name + origin in sheet
3 it will pull the driver number from that row into c1 sheet1 . If nothing
matches then it should leave it blank. The data in sheet 1 changes everyday
for me as I get a manifest on who to deliver wheels on wheels to, my problem
is while I know all the correct drivers go to what people, I can never have a
day off as someone filling in for me has to go through 400 addresses and look
each one up and put coresponding drivers number into it.

I appreciate any help I can get with this problem.


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Domenic
 
Posts: n/a
Default Matching Items

On Sheet1, enter the following formula, which needs to be confirmed with
CONTROL+SHIFT+ENTER, in C2 and copy down:

=INDEX(Sheet3!$C$2:$C$3,MATCH(1,(Sheet3!$A$2:$A$3= A2)*(Sheet3!$B$2:$B$3=B
2),0))

or

=IF(ISNUMBER(MATCH(1,(Sheet3!$A$2:$A$3=A2)*(Sheet3 !$B$2:$B$3=B2),0)),INDE
X(Sheet3!$C$2:$C$3,MATCH(1,(Sheet3!$A$2:$A$3=A2)*( Sheet3!$B$2:$B$3=B2),0)
),"")

Change the sheet references and ranges accordingly.

Hope this helps!

In article ,
"Smish" wrote:

I could use some help with following problem. I am having problems getting
correct formula and normally there are people much smarter then I in the
discussion group. What I have is a workbook with 4 worksheets and on on of
the worksheets I have a layout like this. (sheet 1)
A B C
1 Name Origin Driver #
2 Mrs Soandso 125 anywhere
3 Mr. Someone 327 anywhere

Drver numbers are blank

On another worksheet(sheet 3) I have a list of subscriptions (I.e drivers
numbers already filled in) I have this set up as a list.

A B C
1 Name Origin Driver #
2 Mrs Soandso 125 anywhere 37
3 Mr. Someone 327 anywhere 39

What I am looking for is a way to pull the drivers numbers from sheet3 into
sheet1. so basically in sheet 1 if a1 and b1 match the name + origin in sheet
3 it will pull the driver number from that row into c1 sheet1 . If nothing
matches then it should leave it blank. The data in sheet 1 changes everyday
for me as I get a manifest on who to deliver wheels on wheels to, my problem
is while I know all the correct drivers go to what people, I can never have a
day off as someone filling in for me has to go through 400 addresses and look
each one up and put coresponding drivers number into it.

I appreciate any help I can get with this problem.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Smish
 
Posts: n/a
Default Matching Items

Maybe its the way it shows up in the post but the A B C are actually over the
Name, Origin, and Driver columns. This formula doesn't work for what I am
trying to do though.

Every day I get a manifest with approx 300 deliveries to be made. I already
know from previous weeks who is going to do the deliveries and have that
information in sheet 3. What I am trying to do is use is use a formula if
possible in sheet 1 column c to basically see if on sheet 5 a & b match the a
& b on sheet 1 it will pull the driver number to sheet 1.

"Domenic" wrote:

On Sheet1, enter the following formula, which needs to be confirmed with
CONTROL+SHIFT+ENTER, in C2 and copy down:

=INDEX(Sheet3!$C$2:$C$3,MATCH(1,(Sheet3!$A$2:$A$3= A2)*(Sheet3!$B$2:$B$3=B
2),0))

or

=IF(ISNUMBER(MATCH(1,(Sheet3!$A$2:$A$3=A2)*(Sheet3 !$B$2:$B$3=B2),0)),INDE
X(Sheet3!$C$2:$C$3,MATCH(1,(Sheet3!$A$2:$A$3=A2)*( Sheet3!$B$2:$B$3=B2),0)
),"")

Change the sheet references and ranges accordingly.

Hope this helps!

In article ,
"Smish" wrote:

I could use some help with following problem. I am having problems getting
correct formula and normally there are people much smarter then I in the
discussion group. What I have is a workbook with 4 worksheets and on on of
the worksheets I have a layout like this. (sheet 1)
A B C
1 Name Origin Driver #
2 Mrs Soandso 125 anywhere
3 Mr. Someone 327 anywhere

Drver numbers are blank

On another worksheet(sheet 3) I have a list of subscriptions (I.e drivers
numbers already filled in) I have this set up as a list.

A B C
1 Name Origin Driver #
2 Mrs Soandso 125 anywhere 37
3 Mr. Someone 327 anywhere 39

What I am looking for is a way to pull the drivers numbers from sheet3 into
sheet1. so basically in sheet 1 if a1 and b1 match the name + origin in sheet
3 it will pull the driver number from that row into c1 sheet1 . If nothing
matches then it should leave it blank. The data in sheet 1 changes everyday
for me as I get a manifest on who to deliver wheels on wheels to, my problem
is while I know all the correct drivers go to what people, I can never have a
day off as someone filling in for me has to go through 400 addresses and look
each one up and put coresponding drivers number into it.

I appreciate any help I can get with this problem.


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Domenic
 
Posts: n/a
Default Matching Items

What I am trying to do is use is use a formula if
possible in sheet 1 column c to basically see if on sheet 5 a & b match the a
& b on sheet 1 it will pull the driver number to sheet 1.


I take it you meant sheet 3, not sheet 5, right? Here's what I
assumed...

For your sheet 1...

The sheet name is Sheet1

A1:C1 contains Name, Origin, and Driver #

A2:B3 contains your data

For your sheet 3...

The sheet name is Sheet3

A1:C1 contains Name, Origin, and Driver #

A2:C3 contains your data

Then, on Sheet1, the following formula is entered in C2 and copied down:

=INDEX(Sheet3!$C$2:$C$3,MATCH(1,(Sheet3!$A$2:$A$3= Sheet1!A2)*(Sheet3!$B$2
:$B$3=Sheet1!B2),0))

Note that the formula needs to be confirmed with CONTROL+SHIFT+ENTER,
not just ENTER. That means, instead of pressing just ENTER, press ENTER
while both the CONTROL and SHIFT keys are pressed down. Excel will
automatically place braces {} around the formula indicating that you've
entered the formula correctly.

Does this help?

In article ,
"Smish" wrote:

Maybe its the way it shows up in the post but the A B C are actually over the
Name, Origin, and Driver columns. This formula doesn't work for what I am
trying to do though.

Every day I get a manifest with approx 300 deliveries to be made. I already
know from previous weeks who is going to do the deliveries and have that
information in sheet 3. What I am trying to do is use is use a formula if
possible in sheet 1 column c to basically see if on sheet 5 a & b match the a
& b on sheet 1 it will pull the driver number to sheet 1.

"Domenic" wrote:

On Sheet1, enter the following formula, which needs to be confirmed with
CONTROL+SHIFT+ENTER, in C2 and copy down:

=INDEX(Sheet3!$C$2:$C$3,MATCH(1,(Sheet3!$A$2:$A$3= A2)*(Sheet3!$B$2:$B$3=B
2),0))

or

=IF(ISNUMBER(MATCH(1,(Sheet3!$A$2:$A$3=A2)*(Sheet3 !$B$2:$B$3=B2),0)),INDE
X(Sheet3!$C$2:$C$3,MATCH(1,(Sheet3!$A$2:$A$3=A2)*( Sheet3!$B$2:$B$3=B2),0)
),"")

Change the sheet references and ranges accordingly.

Hope this helps!

In article ,
"Smish" wrote:

I could use some help with following problem. I am having problems
getting
correct formula and normally there are people much smarter then I in the
discussion group. What I have is a workbook with 4 worksheets and on on
of
the worksheets I have a layout like this. (sheet 1)
A B
C
1 Name Origin Driver #
2 Mrs Soandso 125 anywhere
3 Mr. Someone 327 anywhere

Drver numbers are blank

On another worksheet(sheet 3) I have a list of subscriptions (I.e drivers
numbers already filled in) I have this set up as a list.

A B
C
1 Name Origin Driver #
2 Mrs Soandso 125 anywhere 37
3 Mr. Someone 327 anywhere 39

What I am looking for is a way to pull the drivers numbers from sheet3
into
sheet1. so basically in sheet 1 if a1 and b1 match the name + origin in
sheet
3 it will pull the driver number from that row into c1 sheet1 . If
nothing
matches then it should leave it blank. The data in sheet 1 changes
everyday
for me as I get a manifest on who to deliver wheels on wheels to, my
problem
is while I know all the correct drivers go to what people, I can never
have a
day off as someone filling in for me has to go through 400 addresses and
look
each one up and put coresponding drivers number into it.

I appreciate any help I can get with this problem.


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
Need to Improve Code Copying/Pasting Between Workbooks David Excel Discussion (Misc queries) 1 January 6th 06 03:56 AM
Make typing "jump" to matching item(s) in drop-down list? Kathy Excel Discussion (Misc queries) 4 November 22nd 05 10:25 PM
Selecting matching items in a column Panajohn Excel Discussion (Misc queries) 2 August 15th 05 09:52 PM
multiple items in database Peter Excel Worksheet Functions 2 June 15th 05 08:19 PM
Count items between specific hours on a matching date KS Excel Worksheet Functions 1 December 10th 04 05:52 PM


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