#1   Report Post  
KenRamoska
 
Posts: n/a
Default VLOOKUP question

Hi,
I have 4 sheets in my work book. Full CSM NPM PM
On the CSM Sheet I have the range CSM...and so on.
On the full sheet I have this formula.
Here is my formula...
=IF(A4="","",IF(VLOOKUP(A4,CSM,9,FALSE)="X","X",IF (VLOOKUP(A4,NPM,9,FALSE)="X","X",IF(VLOOKUP(A4,PM, 9,FALSE)="X","X","N"))))

My goal was when someone types a name it would look on these 3 sheets and
when it found the match put it on sheet 4. The problem is it knows to look at
the CSM Sheet and the table called CSM. If I put a name on another sheet like
the NPM Sheet then it does not see the range NPM on the NPM Sheet.
I don't want all of this on one sheet. Is there any other way?
Thanks.
  #2   Report Post  
bj
 
Posts: n/a
Default

try
=IF(A4="","",IF(VLOOKUP(A4,CSM!CSM,9,FALSE)="X","X ",IF(VLOOKUP(A4,NPM!NPM,9,FALSE)="X","X",IF(VLOOKU P(A4,PM!PM,9,FALSE)="X","X","N"))))
"KenRamoska" wrote:

Hi,
I have 4 sheets in my work book. Full CSM NPM PM
On the CSM Sheet I have the range CSM...and so on.
On the full sheet I have this formula.
Here is my formula...
=IF(A4="","",IF(VLOOKUP(A4,CSM,9,FALSE)="X","X",IF (VLOOKUP(A4,NPM,9,FALSE)="X","X",IF(VLOOKUP(A4,PM, 9,FALSE)="X","X","N"))))

My goal was when someone types a name it would look on these 3 sheets and
when it found the match put it on sheet 4. The problem is it knows to look at
the CSM Sheet and the table called CSM. If I put a name on another sheet like
the NPM Sheet then it does not see the range NPM on the NPM Sheet.
I don't want all of this on one sheet. Is there any other way?
Thanks.

  #3   Report Post  
KenRamoska
 
Posts: n/a
Default

That did not work :( anyone else?

"bj" wrote:

try
=IF(A4="","",IF(VLOOKUP(A4,CSM!CSM,9,FALSE)="X","X ",IF(VLOOKUP(A4,NPM!NPM,9,FALSE)="X","X",IF(VLOOKU P(A4,PM!PM,9,FALSE)="X","X","N"))))
"KenRamoska" wrote:

Hi,
I have 4 sheets in my work book. Full CSM NPM PM
On the CSM Sheet I have the range CSM...and so on.
On the full sheet I have this formula.
Here is my formula...
=IF(A4="","",IF(VLOOKUP(A4,CSM,9,FALSE)="X","X",IF (VLOOKUP(A4,NPM,9,FALSE)="X","X",IF(VLOOKUP(A4,PM, 9,FALSE)="X","X","N"))))

My goal was when someone types a name it would look on these 3 sheets and
when it found the match put it on sheet 4. The problem is it knows to look at
the CSM Sheet and the table called CSM. If I put a name on another sheet like
the NPM Sheet then it does not see the range NPM on the NPM Sheet.
I don't want all of this on one sheet. Is there any other way?
Thanks.

  #4   Report Post  
PegL
 
Posts: n/a
Default

I used X for CSM, Y for NPM and Z for PM in the following formula...
IF(A4="","",IF(ISNA(VLOOKUP(A4,CSM,9,FALSE)),IF(IS NA(VLOOKUP(A4,NPM,9,FALSE)),IF(ISNA(VLOOKUP(A4,PM, 9,FALSE)),"N","Z"),"Y"),"X"))

"KenRamoska" wrote:

Hi,
I have 4 sheets in my work book. Full CSM NPM PM
On the CSM Sheet I have the range CSM...and so on.
On the full sheet I have this formula.
Here is my formula...
=IF(A4="","",IF(VLOOKUP(A4,CSM,9,FALSE)="X","X",IF (VLOOKUP(A4,NPM,9,FALSE)="X","X",IF(VLOOKUP(A4,PM, 9,FALSE)="X","X","N"))))

My goal was when someone types a name it would look on these 3 sheets and
when it found the match put it on sheet 4. The problem is it knows to look at
the CSM Sheet and the table called CSM. If I put a name on another sheet like
the NPM Sheet then it does not see the range NPM on the NPM Sheet.
I don't want all of this on one sheet. Is there any other way?
Thanks.

  #5   Report Post  
KenRamoska
 
Posts: n/a
Default

Woo hoo. Yes....now I just gotta figure out how to come up with something
better than X Y or Z....these were used like a check off list. Thanks so
much!!!!!!!

"PegL" wrote:

I used X for CSM, Y for NPM and Z for PM in the following formula...
IF(A4="","",IF(ISNA(VLOOKUP(A4,CSM,9,FALSE)),IF(IS NA(VLOOKUP(A4,NPM,9,FALSE)),IF(ISNA(VLOOKUP(A4,PM, 9,FALSE)),"N","Z"),"Y"),"X"))

"KenRamoska" wrote:

Hi,
I have 4 sheets in my work book. Full CSM NPM PM
On the CSM Sheet I have the range CSM...and so on.
On the full sheet I have this formula.
Here is my formula...
=IF(A4="","",IF(VLOOKUP(A4,CSM,9,FALSE)="X","X",IF (VLOOKUP(A4,NPM,9,FALSE)="X","X",IF(VLOOKUP(A4,PM, 9,FALSE)="X","X","N"))))

My goal was when someone types a name it would look on these 3 sheets and
when it found the match put it on sheet 4. The problem is it knows to look at
the CSM Sheet and the table called CSM. If I put a name on another sheet like
the NPM Sheet then it does not see the range NPM on the NPM Sheet.
I don't want all of this on one sheet. Is there any other way?
Thanks.



  #6   Report Post  
KenRamoska
 
Posts: n/a
Default

Peg...
I put this in 4 cells Each time using a different column number.
Now it puts the X Y or Z in all four columns even if one is chosen. HELP@

"KenRamoska" wrote:

Woo hoo. Yes....now I just gotta figure out how to come up with something
better than X Y or Z....these were used like a check off list. Thanks so
much!!!!!!!

"PegL" wrote:

I used X for CSM, Y for NPM and Z for PM in the following formula...
IF(A4="","",IF(ISNA(VLOOKUP(A4,CSM,9,FALSE)),IF(IS NA(VLOOKUP(A4,NPM,9,FALSE)),IF(ISNA(VLOOKUP(A4,PM, 9,FALSE)),"N","Z"),"Y"),"X"))

"KenRamoska" wrote:

Hi,
I have 4 sheets in my work book. Full CSM NPM PM
On the CSM Sheet I have the range CSM...and so on.
On the full sheet I have this formula.
Here is my formula...
=IF(A4="","",IF(VLOOKUP(A4,CSM,9,FALSE)="X","X",IF (VLOOKUP(A4,NPM,9,FALSE)="X","X",IF(VLOOKUP(A4,PM, 9,FALSE)="X","X","N"))))

My goal was when someone types a name it would look on these 3 sheets and
when it found the match put it on sheet 4. The problem is it knows to look at
the CSM Sheet and the table called CSM. If I put a name on another sheet like
the NPM Sheet then it does not see the range NPM on the NPM Sheet.
I don't want all of this on one sheet. Is there any other way?
Thanks.

  #7   Report Post  
bj
 
Posts: n/a
Default

What happens if you break the sections apart
=VLOOKUP(A4,CSM!CSM,9,FALSE) (With or without the CSM!)
etc.
for the ones without a match and ones with a match

"KenRamoska" wrote:

That did not work :( anyone else?

"bj" wrote:

try
=IF(A4="","",IF(VLOOKUP(A4,CSM!CSM,9,FALSE)="X","X ",IF(VLOOKUP(A4,NPM!NPM,9,FALSE)="X","X",IF(VLOOKU P(A4,PM!PM,9,FALSE)="X","X","N"))))
"KenRamoska" wrote:

Hi,
I have 4 sheets in my work book. Full CSM NPM PM
On the CSM Sheet I have the range CSM...and so on.
On the full sheet I have this formula.
Here is my formula...
=IF(A4="","",IF(VLOOKUP(A4,CSM,9,FALSE)="X","X",IF (VLOOKUP(A4,NPM,9,FALSE)="X","X",IF(VLOOKUP(A4,PM, 9,FALSE)="X","X","N"))))

My goal was when someone types a name it would look on these 3 sheets and
when it found the match put it on sheet 4. The problem is it knows to look at
the CSM Sheet and the table called CSM. If I put a name on another sheet like
the NPM Sheet then it does not see the range NPM on the NPM Sheet.
I don't want all of this on one sheet. Is there any other way?
Thanks.

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 nycguy96 Excel Discussion (Misc queries) 2 April 21st 05 04:06 PM
VLOOKUP question Pierre Fichaud Excel Worksheet Functions 5 March 18th 05 10:53 PM
Vlookup against multiple columns/worksheets question JCarter Excel Discussion (Misc queries) 8 March 9th 05 04:59 PM
Vlookup Question Jeff Excel Discussion (Misc queries) 2 December 2nd 04 02:40 PM
vlookup question Alex Excel Worksheet Functions 2 November 11th 04 05:11 PM


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