Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Ginger
 
Posts: n/a
Default Lookup with 3 criterias

I want to find the row in the second workbook which satisfies the following
three criterias and return the number in column D of that row in the second
workbook to the first (original) workbook. Return blank if the number is not
available.
1. the content of column A in the first worksheet = the content of column A
in the second worksheet (text);
2. the content of column B in the first worksheet = the content of column B
in the second worksheet (numeric);
3. the content of column C in the first worksheet = the content of column C
in the second worksheet (numeric and text);

I was trying to use Lookup, Match and Index formulas but didn't succeed.

Thanks much in advance for your help!


  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default

How about

=MATCH(A2&B2&C2,Sheet2!A1:A100&Sheet2!B1:B100&Shee t2!C1:C100,0)

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Ginger" wrote in message
...
I want to find the row in the second workbook which satisfies the

following
three criterias and return the number in column D of that row in the

second
workbook to the first (original) workbook. Return blank if the number is

not
available.
1. the content of column A in the first worksheet = the content of column

A
in the second worksheet (text);
2. the content of column B in the first worksheet = the content of column

B
in the second worksheet (numeric);
3. the content of column C in the first worksheet = the content of column

C
in the second worksheet (numeric and text);

I was trying to use Lookup, Match and Index formulas but didn't succeed.

Thanks much in advance for your help!





  #3   Report Post  
Ginger
 
Posts: n/a
Default

It didn't work. I also need to return the value in column D of sheet2 to a
column in sheet1. If the value is not available, I'd like to return blank. I
also tried the following but it didn't work either. I got "#value!":
=INDEX(Sheet2!D1:D100,MATCH(A2&B2&C2,Sheet2!A1:A10 0&Sheet2!B1:B100&Sheet2!C1:C100,0))

Thanks!!!

"Bob Phillips" wrote:

How about

=MATCH(A2&B2&C2,Sheet2!A1:A100&Sheet2!B1:B100&Shee t2!C1:C100,0)

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Ginger" wrote in message
...
I want to find the row in the second workbook which satisfies the

following
three criterias and return the number in column D of that row in the

second
workbook to the first (original) workbook. Return blank if the number is

not
available.
1. the content of column A in the first worksheet = the content of column

A
in the second worksheet (text);
2. the content of column B in the first worksheet = the content of column

B
in the second worksheet (numeric);
3. the content of column C in the first worksheet = the content of column

C
in the second worksheet (numeric and text);

I was trying to use Lookup, Match and Index formulas but didn't succeed.

Thanks much in advance for your help!






  #4   Report Post  
Peo Sjoblom
 
Posts: n/a
Default

It needs to be entered with ctrl + shift & enter

--
Regards,

Peo Sjoblom


"Ginger" wrote in message
...
It didn't work. I also need to return the value in column D of sheet2 to a
column in sheet1. If the value is not available, I'd like to return blank.
I
also tried the following but it didn't work either. I got "#value!":
=INDEX(Sheet2!D1:D100,MATCH(A2&B2&C2,Sheet2!A1:A10 0&Sheet2!B1:B100&Sheet2!C1:C100,0))

Thanks!!!

"Bob Phillips" wrote:

How about

=MATCH(A2&B2&C2,Sheet2!A1:A100&Sheet2!B1:B100&Shee t2!C1:C100,0)

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Ginger" wrote in message
...
I want to find the row in the second workbook which satisfies the

following
three criterias and return the number in column D of that row in the

second
workbook to the first (original) workbook. Return blank if the number
is

not
available.
1. the content of column A in the first worksheet = the content of
column

A
in the second worksheet (text);
2. the content of column B in the first worksheet = the content of
column

B
in the second worksheet (numeric);
3. the content of column C in the first worksheet = the content of
column

C
in the second worksheet (numeric and text);

I was trying to use Lookup, Match and Index formulas but didn't
succeed.

Thanks much in advance for your help!








  #5   Report Post  
Ginger
 
Posts: n/a
Default

=MATCH(A2&B2&C2,Sheet2!A1:A100&Sheet2!B1:B100&Shee t2!C1:C100,0) entered with
ctrl + shift & enter does give me the row number I wanted. But I also need to
return the value in column D of that row. So I enter the following formula
with ctrl + shift & enter:

=INDEX(Sheet2!A1:D100,MATCH(A2&B2&C2,Sheet2!A1:A10 0&Sheet2!B1:B100&Sheet2!C1:C100,0),4))

This should work but it gives me #N/A. Any thoughts?
Thanks!


"Peo Sjoblom" wrote:

It needs to be entered with ctrl + shift & enter

--
Regards,

Peo Sjoblom


"Ginger" wrote in message
...
It didn't work. I also need to return the value in column D of sheet2 to a
column in sheet1. If the value is not available, I'd like to return blank.
I
also tried the following but it didn't work either. I got "#value!":
=INDEX(Sheet2!D1:D100,MATCH(A2&B2&C2,Sheet2!A1:A10 0&Sheet2!B1:B100&Sheet2!C1:C100,0))

Thanks!!!

"Bob Phillips" wrote:

How about

=MATCH(A2&B2&C2,Sheet2!A1:A100&Sheet2!B1:B100&Shee t2!C1:C100,0)

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Ginger" wrote in message
...
I want to find the row in the second workbook which satisfies the
following
three criterias and return the number in column D of that row in the
second
workbook to the first (original) workbook. Return blank if the number
is
not
available.
1. the content of column A in the first worksheet = the content of
column
A
in the second worksheet (text);
2. the content of column B in the first worksheet = the content of
column
B
in the second worksheet (numeric);
3. the content of column C in the first worksheet = the content of
column
C
in the second worksheet (numeric and text);

I was trying to use Lookup, Match and Index formulas but didn't
succeed.

Thanks much in advance for your help!











  #6   Report Post  
Bob Phillips
 
Posts: n/a
Default

Try

INDEX(Sheet2!D1:D100,MATCH(A2&B2&C2,Sheet2!A1:A100 &Sheet2!B1:B100&Sheet2!C1:
C100,0),4))

array entered again

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Ginger" wrote in message
...
=MATCH(A2&B2&C2,Sheet2!A1:A100&Sheet2!B1:B100&Shee t2!C1:C100,0) entered

with
ctrl + shift & enter does give me the row number I wanted. But I also need

to
return the value in column D of that row. So I enter the following formula
with ctrl + shift & enter:


=INDEX(Sheet2!A1:D100,MATCH(A2&B2&C2,Sheet2!A1:A10 0&Sheet2!B1:B100&Sheet2!C1
:C100,0),4))

This should work but it gives me #N/A. Any thoughts?
Thanks!


"Peo Sjoblom" wrote:

It needs to be entered with ctrl + shift & enter

--
Regards,

Peo Sjoblom


"Ginger" wrote in message
...
It didn't work. I also need to return the value in column D of sheet2

to a
column in sheet1. If the value is not available, I'd like to return

blank.
I
also tried the following but it didn't work either. I got "#value!":

=INDEX(Sheet2!D1:D100,MATCH(A2&B2&C2,Sheet2!A1:A10 0&Sheet2!B1:B100&Sheet2!C1
:C100,0))

Thanks!!!

"Bob Phillips" wrote:

How about

=MATCH(A2&B2&C2,Sheet2!A1:A100&Sheet2!B1:B100&Shee t2!C1:C100,0)

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Ginger" wrote in message
...
I want to find the row in the second workbook which satisfies the
following
three criterias and return the number in column D of that row in

the
second
workbook to the first (original) workbook. Return blank if the

number
is
not
available.
1. the content of column A in the first worksheet = the content of
column
A
in the second worksheet (text);
2. the content of column B in the first worksheet = the content of
column
B
in the second worksheet (numeric);
3. the content of column C in the first worksheet = the content of
column
C
in the second worksheet (numeric and text);

I was trying to use Lookup, Match and Index formulas but didn't
succeed.

Thanks much in advance for your help!











  #7   Report Post  
Bob Phillips
 
Posts: n/a
Default


meant

=INDEX(Sheet2!D1:D100,MATCH(A2&B2&C2,Sheet2!A1:A10 0&Sheet2!B1:B100&Sheet2!C1
:C100,0))

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Bob Phillips" wrote in message
...
Try


INDEX(Sheet2!D1:D100,MATCH(A2&B2&C2,Sheet2!A1:A100 &Sheet2!B1:B100&Sheet2!C1:
C100,0),4))

array entered again

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Ginger" wrote in message
...
=MATCH(A2&B2&C2,Sheet2!A1:A100&Sheet2!B1:B100&Shee t2!C1:C100,0) entered

with
ctrl + shift & enter does give me the row number I wanted. But I also

need
to
return the value in column D of that row. So I enter the following

formula
with ctrl + shift & enter:



=INDEX(Sheet2!A1:D100,MATCH(A2&B2&C2,Sheet2!A1:A10 0&Sheet2!B1:B100&Sheet2!C1
:C100,0),4))

This should work but it gives me #N/A. Any thoughts?
Thanks!


"Peo Sjoblom" wrote:

It needs to be entered with ctrl + shift & enter

--
Regards,

Peo Sjoblom


"Ginger" wrote in message
...
It didn't work. I also need to return the value in column D of

sheet2
to a
column in sheet1. If the value is not available, I'd like to return

blank.
I
also tried the following but it didn't work either. I got "#value!":


=INDEX(Sheet2!D1:D100,MATCH(A2&B2&C2,Sheet2!A1:A10 0&Sheet2!B1:B100&Sheet2!C1
:C100,0))

Thanks!!!

"Bob Phillips" wrote:

How about

=MATCH(A2&B2&C2,Sheet2!A1:A100&Sheet2!B1:B100&Shee t2!C1:C100,0)

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Ginger" wrote in message
...
I want to find the row in the second workbook which satisfies the
following
three criterias and return the number in column D of that row in

the
second
workbook to the first (original) workbook. Return blank if the

number
is
not
available.
1. the content of column A in the first worksheet = the content

of
column
A
in the second worksheet (text);
2. the content of column B in the first worksheet = the content

of
column
B
in the second worksheet (numeric);
3. the content of column C in the first worksheet = the content

of
column
C
in the second worksheet (numeric and text);

I was trying to use Lookup, Match and Index formulas but didn't
succeed.

Thanks much in advance for your help!













  #8   Report Post  
Ginger
 
Posts: n/a
Default

Yes. It works like a charm. This is absolutely great and helpful! Thanks!

"Bob Phillips" wrote:


meant

=INDEX(Sheet2!D1:D100,MATCH(A2&B2&C2,Sheet2!A1:A10 0&Sheet2!B1:B100&Sheet2!C1
:C100,0))

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Bob Phillips" wrote in message
...
Try


INDEX(Sheet2!D1:D100,MATCH(A2&B2&C2,Sheet2!A1:A100 &Sheet2!B1:B100&Sheet2!C1:
C100,0),4))

array entered again

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Ginger" wrote in message
...
=MATCH(A2&B2&C2,Sheet2!A1:A100&Sheet2!B1:B100&Shee t2!C1:C100,0) entered

with
ctrl + shift & enter does give me the row number I wanted. But I also

need
to
return the value in column D of that row. So I enter the following

formula
with ctrl + shift & enter:



=INDEX(Sheet2!A1:D100,MATCH(A2&B2&C2,Sheet2!A1:A10 0&Sheet2!B1:B100&Sheet2!C1
:C100,0),4))

This should work but it gives me #N/A. Any thoughts?
Thanks!


"Peo Sjoblom" wrote:

It needs to be entered with ctrl + shift & enter

--
Regards,

Peo Sjoblom


"Ginger" wrote in message
...
It didn't work. I also need to return the value in column D of

sheet2
to a
column in sheet1. If the value is not available, I'd like to return

blank.
I
also tried the following but it didn't work either. I got "#value!":


=INDEX(Sheet2!D1:D100,MATCH(A2&B2&C2,Sheet2!A1:A10 0&Sheet2!B1:B100&Sheet2!C1
:C100,0))

Thanks!!!

"Bob Phillips" wrote:

How about

=MATCH(A2&B2&C2,Sheet2!A1:A100&Sheet2!B1:B100&Shee t2!C1:C100,0)

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Ginger" wrote in message
...
I want to find the row in the second workbook which satisfies the
following
three criterias and return the number in column D of that row in

the
second
workbook to the first (original) workbook. Return blank if the

number
is
not
available.
1. the content of column A in the first worksheet = the content

of
column
A
in the second worksheet (text);
2. the content of column B in the first worksheet = the content

of
column
B
in the second worksheet (numeric);
3. the content of column C in the first worksheet = the content

of
column
C
in the second worksheet (numeric and text);

I was trying to use Lookup, Match and Index formulas but didn't
succeed.

Thanks much in advance for your help!














  #9   Report Post  
Bob Phillips
 
Posts: n/a
Default

Glad we got there Ginger :-)

Bob


"Ginger" wrote in message
...
Yes. It works like a charm. This is absolutely great and helpful! Thanks!

"Bob Phillips" wrote:


meant


=INDEX(Sheet2!D1:D100,MATCH(A2&B2&C2,Sheet2!A1:A10 0&Sheet2!B1:B100&Sheet2!C1
:C100,0))

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Bob Phillips" wrote in message
...
Try



INDEX(Sheet2!D1:D100,MATCH(A2&B2&C2,Sheet2!A1:A100 &Sheet2!B1:B100&Sheet2!C1:
C100,0),4))

array entered again

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Ginger" wrote in message
...
=MATCH(A2&B2&C2,Sheet2!A1:A100&Sheet2!B1:B100&Shee t2!C1:C100,0)

entered
with
ctrl + shift & enter does give me the row number I wanted. But I

also
need
to
return the value in column D of that row. So I enter the following

formula
with ctrl + shift & enter:




=INDEX(Sheet2!A1:D100,MATCH(A2&B2&C2,Sheet2!A1:A10 0&Sheet2!B1:B100&Sheet2!C1
:C100,0),4))

This should work but it gives me #N/A. Any thoughts?
Thanks!


"Peo Sjoblom" wrote:

It needs to be entered with ctrl + shift & enter

--
Regards,

Peo Sjoblom


"Ginger" wrote in message
...
It didn't work. I also need to return the value in column D of

sheet2
to a
column in sheet1. If the value is not available, I'd like to

return
blank.
I
also tried the following but it didn't work either. I got

"#value!":



=INDEX(Sheet2!D1:D100,MATCH(A2&B2&C2,Sheet2!A1:A10 0&Sheet2!B1:B100&Sheet2!C1
:C100,0))

Thanks!!!

"Bob Phillips" wrote:

How about

=MATCH(A2&B2&C2,Sheet2!A1:A100&Sheet2!B1:B100&Shee t2!C1:C100,0)

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Ginger" wrote in message
...
I want to find the row in the second workbook which satisfies

the
following
three criterias and return the number in column D of that row

in
the
second
workbook to the first (original) workbook. Return blank if

the
number
is
not
available.
1. the content of column A in the first worksheet = the

content
of
column
A
in the second worksheet (text);
2. the content of column B in the first worksheet = the

content
of
column
B
in the second worksheet (numeric);
3. the content of column C in the first worksheet = the

content
of
column
C
in the second worksheet (numeric and text);

I was trying to use Lookup, Match and Index formulas but

didn't
succeed.

Thanks much in advance for your 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
Lookup Lookup Lookup MR Excel Worksheet Functions 2 March 10th 05 01:59 AM
Lookup Function Problem seve Excel Discussion (Misc queries) 9 February 28th 05 02:46 AM
Lookup function w/Text and Year Josh O. Excel Worksheet Functions 1 February 12th 05 11:27 PM
Excel Lookup Functions Paul Adams Excel Worksheet Functions 1 November 10th 04 02:40 PM
double lookup, nest, or macro? Josef.angel Excel Worksheet Functions 1 October 29th 04 09:50 AM


All times are GMT +1. The time now is 04:46 PM.

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"