View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.newusers
JMB JMB is offline
external usenet poster
 
Posts: 2,062
Default If but with a twist:(

try:
=If(CountIf(A1:F1, "OK")=3, "OK", "Problem")


"AVB Over My Head" wrote:

I have 6 columns each cell has a value either €śOk€ť or €śProblem€ť. I
would like to figure out how to automate on column 7 if I have three
€śOk€ť in my row then type €śOK€ť if I have less than 3 OK in my row then
type €śProblem€ť
A1 B1 C1 D1 E1
F1 G1
1 Ok Ok Problem Problem Problem Problem Problem
2 Ok Problem Ok Ok Problem Ok
Ok