A cell can contain either a formula, like =IF(A1>0,0,501) , or an entered constant value.
So this task (enter and then calculate within the same cell) needs a macro solution,
unless you can use one of the 16 777 214 remaining cells on the worksheet to produce the
result in question for you.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.