help with my excel code please

New Contributor

can someone please tell me what's wrong with my formula. I also don't understand why it wants to put the * in the formula


2 Replies
best response confirmed by Sergei Baklan (MVP)



Maybe like this if i correctly understand what you want to do.

Many thanks......that is exactly what I needed.