Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
FLKULCHAR
 
Posts: n/a
Default Searching an Alphabetized list for data, then RESORT

I have a list of NFL teams in column A (alphabetized) with their rating in
column B:


1 COL B COL C
2
3 Balt 10
4 Chicago 8
5 Cleve 13
6 Dallas 17
7 Denver 9
8 Green Bay 15

etc., etc.

I wish to search for the entire 32 teams (columns 3 thru 34, column B) for a
team name, then insert its rating (col. C) into a new list.

For example, on another spreadsheet I have the weekly schedule.

In row 4 I have:

col A col B col C col D col E
4 Balt. Green Bay ??? ???

I wish to insert the teams' rating into column D (for Balt) and column E
(for Green Bay). [in other words, a 10 and a 15]

How is this done???

I believe it is some type of array look-up routine...search for the match,
then enter the data.

Please advise.

FL KULCHAR

please also notify

THANK YOU


  #2   Report Post  
bpeltzer
 
Posts: n/a
Default

Use Excel's vlookup function.
In cell D4 (where you want the 10 returned): =vlookup(b4,Sheet1!B:C,2,false)
and in E4: =vlookup(c4,Sheet1!B:C,2,false)
(You may need to change the Sheet1 reference if the name of your first
worksheet is different and/or it's in a different workbook). As you're
entering the formula, the easiest way to create the cell references will be
just to click to select columns B and C from your first worksheet.
One caveat: you'll want to use the exact same team names (ex Balt vs Balt.)
in both worksheets.


"FLKULCHAR" wrote:

I have a list of NFL teams in column A (alphabetized) with their rating in
column B:


1 COL B COL C
2
3 Balt 10
4 Chicago 8
5 Cleve 13
6 Dallas 17
7 Denver 9
8 Green Bay 15

etc., etc.

I wish to search for the entire 32 teams (columns 3 thru 34, column B) for a
team name, then insert its rating (col. C) into a new list.

For example, on another spreadsheet I have the weekly schedule.

In row 4 I have:

col A col B col C col D col E
4 Balt. Green Bay ??? ???

I wish to insert the teams' rating into column D (for Balt) and column E
(for Green Bay). [in other words, a 10 and a 15]

How is this done???

I believe it is some type of array look-up routine...search for the match,
then enter the data.

Please advise.

FL KULCHAR

please also notify

THANK YOU


  #3   Report Post  
FLKULCHAR
 
Posts: n/a
Default

I keep getting a #REF error, and I do not understand why?

pls help...we are almost there

"bpeltzer" wrote:

Use Excel's vlookup function.
In cell D4 (where you want the 10 returned): =vlookup(b4,Sheet1!B:C,2,false)
and in E4: =vlookup(c4,Sheet1!B:C,2,false)
(You may need to change the Sheet1 reference if the name of your first
worksheet is different and/or it's in a different workbook). As you're
entering the formula, the easiest way to create the cell references will be
just to click to select columns B and C from your first worksheet.
One caveat: you'll want to use the exact same team names (ex Balt vs Balt.)
in both worksheets.


"FLKULCHAR" wrote:

I have a list of NFL teams in column A (alphabetized) with their rating in
column B:


1 COL B COL C
2
3 Balt 10
4 Chicago 8
5 Cleve 13
6 Dallas 17
7 Denver 9
8 Green Bay 15

etc., etc.

I wish to search for the entire 32 teams (columns 3 thru 34, column B) for a
team name, then insert its rating (col. C) into a new list.

For example, on another spreadsheet I have the weekly schedule.

In row 4 I have:

col A col B col C col D col E
4 Balt. Green Bay ??? ???

I wish to insert the teams' rating into column D (for Balt) and column E
(for Green Bay). [in other words, a 10 and a 15]

How is this done???

I believe it is some type of array look-up routine...search for the match,
then enter the data.

Please advise.

FL KULCHAR

please also notify

THANK YOU


  #4   Report Post  
FLKULCHAR
 
Posts: n/a
Default

Never Mind...your rsvp is PERFECT,,,

thank you very much...you have helped me immeasurably!

FLK

"bpeltzer" wrote:

Use Excel's vlookup function.
In cell D4 (where you want the 10 returned): =vlookup(b4,Sheet1!B:C,2,false)
and in E4: =vlookup(c4,Sheet1!B:C,2,false)
(You may need to change the Sheet1 reference if the name of your first
worksheet is different and/or it's in a different workbook). As you're
entering the formula, the easiest way to create the cell references will be
just to click to select columns B and C from your first worksheet.
One caveat: you'll want to use the exact same team names (ex Balt vs Balt.)
in both worksheets.


"FLKULCHAR" wrote:

I have a list of NFL teams in column A (alphabetized) with their rating in
column B:


1 COL B COL C
2
3 Balt 10
4 Chicago 8
5 Cleve 13
6 Dallas 17
7 Denver 9
8 Green Bay 15

etc., etc.

I wish to search for the entire 32 teams (columns 3 thru 34, column B) for a
team name, then insert its rating (col. C) into a new list.

For example, on another spreadsheet I have the weekly schedule.

In row 4 I have:

col A col B col C col D col E
4 Balt. Green Bay ??? ???

I wish to insert the teams' rating into column D (for Balt) and column E
(for Green Bay). [in other words, a 10 and a 15]

How is this done???

I believe it is some type of array look-up routine...search for the match,
then enter the data.

Please advise.

FL KULCHAR

please also notify

THANK YOU


  #5   Report Post  
bpeltzer
 
Posts: n/a
Default

Can you paste the formula that's generating the #REF? Also tell us what cell
the formula is in, and where your source data (the table with each team's
rating) is located -- workbook name, worksheet name and cell range.
Usually, the #REF comes about when the 'column index' in the vlookup is
greater than the number of columns in your 'table array'. Ex: if your table
array is B:C (two columns) and your column index is 3, you'd get the #REF.

"FLKULCHAR" wrote:

I keep getting a #REF error, and I do not understand why?

pls help...we are almost there

"bpeltzer" wrote:

Use Excel's vlookup function.
In cell D4 (where you want the 10 returned): =vlookup(b4,Sheet1!B:C,2,false)
and in E4: =vlookup(c4,Sheet1!B:C,2,false)
(You may need to change the Sheet1 reference if the name of your first
worksheet is different and/or it's in a different workbook). As you're
entering the formula, the easiest way to create the cell references will be
just to click to select columns B and C from your first worksheet.
One caveat: you'll want to use the exact same team names (ex Balt vs Balt.)
in both worksheets.


"FLKULCHAR" wrote:

I have a list of NFL teams in column A (alphabetized) with their rating in
column B:


1 COL B COL C
2
3 Balt 10
4 Chicago 8
5 Cleve 13
6 Dallas 17
7 Denver 9
8 Green Bay 15

etc., etc.

I wish to search for the entire 32 teams (columns 3 thru 34, column B) for a
team name, then insert its rating (col. C) into a new list.

For example, on another spreadsheet I have the weekly schedule.

In row 4 I have:

col A col B col C col D col E
4 Balt. Green Bay ??? ???

I wish to insert the teams' rating into column D (for Balt) and column E
(for Green Bay). [in other words, a 10 and a 15]

How is this done???

I believe it is some type of array look-up routine...search for the match,
then enter the data.

Please advise.

FL KULCHAR

please also notify

THANK YOU


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
Update master list with other lists Chab Excel Worksheet Functions 0 August 4th 05 03:46 PM
Making pick list conditional on selection from previous pick list Stewart Excel Discussion (Misc queries) 1 June 27th 05 11:30 AM
Refresh a Validation List? jhollin1138 Excel Discussion (Misc queries) 3 February 17th 05 05:48 PM
Searching a list with repeat entries and creating a sum Brian Connolly Excel Discussion (Misc queries) 1 February 3rd 05 09:41 PM
Extracting Values on one list and not another B Schwarz Excel Discussion (Misc queries) 4 January 7th 05 01:48 PM


All times are GMT +1. The time now is 02:38 PM.

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"