Hi
I have data in cell A1 and A2 which looks like below
SECTOR - 11, HIRAN MAGRI, - 313001
MAIN BRANCH, 30-15-171 DABA GARDENS, NEAR SARASWATI PARK,-530020,
In cell A1 the number of hypens (-) are 2
In cell A2 the number of - are 3
What I am looking for is a formula which can remove all additional - except the last one. Therefore the result of the formula should be
SECTOR 11, HIRAN MAGRI, - 313001
MAIN BRANCH, 30 15 171 DABA GARDENS, NEAR SARASWATI PARK,-530020
Is this possible by using a formula
Thanks for the replies
I have data in cell A1 and A2 which looks like below
SECTOR - 11, HIRAN MAGRI, - 313001
MAIN BRANCH, 30-15-171 DABA GARDENS, NEAR SARASWATI PARK,-530020,
In cell A1 the number of hypens (-) are 2
In cell A2 the number of - are 3
What I am looking for is a formula which can remove all additional - except the last one. Therefore the result of the formula should be
SECTOR 11, HIRAN MAGRI, - 313001
MAIN BRANCH, 30 15 171 DABA GARDENS, NEAR SARASWATI PARK,-530020
Is this possible by using a formula
Thanks for the replies