Menu
mediumZalora · cleaning

Clean a messy discount label into a usable decimal

Column A holds Zalora discount labels typed by hand, like " 15% off " — with stray whitespace and a trailing " off" label. Write formulas in B1:B2 that turn each label into a plain decimal fraction (e.g. 15% off becomes 0.15).

Starting grid

A1
AB
1 15% off
2 40% off
Show expected output
B1
AB
1 15% off
2 40% off

Keep going

Company names are trademarks of their respective owners, used here only to describe practice material. mahir_data is not affiliated with, endorsed by, or sponsored by any company named on this site. Terms.