I would assume you needed a formula, but your attachment is not accessible.
If you'd like to answer your own question, it is perfectly fine to mark it as the solution. However, it would be more helpful to future readers if you could reveal the formula in E2.
Therefore, I removed the solution mark in your post.