Oops, my apologies. in the above formula, I'm not adding Columns A and B but I think you get the basic idea of what I've done.