G
G
Gerich44442022-02-03 22:26:31
excel
Gerich4444, 2022-02-03 22:26:31

How to delete characters in a cell in Excel under certain conditions?

Good afternoon, we have cells with the following value
{male, female}
{male}
{female}

How do I remove curly braces in cells that do NOT have a comma? That is, so that it becomes like this

{male, female}
male
female

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander, 2022-02-03
@Gerich4444

In exact accordance with the given example.
61fc3a7f0ab7e419216438.jpeg

=ЕСЛИ(ЕОШИБКА(ПОИСК(",";A1));ПОДСТАВИТЬ(ПОДСТАВИТЬ(A1;"{";"");"}";"");A1)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question