Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
If specific # of certain characters in a range, "OK", if not "Aler
I have various codes(letters) in cells B1 thru N1.(see below)
If B1:H1 has 5 or more C's , I want "OK", if not "Alert". In this case, it would be "alert' because only 4 C's. Also if H1:N1 the same. This scenario would be "OK", because it has 5 C's in that range. Something like the below: If(B1:H1("[[[has 5 or more C's]]]","OK","Alert") B C D E F G H I J K L M N s c c ns c ns c c c ns c ns c Thanks, Steve |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
If specific # of certain characters in a range, "OK", if not "Aler
Hi Steve
=IF(COUNTIF(B1:H1,"C")=5,"OK,"Alert") -- Regards Roger Govier "Steve" wrote in message ... I have various codes(letters) in cells B1 thru N1.(see below) If B1:H1 has 5 or more C's , I want "OK", if not "Alert". In this case, it would be "alert' because only 4 C's. Also if H1:N1 the same. This scenario would be "OK", because it has 5 C's in that range. Something like the below: If(B1:H1("[[[has 5 or more C's]]]","OK","Alert") B C D E F G H I J K L M N s c c ns c ns c c c ns c ns c Thanks, Steve |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
If specific # of certain characters in a range, "OK", if not "Aler
Try this:
=IF(COUNTIF(B1:H1,"c")<5,"Alert","OK") =IF(COUNTIF(H1:N1,"c")<5,"Alert","OK") H1 overlaps in both formulas? -- Biff Microsoft Excel MVP "Steve" wrote in message ... I have various codes(letters) in cells B1 thru N1.(see below) If B1:H1 has 5 or more C's , I want "OK", if not "Alert". In this case, it would be "alert' because only 4 C's. Also if H1:N1 the same. This scenario would be "OK", because it has 5 C's in that range. Something like the below: If(B1:H1("[[[has 5 or more C's]]]","OK","Alert") B C D E F G H I J K L M N s c c ns c ns c c c ns c ns c Thanks, Steve |
#4
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
If specific # of certain characters in a range, "OK", if not "
Perfect, thanks guys.
yes, H1 overlaps both. Steve "T. Valko" wrote: Try this: =IF(COUNTIF(B1:H1,"c")<5,"Alert","OK") =IF(COUNTIF(H1:N1,"c")<5,"Alert","OK") H1 overlaps in both formulas? -- Biff Microsoft Excel MVP "Steve" wrote in message ... I have various codes(letters) in cells B1 thru N1.(see below) If B1:H1 has 5 or more C's , I want "OK", if not "Alert". In this case, it would be "alert' because only 4 C's. Also if H1:N1 the same. This scenario would be "OK", because it has 5 C's in that range. Something like the below: If(B1:H1("[[[has 5 or more C's]]]","OK","Alert") B C D E F G H I J K L M N s c c ns c ns c c c ns c ns c Thanks, Steve |
#5
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
If specific # of certain characters in a range, "OK", if not "
You're welcome. Thanks for the feedback!
-- Biff Microsoft Excel MVP "Steve" wrote in message ... Perfect, thanks guys. yes, H1 overlaps both. Steve "T. Valko" wrote: Try this: =IF(COUNTIF(B1:H1,"c")<5,"Alert","OK") =IF(COUNTIF(H1:N1,"c")<5,"Alert","OK") H1 overlaps in both formulas? -- Biff Microsoft Excel MVP "Steve" wrote in message ... I have various codes(letters) in cells B1 thru N1.(see below) If B1:H1 has 5 or more C's , I want "OK", if not "Alert". In this case, it would be "alert' because only 4 C's. Also if H1:N1 the same. This scenario would be "OK", because it has 5 C's in that range. Something like the below: If(B1:H1("[[[has 5 or more C's]]]","OK","Alert") B C D E F G H I J K L M N s c c ns c ns c c c ns c ns c Thanks, Steve |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell | Excel Discussion (Misc queries) | |||
Validation ?:Accepting both Numbers AND specific letters("N","n"," | Excel Discussion (Misc queries) | |||
change "true" and "false" to "availble" and "out of stock" | Excel Worksheet Functions | |||
HELP on "left","right","find","len","substitute" functions | Excel Discussion (Misc queries) | |||
Count occurences of "1"/"0" (or"TRUE"/"FALSE") in a row w. conditions in the next | New Users to Excel |