Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 287
Default row lookup formula

I have a list of vendors that are associated with a job. On another
spreadsheet I have that list of vendors all with their vendor number going
from 1 and up. I need a way to display the vendor numbers on the first sheet
in the same column as the vendor and the job they are associated with. I am
trying to clean up a mess and this list is huge. Suggestions?
Ex.
Sheet 1
job vendor name (need vendor number)
security A+ Security ? - need it to bring up a 3
Catering John's Deli ? - need it to bring up a 1


Sheet 2
vendor number vendor name
1 Johns deli
2 Bobs bait
3 A+ Security

Help!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
bj bj is offline
external usenet poster
 
Posts: 1,397
Default row lookup formula

try =index('Sheet 2'!A:A,match(B2,'Sheet 2'!B:B,0))
in C2 copy and paste down

"adam" wrote:

I have a list of vendors that are associated with a job. On another
spreadsheet I have that list of vendors all with their vendor number going
from 1 and up. I need a way to display the vendor numbers on the first sheet
in the same column as the vendor and the job they are associated with. I am
trying to clean up a mess and this list is huge. Suggestions?
Ex.
Sheet 1
job vendor name (need vendor number)
security A+ Security ? - need it to bring up a 3
Catering John's Deli ? - need it to bring up a 1


Sheet 2
vendor number vendor name
1 Johns deli
2 Bobs bait
3 A+ Security

Help!

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,311
Default row lookup formula

This may work for you.

=INDIRECT("A"&MATCH(B1,Sheet2!B$1:B$100,0))

HTH,
Paul

"adam" wrote in message
...
I have a list of vendors that are associated with a job. On another
spreadsheet I have that list of vendors all with their vendor number going
from 1 and up. I need a way to display the vendor numbers on the first
sheet
in the same column as the vendor and the job they are associated with. I
am
trying to clean up a mess and this list is huge. Suggestions?
Ex.
Sheet 1
job vendor name (need vendor number)
security A+ Security ? - need it to bring up a 3
Catering John's Deli ? - need it to bring up a 1


Sheet 2
vendor number vendor name
1 Johns deli
2 Bobs bait
3 A+ Security

Help!



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 287
Default row lookup formula

Any other suggestions?

"bj" wrote:

try =index('Sheet 2'!A:A,match(B2,'Sheet 2'!B:B,0))
in C2 copy and paste down

"adam" wrote:

I have a list of vendors that are associated with a job. On another
spreadsheet I have that list of vendors all with their vendor number going
from 1 and up. I need a way to display the vendor numbers on the first sheet
in the same column as the vendor and the job they are associated with. I am
trying to clean up a mess and this list is huge. Suggestions?
Ex.
Sheet 1
job vendor name (need vendor number)
security A+ Security ? - need it to bring up a 3
Catering John's Deli ? - need it to bring up a 1


Sheet 2
vendor number vendor name
1 Johns deli
2 Bobs bait
3 A+ Security

Help!

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 287
Default row lookup formula

any others?

"adam" wrote:

I have a list of vendors that are associated with a job. On another
spreadsheet I have that list of vendors all with their vendor number going
from 1 and up. I need a way to display the vendor numbers on the first sheet
in the same column as the vendor and the job they are associated with. I am
trying to clean up a mess and this list is huge. Suggestions?
Ex.
Sheet 1
job vendor name (need vendor number)
security A+ Security ? - need it to bring up a 3
Catering John's Deli ? - need it to bring up a 1


Sheet 2
vendor number vendor name
1 Johns deli
2 Bobs bait
3 A+ Security

Help!



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
bj bj is offline
external usenet poster
 
Posts: 1,397
Default row lookup formula

in sheet 2 copy column A to Column C
in C2 Sheet one
=vlookup(B2,"Sheet 2'!B:C,0)
copy and paste down as far as you want to go

why did you want other suggestions?
If the previous one did not give you what you need, let us know so that we
can respond with a better answer. If you just want alternatives, tell us why.

"adam" wrote:

Any other suggestions?

"bj" wrote:

try =index('Sheet 2'!A:A,match(B2,'Sheet 2'!B:B,0))
in C2 copy and paste down

"adam" wrote:

I have a list of vendors that are associated with a job. On another
spreadsheet I have that list of vendors all with their vendor number going
from 1 and up. I need a way to display the vendor numbers on the first sheet
in the same column as the vendor and the job they are associated with. I am
trying to clean up a mess and this list is huge. Suggestions?
Ex.
Sheet 1
job vendor name (need vendor number)
security A+ Security ? - need it to bring up a 3
Catering John's Deli ? - need it to bring up a 1


Sheet 2
vendor number vendor name
1 Johns deli
2 Bobs bait
3 A+ Security

Help!

  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default row lookup formula

You've now been given 3 alternatives in replies to your posting, but
so far you have given no feedback to the contributors as to whether
these work for you or not - why should we give you yet more
alternatives?

Pete

On Jul 12, 9:52 pm, adam wrote:
any others?



"adam" wrote:
I have a list of vendors that are associated with a job. On another
spreadsheet I have that list of vendors all with their vendor number going
from 1 and up. I need a way to display the vendor numbers on the first sheet
in the same column as the vendor and the job they are associated with. I am
trying to clean up a mess and this list is huge. Suggestions?
Ex.
Sheet 1
job vendor name (need vendor number)
security A+ Security ? - need it to bring up a 3
Catering John's Deli ? - need it to bring up a 1


Sheet 2
vendor number vendor name
1 Johns deli
2 Bobs bait
3 A+ Security


Help!- Hide quoted text -


- Show quoted text -



  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 287
Default row lookup formula

Sorry very busy, thanks very much for you contributions, it did help. I had
my head stuck up my, you know what and didn't notice on the first that they
were ref row 2 and mine was starting off with row 1. My bad! Thanks for the
help.

"Pete_UK" wrote:

You've now been given 3 alternatives in replies to your posting, but
so far you have given no feedback to the contributors as to whether
these work for you or not - why should we give you yet more
alternatives?

Pete

On Jul 12, 9:52 pm, adam wrote:
any others?



"adam" wrote:
I have a list of vendors that are associated with a job. On another
spreadsheet I have that list of vendors all with their vendor number going
from 1 and up. I need a way to display the vendor numbers on the first sheet
in the same column as the vendor and the job they are associated with. I am
trying to clean up a mess and this list is huge. Suggestions?
Ex.
Sheet 1
job vendor name (need vendor number)
security A+ Security ? - need it to bring up a 3
Catering John's Deli ? - need it to bring up a 1


Sheet 2
vendor number vendor name
1 Johns deli
2 Bobs bait
3 A+ Security


Help!- Hide quoted text -


- Show quoted text -




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 formula help jillteresa Excel Worksheet Functions 4 August 1st 06 05:22 PM
lookup formula? Kfry57 Excel Worksheet Functions 1 July 24th 06 05:21 PM
lookup formula Marcus Excel Worksheet Functions 3 October 25th 05 06:10 PM
Formula help (Lookup) Ola Sigurdh Excel Discussion (Misc queries) 6 September 7th 05 01:14 AM
Lookup Formula - but have a formula if it can't find/match a value Stephen Excel Worksheet Functions 11 June 14th 05 05:32 AM


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