Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Worksheet Functions / May 2008

Tip: Looking for answers? Try searching our database.

Vlookup or match function?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Belinda7237 - 03 May 2008 22:04 GMT
I can't quite get this to work, hoping someone can help:

I have two worksheets and if there is a match i want it to return a value:

sheet 1
A1 = package #
b1 = rework reason (this field is blank and is where i want the data
populated)

sheet 2
f1 = package number
g1 = rework reason

If there is a matching package number on sheet 2, then i want the rework
reason in column G to be placed in the rework reason in sheet 1 column B.

Any help is appreciated
T. Valko - 03 May 2008 22:13 GMT
> sheet 2
> f1 = package number
> g1 = rework reason

Assuming that the above is actually a TABLE of data.

Entered on Sheet1 B1:

=VLOOKUP(A1,Sheet2!F:G,2,0)

If no match is found the formula will return #N/A.

Signature

Biff
Microsoft Excel MVP

>I can't quite get this to work, hoping someone can help:
>
[quoted text clipped - 13 lines]
>
> Any help is appreciated
Belinda7237 - 03 May 2008 22:24 GMT
thanks, that worked and it was easy to do!

> > sheet 2
> > f1 = package number
[quoted text clipped - 25 lines]
> >
> > Any help is appreciated
Belinda7237 - 03 May 2008 22:29 GMT
Actually, it didnt work as i wanted - as i look at the data the reasons dont
match.  There may not be a match for every item and the data isnt
chronological.  Meaning the package number that is on sheet 1 may be in cell
A2 on sheet 1 and it may be in cell F6 on sheet 2.

> > sheet 2
> > f1 = package number
[quoted text clipped - 25 lines]
> >
> > Any help is appreciated
T. Valko - 03 May 2008 22:44 GMT
In that case, it sounds like you want to drag copy the formula down column
A.

Signature

Biff
Microsoft Excel MVP

> Actually, it didnt work as i wanted - as i look at the data the reasons
> dont
[quoted text clipped - 35 lines]
>> >
>> > Any help is appreciated
T. Valko - 03 May 2008 23:50 GMT
Typo:

> In that case, it sounds like you want to drag copy the formula down column
> A.

That should be: drag copy down column B.

Signature

Biff
Microsoft Excel MVP

> In that case, it sounds like you want to drag copy the formula down column
> A.
[quoted text clipped - 38 lines]
>>> >
>>> > Any help is appreciated
Belinda7237 - 17 May 2008 03:00 GMT
thanks for your help!

> Typo:
>
[quoted text clipped - 45 lines]
> >>> >
> >>> > Any help is appreciated
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.