Excel · मराठी आवृत्ती
5.14 Unwanted characters काढा
आधीचा data
| Product (raw) |
|---|
| *Nashik Grapes* 500 g |
| Poha #1 kg |
| Ladi Pav (6 pcs)!! |
| Amul_Butter_100_g |
Clean केल्यावर
| Product |
|---|
| Nashik Grapes 500 g |
| Poha 1 kg |
| Ladi Pav (6 pcs) |
| Amul Butter 100 g |
Steps
या product-name example मध्ये *, #, ! काढायचे आणि underscore ला space करायचं आहे:
=TRIM(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(A2,"*",""),"#",""),"!",""),"_"," "))Find & Replace मध्ये literal star साठी ~*, question mark साठी ~?. ~ हा wildcard escape करतो.
नवीन Microsoft 365 मध्ये advanced optional method:
=TRIM(REDUCE(A2,{"*","#","!"},LAMBDA(t,c,SUBSTITUTE(t,c,""))))REDUCE/LAMBDA च्या या example मध्ये *, #, ! काढले जातात. Underscore वेगळ्या SUBSTITUTE ने space करा.
Practice
*, #, _, !! आणि double spaces असलेली दहा names दोन पद्धतींनी clean करा: Find & Replace आणि formula. Numbers किंवा model codes मधले अर्थपूर्ण characters काढले गेले नाहीत ना ते पाहा.