The following formula is resulting in a #VALUE! error indicating I've done something wrong. I want Excel to done one thing if the RIGHT is A, E, G, or K, and do something different if the result is C or H. And leave the cell blank if D12 does not contain 3000. Can anyone help me correct the formula? An example of the data in C49 would be CC12-S-A.
Excel Formula:
=IF(D12=3000,IF(RIGHT(C49,1)=OR("A","E","G","K"),ROUNDUP(E12/18,0)*2,IF(RIGHT(C49,1)=OR("C","H"),ROUNDUP(E12/18,0),"")))