Home |
Search |
Today's Posts |
|
#1
![]() |
|||
|
|||
![]() I have a cell that contains l1931-06-05l73lyrs I want to be able to pull off just the 73, is this possible |
#2
![]() |
|||
|
|||
![]()
Hi
if your data is consistent with the example then you can use =MID(A1,13,2) or alternatively try =MID(A1,FIND("l",A1,3)+1,2) (with your data in A1) -- Cheers JulieD check out www.hcts.net.au/tipsandtricks.htm ....well i'm working on it anyway "D richardson" wrote in message ... I have a cell that contains l1931-06-05l73lyrs I want to be able to pull off just the 73, is this possible |
#3
![]() |
|||
|
|||
![]() Thanks, your second suggestion worked for me with a slight adjustment changing the 3 to a 2. Thanks again. "JulieD" wrote: Hi if your data is consistent with the example then you can use =MID(A1,13,2) or alternatively try =MID(A1,FIND("l",A1,3)+1,2) (with your data in A1) -- Cheers JulieD check out www.hcts.net.au/tipsandtricks.htm ....well i'm working on it anyway "D richardson" wrote in message ... I have a cell that contains l1931-06-05l73lyrs I want to be able to pull off just the 73, is this possible |
#4
![]() |
|||
|
|||
![]()
Hi
It depends on the criteria you are using and how similar the information is to your example. TO get 73 from the cell content you posted you could use: =MID(A2,13,2) which start at the 13th character and returns the next 2 -- Andy. "D richardson" wrote in message ... I have a cell that contains l1931-06-05l73lyrs I want to be able to pull off just the 73, is this possible |
#5
![]() |
|||
|
|||
![]()
Try:
=SUBSTITUTE(RIGHT(A1,LEN(A1)-12),"lyrs","")*1 Assuming the format is always: lyyyy-mm-ddl"age"lyrs HTH Jason Atlanta, GA "D richardson" wrote: I have a cell that contains l1931-06-05l73lyrs I want to be able to pull off just the 73, is this possible |
#6
![]() |
|||
|
|||
![]() Thanks...Your right that worked assuming the length is always the same in some instances the lyyyy-mm-ddl is missing and you are left with ll45lyrsl, the lyrsl is a constant... is there a way to pull off from the right after the 5 characters lyrsl. "Jason Morin" wrote: Try: =SUBSTITUTE(RIGHT(A1,LEN(A1)-12),"lyrs","")*1 Assuming the format is always: lyyyy-mm-ddl"age"lyrs HTH Jason Atlanta, GA "D richardson" wrote: I have a cell that contains l1931-06-05l73lyrs I want to be able to pull off just the 73, is this possible |
#7
![]() |
|||
|
|||
![]()
This works if all your data is the same length. =MID(A1,13,2). Start at 13th
character, return 2=73. Good Luck Pat "D richardson" wrote: I have a cell that contains l1931-06-05l73lyrs I want to be able to pull off just the 73, is this possible |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Copy cell format to cell on another worksht and update automatical | Excel Worksheet Functions | |||
Import Data into same cell | Excel Discussion (Misc queries) | |||
I want a window to cell data that conains links to PDF files and . | Excel Discussion (Misc queries) | |||
Repeat Cell Data | Excel Worksheet Functions | |||
Automatic cell increment with data from sheet 1 to sheet 2 | Excel Worksheet Functions |