View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
AmyTaylor
 
Posts: n/a
Default If cell contains then function


Hope someone can help with this function query I have:

I have the following function in cell F18 of my total sheet, it is a
concatenation of 4 cells on sheets T10, T6, T7 and T9:
CONCATENATE('T10'!F18&'T6'!F18&'T7'!F18&'T9'!F18)
The answer will be a combination of A,B,C,D or E.
What I would like is this, if possible:
If the concatenation contains mostly A or B then it is a "green", it is
contains no As then it is a "amber", if it contains mostly D or E then
it is a red.
If we need to specify the actual number of characters, then it would
be:
3 or more As or Bs and it is a "green", 3 or more Cs then it is "amber"
and 3 or more D or E then its a "red".

All help greatly appreciated
Los of love
Amy xx


--
AmyTaylor
------------------------------------------------------------------------
AmyTaylor's Profile: http://www.excelforum.com/member.php...o&userid=20970
View this thread: http://www.excelforum.com/showthread...hreadid=539852