#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 354
Default Vlookup question

Hi. i have a workbook with multiple worksheets and some of them contain
matching data. say, i have worksheet A where i have numbers in column 1, and
i have worksheet B where i have numbers in column 1 (some of them matching
the ones in worksheet A), and have Comments in column 2. i want to pull up
the comments in worksheet A where column 1 has matching data to worksheet B
column 1. i tried a simple Vlookup but i always get N/A. hope this makes
sense. any suggestions?
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Vlookup question

Hi Daniel,
Please try the below lookup

=VLOOKUP(B1,Sheet1!$A$1:$B$23,2,FALSE)

in sheet b or sheet 2 in column c1



"Daniel" wrote:

Hi. i have a workbook with multiple worksheets and some of them contain
matching data. say, i have worksheet A where i have numbers in column 1, and
i have worksheet B where i have numbers in column 1 (some of them matching
the ones in worksheet A), and have Comments in column 2. i want to pull up
the comments in worksheet A where column 1 has matching data to worksheet B
column 1. i tried a simple Vlookup but i always get N/A. hope this makes
sense. any suggestions?

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,124
Default Vlookup question

Maybe not numbers?
Sub fixmynums()
Application.ScreenUpdating = False
On Error Resume Next
For Each C In Selection
If Trim(Len(C)) 0 And C.HasFormula = False Then
C.NumberFormat = "General"
C.Value = CDbl(C)
End If
Next

Application.ScreenUpdating = True
End Sub
===============

Maybe make lookup range absolute
=VLOOKUP(A12,'08.19'!$A$6:$H$75,8,0)

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Daniel" wrote in message
...
the formula i tried

=VLOOKUP(A12,'08.19'!A6:H75,8,0)

"Don Guillett" wrote:

Post your formula(s) for comments

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Daniel" wrote in message
...
Hi. i have a workbook with multiple worksheets and some of them contain
matching data. say, i have worksheet A where i have numbers in column
1,
and
i have worksheet B where i have numbers in column 1 (some of them
matching
the ones in worksheet A), and have Comments in column 2. i want to pull
up
the comments in worksheet A where column 1 has matching data to
worksheet
B
column 1. i tried a simple Vlookup but i always get N/A. hope this
makes
sense. any suggestions?






  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 354
Default Vlookup question

i still get N/A when using absolute look up range.

"Don Guillett" wrote:

Maybe not numbers?
Sub fixmynums()
Application.ScreenUpdating = False
On Error Resume Next
For Each C In Selection
If Trim(Len(C)) 0 And C.HasFormula = False Then
C.NumberFormat = "General"
C.Value = CDbl(C)
End If
Next

Application.ScreenUpdating = True
End Sub
===============

Maybe make lookup range absolute
=VLOOKUP(A12,'08.19'!$A$6:$H$75,8,0)

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Daniel" wrote in message
...
the formula i tried

=VLOOKUP(A12,'08.19'!A6:H75,8,0)

"Don Guillett" wrote:

Post your formula(s) for comments

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Daniel" wrote in message
...
Hi. i have a workbook with multiple worksheets and some of them contain
matching data. say, i have worksheet A where i have numbers in column
1,
and
i have worksheet B where i have numbers in column 1 (some of them
matching
the ones in worksheet A), and have Comments in column 2. i want to pull
up
the comments in worksheet A where column 1 has matching data to
worksheet
B
column 1. i tried a simple Vlookup but i always get N/A. hope this
makes
sense. any suggestions?




  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 354
Default Vlookup question

oh and yes, the values are not exclusively numbers, some are numbers and
letters

"Don Guillett" wrote:

Maybe not numbers?
Sub fixmynums()
Application.ScreenUpdating = False
On Error Resume Next
For Each C In Selection
If Trim(Len(C)) 0 And C.HasFormula = False Then
C.NumberFormat = "General"
C.Value = CDbl(C)
End If
Next

Application.ScreenUpdating = True
End Sub
===============

Maybe make lookup range absolute
=VLOOKUP(A12,'08.19'!$A$6:$H$75,8,0)

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Daniel" wrote in message
...
the formula i tried

=VLOOKUP(A12,'08.19'!A6:H75,8,0)

"Don Guillett" wrote:

Post your formula(s) for comments

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Daniel" wrote in message
...
Hi. i have a workbook with multiple worksheets and some of them contain
matching data. say, i have worksheet A where i have numbers in column
1,
and
i have worksheet B where i have numbers in column 1 (some of them
matching
the ones in worksheet A), and have Comments in column 2. i want to pull
up
the comments in worksheet A where column 1 has matching data to
worksheet
B
column 1. i tried a simple Vlookup but i always get N/A. hope this
makes
sense. any suggestions?




  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,124
Default Vlookup question


Post a sample or send your workbook to my address below along with snippets
of these msgs.

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Daniel" wrote in message
...
oh and yes, the values are not exclusively numbers, some are numbers and
letters

"Don Guillett" wrote:

Maybe not numbers?
Sub fixmynums()
Application.ScreenUpdating = False
On Error Resume Next
For Each C In Selection
If Trim(Len(C)) 0 And C.HasFormula = False Then
C.NumberFormat = "General"
C.Value = CDbl(C)
End If
Next

Application.ScreenUpdating = True
End Sub
===============

Maybe make lookup range absolute
=VLOOKUP(A12,'08.19'!$A$6:$H$75,8,0)

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Daniel" wrote in message
...
the formula i tried

=VLOOKUP(A12,'08.19'!A6:H75,8,0)

"Don Guillett" wrote:

Post your formula(s) for comments

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Daniel" wrote in message
...
Hi. i have a workbook with multiple worksheets and some of them
contain
matching data. say, i have worksheet A where i have numbers in
column
1,
and
i have worksheet B where i have numbers in column 1 (some of them
matching
the ones in worksheet A), and have Comments in column 2. i want to
pull
up
the comments in worksheet A where column 1 has matching data to
worksheet
B
column 1. i tried a simple Vlookup but i always get N/A. hope this
makes
sense. any suggestions?





  #9   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5
Default Vlookup question


=MATCH(B3,'ACTIVE COMM CUSTOMERS'!$A:$A,0)

this may seem really basic, but i did the same thing and it worked great

In an active worksheet, I ran a column next to the data I was comparing (B3)
in this case. Then in MATCH, used the array from a different worksheet, and
the column A. After dragging the formula down the entire B column (30000
rows), I sorted. Two results. If there was a MATCH, it gave me the LOCATION
of the matching field, and if there was no match, I knew I was missing data
from the other worksheet. Hope this helps.. it's really easy and you can do
it on the fly without using VLOOKUP






"Daniel" wrote:

Hi. i have a workbook with multiple worksheets and some of them contain
matching data. say, i have worksheet A where i have numbers in column 1, and
i have worksheet B where i have numbers in column 1 (some of them matching
the ones in worksheet A), and have Comments in column 2. i want to pull up
the comments in worksheet A where column 1 has matching data to worksheet B
column 1. i tried a simple Vlookup but i always get N/A. hope this makes
sense. any suggestions?

  #10   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 354
Default Vlookup question

i tried to apply the below, but no luck. what i dont understand is that out
of say a 100 lines, 4-5 will do work and it does bring up the relevant field
from worksheet B, but i get N/A for the rest.

"venumadhav g" wrote:

Hi Daniel,
Please try the below lookup

=VLOOKUP(B1,Sheet1!$A$1:$B$23,2,FALSE)

in sheet b or sheet 2 in column c1



"Daniel" wrote:

Hi. i have a workbook with multiple worksheets and some of them contain
matching data. say, i have worksheet A where i have numbers in column 1, and
i have worksheet B where i have numbers in column 1 (some of them matching
the ones in worksheet A), and have Comments in column 2. i want to pull up
the comments in worksheet A where column 1 has matching data to worksheet B
column 1. i tried a simple Vlookup but i always get N/A. hope this makes
sense. any 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
VLOOKUP question Eugen Excel Discussion (Misc queries) 2 August 7th 08 04:11 PM
vlookup question MarkT Excel Discussion (Misc queries) 3 November 9th 07 03:44 PM
VLOOKUP Question Rich K. Excel Discussion (Misc queries) 9 February 19th 07 10:15 PM
If/And/Vlookup question hoosonfirst Excel Discussion (Misc queries) 3 August 21st 05 02:19 AM
vlookup question Alex Excel Worksheet Functions 2 November 11th 04 05:11 PM


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