简体   繁体   中英

If a cell in range of cells in Excel contains an email address (@ sign), I want to move whole cell text into a different column

I have an excel sheet with lists of names, emails and addresses. What i'd like to do is search column F and if the cell contains an "@" (an email) i want to copy that cell to column D. If its blank or contains any other value, do nothing.

Is this possible in a function?

In D1 enter:

=IF(ISNUMBER(FIND("@",F1)),F1,"")

and copy down

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM