G Guest Oct 18, 2007 #1 how would i write say if B8=Adelaide or mackay or katherine or darwin then c8 = 3
T T. Valko Oct 18, 2007 #4 Enter this formula in C8: =IF(OR(B8={"Adelaide","Mackay","Katherine","Darwin"}),3,"")
G Guest Oct 18, 2007 #6 My system appears to have hiccupped while sending the reply. The function that I suggested that you use in cell C8 is: =IF(OR(B8="Adelaide",B8="Mackay",B8="Katherine",B8="Darwin"),3,"")
My system appears to have hiccupped while sending the reply. The function that I suggested that you use in cell C8 is: =IF(OR(B8="Adelaide",B8="Mackay",B8="Katherine",B8="Darwin"),3,"")
J JE McGimpsey Oct 18, 2007 #7 One way: =IF(SUM(COUNTIF(B8,{"Adelaide","mackay","katherine","darwin"})),3,"")