If it will be possible to make a more complex script in a formula it may help