Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default help with INDEX function

I'm trying to make a worksheet that allows employees to type in their first &
last name and display corresponding data from other workbooks. I have an
INDEX function that does this well, but what I want is for it to display
results that match all of their logins. I tried to use the OR function but I
can't make it work. See example below:

This function does what I want it to do, for one of their logins:

=INDEX('\\Santbdc\Breakroom\Productivity Reports\[last
day.xls]Output'!$A$3:$S$1000,SMALL(IF('\\Santbdc\Breakroom \Productivity
Reports\[last
day.xls]Output'!$A$3:$A$1000=$T$2,ROW('\\Santbdc\Breakroom \Productivity
Reports\[last day.xls]Output'!$A$3:$A$1000)),ROW(1:1))-2,1)

The problem is that instead of only matching the item in cell T2, I want it
to return all the results that match cells T2, T3, and T4

How can this be done?

P.S. I tried using the OR function like this, but it returns values that
don't match:

=INDEX('\\Santbdc\Breakroom\Productivity Reports\[last
day.xls]Output'!$A$3:$S$1000,SMALL(IF(OR('\\Santbdc\Breakr oom\Productivity
Reports\[last
day.xls]Output'!$A$3:$A$1000=$T$2,'\\Santbdc\Breakroom\Pro ductivity
Reports\[last
day.xls]Output'!$A$3:$A$1000=$T$3,'\\Santbdc\Breakroom\Pro ductivity
Reports\[last
day.xls]Output'!$A$3:$A$1000=$T$4),ROW('\\Santbdc\Breakroo m\Productivity
Reports\[last day.xls]Output'!$A$3:$A$1000)),ROW(1:1))-2,1)
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default help with INDEX function

Try it like this (I left out the long path to make it easier to read):

=INDEX($A$3:$S$1000,SMALL(IF(ISNUMBER(MATCH($A$3:$ A$1000,$T$2:$T$4,0)),ROW($A$3:$A$1000)),ROWS(A$1:A 1))-2,1)

Why are you indexing A:S? Are you copying this formula across the row?

--
Biff
Microsoft Excel MVP


"John Case" wrote in message
...
I'm trying to make a worksheet that allows employees to type in their
first &
last name and display corresponding data from other workbooks. I have an
INDEX function that does this well, but what I want is for it to display
results that match all of their logins. I tried to use the OR function
but I
can't make it work. See example below:

This function does what I want it to do, for one of their logins:

=INDEX('\\Santbdc\Breakroom\Productivity Reports\[last
day.xls]Output'!$A$3:$S$1000,SMALL(IF('\\Santbdc\Breakroom \Productivity
Reports\[last
day.xls]Output'!$A$3:$A$1000=$T$2,ROW('\\Santbdc\Breakroom \Productivity
Reports\[last day.xls]Output'!$A$3:$A$1000)),ROW(1:1))-2,1)

The problem is that instead of only matching the item in cell T2, I want
it
to return all the results that match cells T2, T3, and T4

How can this be done?

P.S. I tried using the OR function like this, but it returns values that
don't match:

=INDEX('\\Santbdc\Breakroom\Productivity Reports\[last
day.xls]Output'!$A$3:$S$1000,SMALL(IF(OR('\\Santbdc\Breakr oom\Productivity
Reports\[last
day.xls]Output'!$A$3:$A$1000=$T$2,'\\Santbdc\Breakroom\Pro ductivity
Reports\[last
day.xls]Output'!$A$3:$A$1000=$T$3,'\\Santbdc\Breakroom\Pro ductivity
Reports\[last
day.xls]Output'!$A$3:$A$1000=$T$4),ROW('\\Santbdc\Breakroo m\Productivity
Reports\[last day.xls]Output'!$A$3:$A$1000)),ROW(1:1))-2,1)



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default help with INDEX function

Yes the values returned show them comprehensive stats. The report shows
their name, market, completes, time on phone, etc. all the way to column S.

I will try the formula you gave me tomorrow, it looks like it is going to
work. I will let you know.

THANKS! This is going to make it much easier for employees to look up their
stats. You're not helping me, you're helping my 500 employees. I am sure
they will be very appreciative of the resulting workbook, and I would be
AMAZED if they realised how much help you guys on these forums are.


"T. Valko" wrote:

Try it like this (I left out the long path to make it easier to read):

=INDEX($A$3:$S$1000,SMALL(IF(ISNUMBER(MATCH($A$3:$ A$1000,$T$2:$T$4,0)),ROW($A$3:$A$1000)),ROWS(A$1:A 1))-2,1)

Why are you indexing A:S? Are you copying this formula across the row?

--
Biff
Microsoft Excel MVP


"John Case" wrote in message
...
I'm trying to make a worksheet that allows employees to type in their
first &
last name and display corresponding data from other workbooks. I have an
INDEX function that does this well, but what I want is for it to display
results that match all of their logins. I tried to use the OR function
but I
can't make it work. See example below:

This function does what I want it to do, for one of their logins:

=INDEX('\\Santbdc\Breakroom\Productivity Reports\[last
day.xls]Output'!$A$3:$S$1000,SMALL(IF('\\Santbdc\Breakroom \Productivity
Reports\[last
day.xls]Output'!$A$3:$A$1000=$T$2,ROW('\\Santbdc\Breakroom \Productivity
Reports\[last day.xls]Output'!$A$3:$A$1000)),ROW(1:1))-2,1)

The problem is that instead of only matching the item in cell T2, I want
it
to return all the results that match cells T2, T3, and T4

How can this be done?

P.S. I tried using the OR function like this, but it returns values that
don't match:

=INDEX('\\Santbdc\Breakroom\Productivity Reports\[last
day.xls]Output'!$A$3:$S$1000,SMALL(IF(OR('\\Santbdc\Breakr oom\Productivity
Reports\[last
day.xls]Output'!$A$3:$A$1000=$T$2,'\\Santbdc\Breakroom\Pro ductivity
Reports\[last
day.xls]Output'!$A$3:$A$1000=$T$3,'\\Santbdc\Breakroom\Pro ductivity
Reports\[last
day.xls]Output'!$A$3:$A$1000=$T$4),ROW('\\Santbdc\Breakroo m\Productivity
Reports\[last day.xls]Output'!$A$3:$A$1000)),ROW(1:1))-2,1)




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default help with INDEX function

I will try the formula you gave me tomorrow, it looks like
it is going to work. I will let you know.


I'll keep an eye on this thread.


--
Biff
Microsoft Excel MVP


"John Case" wrote in message
...
Yes the values returned show them comprehensive stats. The report shows
their name, market, completes, time on phone, etc. all the way to column
S.

I will try the formula you gave me tomorrow, it looks like it is going to
work. I will let you know.

THANKS! This is going to make it much easier for employees to look up
their
stats. You're not helping me, you're helping my 500 employees. I am sure
they will be very appreciative of the resulting workbook, and I would be
AMAZED if they realised how much help you guys on these forums are.


"T. Valko" wrote:

Try it like this (I left out the long path to make it easier to read):

=INDEX($A$3:$S$1000,SMALL(IF(ISNUMBER(MATCH($A$3:$ A$1000,$T$2:$T$4,0)),ROW($A$3:$A$1000)),ROWS(A$1:A 1))-2,1)

Why are you indexing A:S? Are you copying this formula across the row?

--
Biff
Microsoft Excel MVP


"John Case" wrote in message
...
I'm trying to make a worksheet that allows employees to type in their
first &
last name and display corresponding data from other workbooks. I have
an
INDEX function that does this well, but what I want is for it to
display
results that match all of their logins. I tried to use the OR function
but I
can't make it work. See example below:

This function does what I want it to do, for one of their logins:

=INDEX('\\Santbdc\Breakroom\Productivity Reports\[last
day.xls]Output'!$A$3:$S$1000,SMALL(IF('\\Santbdc\Breakroom \Productivity
Reports\[last
day.xls]Output'!$A$3:$A$1000=$T$2,ROW('\\Santbdc\Breakroom \Productivity
Reports\[last day.xls]Output'!$A$3:$A$1000)),ROW(1:1))-2,1)

The problem is that instead of only matching the item in cell T2, I
want
it
to return all the results that match cells T2, T3, and T4

How can this be done?

P.S. I tried using the OR function like this, but it returns values
that
don't match:

=INDEX('\\Santbdc\Breakroom\Productivity Reports\[last
day.xls]Output'!$A$3:$S$1000,SMALL(IF(OR('\\Santbdc\Breakr oom\Productivity
Reports\[last
day.xls]Output'!$A$3:$A$1000=$T$2,'\\Santbdc\Breakroom\Pro ductivity
Reports\[last
day.xls]Output'!$A$3:$A$1000=$T$3,'\\Santbdc\Breakroom\Pro ductivity
Reports\[last
day.xls]Output'!$A$3:$A$1000=$T$4),ROW('\\Santbdc\Breakroo m\Productivity
Reports\[last day.xls]Output'!$A$3:$A$1000)),ROW(1:1))-2,1)






  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default help with INDEX function

This does what I want it to, THANKS!!

"T. Valko" wrote:

I will try the formula you gave me tomorrow, it looks like
it is going to work. I will let you know.


I'll keep an eye on this thread.


--
Biff
Microsoft Excel MVP


"John Case" wrote in message
...
Yes the values returned show them comprehensive stats. The report shows
their name, market, completes, time on phone, etc. all the way to column
S.

I will try the formula you gave me tomorrow, it looks like it is going to
work. I will let you know.

THANKS! This is going to make it much easier for employees to look up
their
stats. You're not helping me, you're helping my 500 employees. I am sure
they will be very appreciative of the resulting workbook, and I would be
AMAZED if they realised how much help you guys on these forums are.


"T. Valko" wrote:

Try it like this (I left out the long path to make it easier to read):

=INDEX($A$3:$S$1000,SMALL(IF(ISNUMBER(MATCH($A$3:$ A$1000,$T$2:$T$4,0)),ROW($A$3:$A$1000)),ROWS(A$1:A 1))-2,1)

Why are you indexing A:S? Are you copying this formula across the row?

--
Biff
Microsoft Excel MVP


"John Case" wrote in message
...
I'm trying to make a worksheet that allows employees to type in their
first &
last name and display corresponding data from other workbooks. I have
an
INDEX function that does this well, but what I want is for it to
display
results that match all of their logins. I tried to use the OR function
but I
can't make it work. See example below:

This function does what I want it to do, for one of their logins:

=INDEX('\\Santbdc\Breakroom\Productivity Reports\[last
day.xls]Output'!$A$3:$S$1000,SMALL(IF('\\Santbdc\Breakroom \Productivity
Reports\[last
day.xls]Output'!$A$3:$A$1000=$T$2,ROW('\\Santbdc\Breakroom \Productivity
Reports\[last day.xls]Output'!$A$3:$A$1000)),ROW(1:1))-2,1)

The problem is that instead of only matching the item in cell T2, I
want
it
to return all the results that match cells T2, T3, and T4

How can this be done?

P.S. I tried using the OR function like this, but it returns values
that
don't match:

=INDEX('\\Santbdc\Breakroom\Productivity Reports\[last
day.xls]Output'!$A$3:$S$1000,SMALL(IF(OR('\\Santbdc\Breakr oom\Productivity
Reports\[last
day.xls]Output'!$A$3:$A$1000=$T$2,'\\Santbdc\Breakroom\Pro ductivity
Reports\[last
day.xls]Output'!$A$3:$A$1000=$T$3,'\\Santbdc\Breakroom\Pro ductivity
Reports\[last
day.xls]Output'!$A$3:$A$1000=$T$4),ROW('\\Santbdc\Breakroo m\Productivity
Reports\[last day.xls]Output'!$A$3:$A$1000)),ROW(1:1))-2,1)








  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default help with INDEX function

You're welcome. Thanks for the feedback!

--
Biff
Microsoft Excel MVP


"John Case" wrote in message
...
This does what I want it to, THANKS!!

"T. Valko" wrote:

I will try the formula you gave me tomorrow, it looks like
it is going to work. I will let you know.


I'll keep an eye on this thread.


--
Biff
Microsoft Excel MVP


"John Case" wrote in message
...
Yes the values returned show them comprehensive stats. The report
shows
their name, market, completes, time on phone, etc. all the way to
column
S.

I will try the formula you gave me tomorrow, it looks like it is going
to
work. I will let you know.

THANKS! This is going to make it much easier for employees to look up
their
stats. You're not helping me, you're helping my 500 employees. I am
sure
they will be very appreciative of the resulting workbook, and I would
be
AMAZED if they realised how much help you guys on these forums are.


"T. Valko" wrote:

Try it like this (I left out the long path to make it easier to read):

=INDEX($A$3:$S$1000,SMALL(IF(ISNUMBER(MATCH($A$3:$ A$1000,$T$2:$T$4,0)),ROW($A$3:$A$1000)),ROWS(A$1:A 1))-2,1)

Why are you indexing A:S? Are you copying this formula across the row?

--
Biff
Microsoft Excel MVP


"John Case" wrote in message
...
I'm trying to make a worksheet that allows employees to type in
their
first &
last name and display corresponding data from other workbooks. I
have
an
INDEX function that does this well, but what I want is for it to
display
results that match all of their logins. I tried to use the OR
function
but I
can't make it work. See example below:

This function does what I want it to do, for one of their logins:

=INDEX('\\Santbdc\Breakroom\Productivity Reports\[last
day.xls]Output'!$A$3:$S$1000,SMALL(IF('\\Santbdc\Breakroom \Productivity
Reports\[last
day.xls]Output'!$A$3:$A$1000=$T$2,ROW('\\Santbdc\Breakroom \Productivity
Reports\[last day.xls]Output'!$A$3:$A$1000)),ROW(1:1))-2,1)

The problem is that instead of only matching the item in cell T2, I
want
it
to return all the results that match cells T2, T3, and T4

How can this be done?

P.S. I tried using the OR function like this, but it returns values
that
don't match:

=INDEX('\\Santbdc\Breakroom\Productivity Reports\[last
day.xls]Output'!$A$3:$S$1000,SMALL(IF(OR('\\Santbdc\Breakr oom\Productivity
Reports\[last
day.xls]Output'!$A$3:$A$1000=$T$2,'\\Santbdc\Breakroom\Pro ductivity
Reports\[last
day.xls]Output'!$A$3:$A$1000=$T$3,'\\Santbdc\Breakroom\Pro ductivity
Reports\[last
day.xls]Output'!$A$3:$A$1000=$T$4),ROW('\\Santbdc\Breakroo m\Productivity
Reports\[last day.xls]Output'!$A$3:$A$1000)),ROW(1:1))-2,1)








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
Index Function Gulfman100 New Users to Excel 2 April 11th 08 08:30 AM
HELP with INDEX function manju Excel Discussion (Misc queries) 1 January 30th 08 06:50 PM
Index function et Excel Discussion (Misc queries) 3 February 21st 07 06:35 AM
Index Function/Match Function M Moore Excel Discussion (Misc queries) 3 September 3rd 06 11:49 AM
Emulate Index/Match combo function w/ VBA custom function Spencer Hutton Excel Worksheet Functions 2 May 2nd 05 05:26 PM


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