Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
Extracting after a "-"
I want to take everything to the right of a "-", but the formula I am using
cuts part of it and doesn't give me everything. Is there a formula that gives me everything to the right regardless of length of characters in the cell? |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
Extracting after a "-"
try:
=MID(A1,FIND("-",A1)+1,255) "A.S." wrote: I want to take everything to the right of a "-", but the formula I am using cuts part of it and doesn't give me everything. Is there a formula that gives me everything to the right regardless of length of characters in the cell? |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
Extracting after a "-"
=RIGHT(A1,LEN(A1)-FIND("-",A1))
This will extract the needed text from A1. Adjust to fit your needs. Mark Lincoln On Jun 12, 4:13 pm, A.S. wrote: I want to take everything to the right of a "-", but the formula I am using cuts part of it and doesn't give me everything. Is there a formula that gives me everything to the right regardless of length of characters in the cell? |
#4
Posted to microsoft.public.excel.misc
|
|||
|
|||
Extracting after a "-"
This assumes there is only one "-" in your text string.
=RIGHT(A1,LEN(A1)-FIND("-",A1)) HTH, Paul "A.S." wrote in message ... I want to take everything to the right of a "-", but the formula I am using cuts part of it and doesn't give me everything. Is there a formula that gives me everything to the right regardless of length of characters in the cell? |
#5
Posted to microsoft.public.excel.misc
|
|||
|
|||
Extracting after a "-"
I want to take everything to the right of a "-", but the formula I am using
cuts part of it and doesn't give me everything. Is there a formula that gives me everything to the right regardless of length of characters in the cell? Assuming your text is in A1, this seems to work... =MID(A1,1+FIND("-",A1),LEN(A1)-FIND("-",A1)) Rick |
#6
Posted to microsoft.public.excel.misc
|
|||
|
|||
Extracting after a "-"
=MID(A1;FIND("-";A1)+1;255)
"A.S." skrev: I want to take everything to the right of a "-", but the formula I am using cuts part of it and doesn't give me everything. Is there a formula that gives me everything to the right regardless of length of characters in the cell? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
HELP on "left","right","find","len","substitute" functions | Excel Discussion (Misc queries) | |||
Count occurences of "1"/"0" (or"TRUE"/"FALSE") in a row w. conditions in the next | New Users to Excel | |||
create links to check boxes marked "good" fair"and "bad" | Excel Worksheet Functions | |||
Complex if test program possible? If "value" "value", paste "value" in another cell? | Excel Discussion (Misc queries) | |||
Insert "-" in text "1234567890" to have a output like this"123-456-7890" | Excel Discussion (Misc queries) |