Você precisará de instruções if() aninhadas, como:
if 25 then Account1 otherwise (else), if 58 then Account2 otherwise...
=IF(A1=25,"account1",IF(A1=58,"account2",""))
O formato da função IF() é IF(logical_test, value_if_true, [value_if_false]) e você está apenas colocando outra função IF() no [value_if_false] repetidamente.