A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Using VLookup and Conditional Formatting



 
 
Thread Tools Display Modes
  #1  
Old September 22nd, 2008, 01:53 PM posted to microsoft.public.excel.worksheet.functions
ANDY B.
external usenet poster
 
Posts: 3
Default Using VLookup and Conditional Formatting

I am currently working on a project with the company I am working for and we
are having some difficulty with an excel formula. We're basically working out
of two different spreadsheets in a workbook and the only common ground
between the two is the column for part numbers. We used VLookup to pull data
from the first spreadsheet into the second with some conditional formatting.
The vlookup was based on part number.

Here is the problem. Because it involves data from four of our different
plants, some of the part numbers are listed twice, but contain completely
different cost, supplier and buyer information that we need to capture. I
suppose that ideally, is there some sort of function that can tell excel to
only pull the data from one entry of the part number once before trying to
find a second and pulling data like that until it cannot find another entry
and thus, end?

Thanks everyone for all the help! It is greatly appreciated as always!
  #2  
Old September 22nd, 2008, 02:04 PM posted to microsoft.public.excel.worksheet.functions
Ashish Mathur[_2_]
external usenet poster
 
Posts: 1,764
Default Using VLookup and Conditional Formatting

Hi,

Please post an example so that the problem is clear.

--
Regards,

Ashsih Mathur
Microsoft Excel MVP
www.ashishmathur.com

"Andy B." wrote in message
...
I am currently working on a project with the company I am working for and
we
are having some difficulty with an excel formula. We're basically working
out
of two different spreadsheets in a workbook and the only common ground
between the two is the column for part numbers. We used VLookup to pull
data
from the first spreadsheet into the second with some conditional
formatting.
The vlookup was based on part number.

Here is the problem. Because it involves data from four of our different
plants, some of the part numbers are listed twice, but contain completely
different cost, supplier and buyer information that we need to capture. I
suppose that ideally, is there some sort of function that can tell excel
to
only pull the data from one entry of the part number once before trying to
find a second and pulling data like that until it cannot find another
entry
and thus, end?

Thanks everyone for all the help! It is greatly appreciated as always!


  #3  
Old September 22nd, 2008, 02:15 PM posted to microsoft.public.excel.worksheet.functions
Stefi
external usenet poster
 
Posts: 1,841
Default Using VLookup and Conditional Formatting

I'm afraid you can't solve the problem without adding a plant column to both
worksheets and use concatenation of plant identifier and part number as
search key in VLOOKUP.

Regards,
Stefi

„Andy B.” ezt *rta:

I am currently working on a project with the company I am working for and we
are having some difficulty with an excel formula. We're basically working out
of two different spreadsheets in a workbook and the only common ground
between the two is the column for part numbers. We used VLookup to pull data
from the first spreadsheet into the second with some conditional formatting.
The vlookup was based on part number.

Here is the problem. Because it involves data from four of our different
plants, some of the part numbers are listed twice, but contain completely
different cost, supplier and buyer information that we need to capture. I
suppose that ideally, is there some sort of function that can tell excel to
only pull the data from one entry of the part number once before trying to
find a second and pulling data like that until it cannot find another entry
and thus, end?

Thanks everyone for all the help! It is greatly appreciated as always!

  #4  
Old September 23rd, 2008, 02:11 PM posted to microsoft.public.excel.worksheet.functions
ANDY B.
external usenet poster
 
Posts: 3
Default Using VLookup and Conditional Formatting

The formula I am using currently is =IF(ISNA(VLOOKUP($A2,'Pull Part
Candidates'!$A:$R,COLUMNS($A2:C2),0)),"",IF(VLOOKU P($A2,'Pull Part
Candidates'!$A:$R,COLUMNS($A2:C2),0)="","",VLOOKUP ($A2,'Pull Part
Candidates'!$A:$R,COLUMNS($A2:C2),0))).



"Andy B." wrote:

I am currently working on a project with the company I am working for and we
are having some difficulty with an excel formula. We're basically working out
of two different spreadsheets in a workbook and the only common ground
between the two is the column for part numbers. We used VLookup to pull data
from the first spreadsheet into the second with some conditional formatting.
The vlookup was based on part number.

Here is the problem. Because it involves data from four of our different
plants, some of the part numbers are listed twice, but contain completely
different cost, supplier and buyer information that we need to capture. I
suppose that ideally, is there some sort of function that can tell excel to
only pull the data from one entry of the part number once before trying to
find a second and pulling data like that until it cannot find another entry
and thus, end?

Thanks everyone for all the help! It is greatly appreciated as always!

  #5  
Old September 23rd, 2008, 03:16 PM posted to microsoft.public.excel.worksheet.functions
Stefi
external usenet poster
 
Posts: 1,841
Default Using VLookup and Conditional Formatting

You should post the exact structure of your sheets!
Stefi


„Andy B.” ezt *rta:

The formula I am using currently is =IF(ISNA(VLOOKUP($A2,'Pull Part
Candidates'!$A:$R,COLUMNS($A2:C2),0)),"",IF(VLOOKU P($A2,'Pull Part
Candidates'!$A:$R,COLUMNS($A2:C2),0)="","",VLOOKUP ($A2,'Pull Part
Candidates'!$A:$R,COLUMNS($A2:C2),0))).



"Andy B." wrote:

I am currently working on a project with the company I am working for and we
are having some difficulty with an excel formula. We're basically working out
of two different spreadsheets in a workbook and the only common ground
between the two is the column for part numbers. We used VLookup to pull data
from the first spreadsheet into the second with some conditional formatting.
The vlookup was based on part number.

Here is the problem. Because it involves data from four of our different
plants, some of the part numbers are listed twice, but contain completely
different cost, supplier and buyer information that we need to capture. I
suppose that ideally, is there some sort of function that can tell excel to
only pull the data from one entry of the part number once before trying to
find a second and pulling data like that until it cannot find another entry
and thus, end?

Thanks everyone for all the help! It is greatly appreciated as always!

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 09:55 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright 2004-2024 OfficeFrustration.
The comments are property of their posters.