View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Aline Aline is offline
external usenet poster
 
Posts: 43
Default Macro_AND function

Another formula (OR formula) I have: =IF(OR(E3="B", E3="C", E3="E"), "Y", "N")

It works well in the macro:

..Range("L3:L" & LastRow).Formula _
= "=IF(E3=""B"", ""Y"", IF(OR(E3=""C""," _
& "E3=""E""), ""Y"", ""N""))"

Just could not figure out what to do with AND formula.

Thanks,


--
Aline