PC Review


Reply
 
 
glen.e.mettler@lmco.com
Guest
Posts: n/a
 
      15th Mar 2006
the Max() function will allow me to capture the maximum value in a
column of data.
Is there a similar function for text? Example: I have a Projects
Status file that contains varioius data about the project and a color
code to provide a "stop light" indication of status.
Project ABC consists of 4 ecp that are variously G(reen), Y(ellow),
R(ed). At the ABC level I want to automatically show the worst level
of status - in this case R, because ecp3 is R. If ecp3 goes to G, then
the rollup value would be Y because ecp2 is Y etc.

Project Status
ABC R
ecp1 G
ecp2 Y
ecp3 R
ecp4 G

I know that I could convert the values to 1,2,3 for G,Y,R and fix the
problem. Howeverr, I need to show the G,Y,R in the cell for printing
in B/W (and because that's the way the customer wants it).

I can also add another column, insert the numbers and do a vlookup with
Max() to fill the cell.

I was looking for a simpler approach without adding columns and lookup
etc. Is there a function I can use to do this?



Glen

 
Reply With Quote
 
 
 
 
Kevin
Guest
Posts: n/a
 
      15th Mar 2006
Glen, I'd use a vlookup like this:
=IF(ISNA(VLOOKUP("R",$B$8:$B$12,1,FALSE))=FALSE,"R",IF(ISNA(VLOOKUP("Y",$B$8:$B$12,1,FALSE))=FALSE,"Y","G"))

Since there's only 3 options, it will filter through your column until it
"hits" the lowest tiered letter.

Hope this helps.

Kevin

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
lookup help. lookup result based on data in 2 columns lcc Microsoft Excel Worksheet Functions 3 6th Apr 2010 02:20 PM
LOOKUP FUNCTION? (LOOKUP VALUE BEING A TIME RENERATED FROM A FORMU JCC Microsoft Excel Misc 5 26th Jun 2009 10:15 PM
Access 2003 Lookup based on Lookup previous field - populate other records on Form janine_docsonline Microsoft Access Forms 0 29th Jan 2006 11:03 AM
Lookup field versus lookup table?? and sorting?? =?Utf-8?B?SlIgSGVzdGVy?= Microsoft Access Database Table Design 1 4th Nov 2005 09:39 PM
Lookup formula returning same value for multiple lookup values wellsrp Microsoft Excel Discussion 3 10th Oct 2005 06:12 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:23 PM.