Home |
Search |
Today's Posts |
#1
|
|||
|
|||
Formula to Seperate data in 1 cell
I have names on a sheet that I am trying to separate e.g. John.Smith
If I do the formula = Left(A1,Find(".",A1)-1) it returns John in the cell which is correct however if I do the formula Right(A1,Find(".",A1)-1) it works on some names and not others. Any idea of a formula where I can just extract the surname? |
#2
|
|||
|
|||
Hi
use =MID(A1,FIND(".",A1)+1,255) -- Regards Frank Kabel Frankfurt, Germany "Sho" schrieb im Newsbeitrag ... I have names on a sheet that I am trying to separate e.g. John.Smith If I do the formula = Left(A1,Find(".",A1)-1) it returns John in the cell which is correct however if I do the formula Right(A1,Find(".",A1)-1) it works on some names and not others. Any idea of a formula where I can just extract the surname? |
#3
|
|||
|
|||
This should do it for you.
=RIGHT(A1,LEN(A1)-FIND(".",A1)) "Sho" wrote: I have names on a sheet that I am trying to separate e.g. John.Smith If I do the formula = Left(A1,Find(".",A1)-1) it returns John in the cell which is correct however if I do the formula Right(A1,Find(".",A1)-1) it works on some names and not others. Any idea of a formula where I can just extract the surname? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
how do I make a formula NOT change when the data range is moved? | Excel Discussion (Misc queries) | |||
inserting data from a row to a cell, when the row number is specified by a formula in a cell | New Users to Excel | |||
Formula for copying data for every 8th cell | Setting up and Configuration of Excel | |||
Excel2K: Is it possible to use dynamic named ranges in custom data validation formula? | Excel Discussion (Misc queries) | |||
How to populate column with formula based on value in cell | Excel Worksheet Functions |