Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 33
Default Multiple instances of lookup value

Can this be done? I have a worksheet that I use to track scores on
the Army physical fitness test. I use the sheet for unit level events
so there are soldiers from 5 different platoons. I would like to pull
the data from this input sheet into a seperate sheet for each platoon
that lists scores by name. The problem is there are multiple
instances of the lookup values(platoon) on the input sheet and I also
need the lookup to return the name which is in column A. I don't
think I can use individual names as lookup values because soldiers
come and go? Is there a way to use the name if it also meets another
condition? Please see example below.

NAME PLT SCORE GO/NO-GO
Johnson 1 300 GO
Smith 2 179 NO-GO
Thomas 3 245 GO
Allen OPS 220 GO
Roberts HQ 250 NO-GO
Myers 1 249 GO

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 114
Default Multiple instances of lookup value

Maybe you can try this:

1) Sheet 1 will be the list

NAME PLT SCORE GO/NO-GO
Johnson 1 300 GO
Smith 2 179 NO-GO
Thomas 3 245 GO
Allen OPS 220 GO
Roberts HQ 250 NO-GO
Myers 1 249 GO

-------------------------------
These are the COLUMNs:
A-NAME
B-PLT
C-SCORE
D-GO/NO-GO



2) In Sheet 2, pls do the following:

a) Cell A1 = Johnson
b) Cell B1 = 1
c) =INDEX(Sheet1!C1:C7,MATCH(1,(Sheet1!A1:A7=A1)*(She et1!B1:B7=B1),0))
*Enter with Ctrl+Shift+Enter (CSE) {} will auto appear
d) Result = 300

HTH.

"SGT Buckeye" wrote:

Can this be done? I have a worksheet that I use to track scores on
the Army physical fitness test. I use the sheet for unit level events
so there are soldiers from 5 different platoons. I would like to pull
the data from this input sheet into a seperate sheet for each platoon
that lists scores by name. The problem is there are multiple
instances of the lookup values(platoon) on the input sheet and I also
need the lookup to return the name which is in column A. I don't
think I can use individual names as lookup values because soldiers
come and go? Is there a way to use the name if it also meets another
condition? Please see example below.

NAME PLT SCORE GO/NO-GO
Johnson 1 300 GO
Smith 2 179 NO-GO
Thomas 3 245 GO
Allen OPS 220 GO
Roberts HQ 250 NO-GO
Myers 1 249 GO


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 114
Default Multiple instances of lookup value

My apology, please add Cell C1 in item 2c.

2) In Sheet 2, pls do the following:

a) Cell A1 = Johnson
b) Cell B1 = 1
c) Cell C1
=INDEX(Sheet1!C1:C7,MATCH(1,(Sheet1!A1:A7=A1)*(She et1!B1:B7=B1),0))
*Enter with Ctrl+Shift+Enter (CSE) {} will auto appear
d) Result = 300


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 33
Default Multiple instances of lookup value

On Sep 18, 1:58 am,
wrote:
My apology, please add Cell C1 in item 2c.

2) In Sheet 2, pls do the following:

a) Cell A1 = Johnson
b) Cell B1 = 1
c) Cell C1
=INDEX(Sheet1!C1:C7,MATCH(1,(Sheet1!A1:A7=A1)*(She et1!B1:B7=B1),0))
*Enter with Ctrl+Shift+Enter (CSE) {} will auto appear
d) Result = 300


Thanks for all the suggestions but I figured out something that works
for me. I copied all the data from the master worksheet to each of
the platoon worksheets. I then used the Record Macro feature of Word
2007 to unprotect the sheets, filter by platoon on each sheet, sort
from high score to low score, and then protect the sheets again. It
works like a charm. Again, many thanks for the suggestions.

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
Multiple instances Neil Levy Excel Discussion (Misc queries) 2 June 23rd 07 01:13 AM
Filtering Multiple Instances SamuelT Excel Discussion (Misc queries) 2 July 27th 06 04:22 PM
Lookup function for a value that has multiple instances Rafat Excel Worksheet Functions 4 June 8th 06 09:36 PM
Lookup against pivot table with multiple instances AW Excel Worksheet Functions 1 January 31st 06 11:34 PM
Returning multiple instances of the same lookup value lo3t3ch Excel Worksheet Functions 7 December 1st 05 03:25 PM


All times are GMT +1. The time now is 06:00 AM.

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"