$ 0 0 I do have a simple solution though. I am an excel coder and it will look like below in excel IF(C1="Turbogenius", RANK=1,(A1XB1))