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 COMPARE??? IF??? VLOOKUP??? Don't know which to use

I have two worksheets.

Worksheet 1
In column A1, I have the value SERVER1
In column A2, I have the value SERVER2

WORKSHEET2
Somewhere in column A, I have the value Sever1
Somewhere in column A, I have the value Server2

In column B I have a number 8.1.1 that coincides with the server name in
column A
(Server2 value might be 8.2)

I want to take the value located in coulmn B that associated with Server 1
(wherever it might be in column A)

and put it in cell B1 in Worksheet 1.

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,339
Default Help with COMPARE??? IF??? VLOOKUP??? Don't know which to use

in B1:

=VLOOKUP(A1,Sheet2!A:B,2,0)

To allow for errors:

=IF(ISNA(VLOOKUP(A1,Sheet2!A:B,2,0)),"Not found",VLOOKUP(A1,Sheet2!A:B,2,0))



"jessshouse" wrote:

I have two worksheets.

Worksheet 1
In column A1, I have the value SERVER1
In column A2, I have the value SERVER2

WORKSHEET2
Somewhere in column A, I have the value Sever1
Somewhere in column A, I have the value Server2

In column B I have a number 8.1.1 that coincides with the server name in
column A
(Server2 value might be 8.2)

I want to take the value located in coulmn B that associated with Server 1
(wherever it might be in column A)

and put it in cell B1 in Worksheet 1.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Help with COMPARE??? IF??? VLOOKUP??? Don't know which to use

Try this in B1 of Sheet2:

=VLOOKUP(A1,Sheet2!A:B,2,0)

If you have the name "Server1" (not "Sever1") in column A of Sheet2,
this will return the corresponding value from column B, but if there
is no match you will get the #N/A error.

You can copy the formula to B2 if you need to.

Hope this helps.

Pete


On Jun 27, 7:34 pm, jessshouse
wrote:
I have two worksheets.

Worksheet 1
In column A1, I have the value SERVER1
In column A2, I have the value SERVER2

WORKSHEET2
Somewhere in column A, I have the value Sever1
Somewhere in column A, I have the value Server2

In column B I have a number 8.1.1 that coincides with the server name in
column A
(Server2 value might be 8.2)

I want to take the value located in coulmn B that associated with Server 1
(wherever it might be in column A)

and put it in cell B1 in Worksheet 1.



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Help with COMPARE??? IF??? VLOOKUP??? Don't know which to use

Sorry, first line should have been:

Try this in B1 of Sheet1:

Pete

On Jun 27, 7:58 pm, Pete_UK wrote:
Try this in B1 of Sheet2:

=VLOOKUP(A1,Sheet2!A:B,2,0)

If you have the name "Server1" (not "Sever1") in column A of Sheet2,
this will return the corresponding value from column B, but if there
is no match you will get the #N/A error.

You can copy the formula to B2 if you need to.

Hope this helps.

Pete

On Jun 27, 7:34 pm, jessshouse
wrote:



I have two worksheets.


Worksheet 1
In column A1, I have the value SERVER1
In column A2, I have the value SERVER2


WORKSHEET2
Somewhere in column A, I have the value Sever1
Somewhere in column A, I have the value Server2


In column B I have a number 8.1.1 that coincides with the server name in
column A
(Server2 value might be 8.2)


I want to take the value located in coulmn B that associated with Server 1
(wherever it might be in column A)


and put it in cell B1 in Worksheet 1.- 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
comparing two spreadsheets using vlookup and compare Sweetetc Excel Worksheet Functions 6 September 14th 06 08:25 AM
Compare Old & New Product List (i.e. VLOOKUP) Hal Excel Worksheet Functions 3 July 6th 06 06:25 PM
can i use filters to compare data instead of vlookup? Vindell Excel Discussion (Misc queries) 1 January 3rd 06 07:53 PM
Using Vlookup to compare and validate data Big Jones Excel Worksheet Functions 1 August 19th 05 12:15 PM
using VLOOKUP to compare 2 columns to find new information Jessica Excel Worksheet Functions 3 July 19th 05 02:59 AM


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