Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Not sure what function to use?
Hi all,
I have a cell (lets say A1) which has a vaule of "NW060D-Q1." i would like cell a2 to strip the value of a1 to the "-" so A2 value = "NW060D" Grateful if anyone can suggest a formula or solutin for this. Regards Steve |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Not sure what function to use?
Try...
=TRIM(LEFT(A1,FIND("-",A1)-1)) Hope this helps! In article .com, "Steve Douglas P2p, MCP" wrote: Hi all, I have a cell (lets say A1) which has a vaule of "NW060D-Q1." i would like cell a2 to strip the value of a1 to the "-" so A2 value = "NW060D" Grateful if anyone can suggest a formula or solutin for this. Regards Steve |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Not sure what function to use?
Try this on a2
=MID(A1,1,FIND("-",A1,1)-1) -- If this posting was helpful, please click on the Yes button. Regards, Michael Arch. "Steve Douglas P2p, MCP" wrote: Hi all, I have a cell (lets say A1) which has a vaule of "NW060D-Q1." i would like cell a2 to strip the value of a1 to the "-" so A2 value = "NW060D" Grateful if anyone can suggest a formula or solutin for this. Regards Steve |
#4
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Not sure what function to use?
=REPLACE(A1,FIND("-",A1),99,"")
"Steve Douglas P2p, MCP" wrote: Hi all, I have a cell (lets say A1) which has a vaule of "NW060D-Q1." i would like cell a2 to strip the value of a1 to the "-" so A2 value = "NW060D" Grateful if anyone can suggest a formula or solutin for this. Regards Steve |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
copy of excel file not showing formulal/function in the function b | Excel Discussion (Misc queries) | |||
LINKEDRANGE function - a complement to the PULL function (for getting values from a closed workbook) | Excel Worksheet Functions | |||
Offset function with nested match function not finding host ss. | Excel Worksheet Functions | |||
Emulate Index/Match combo function w/ VBA custom function | Excel Worksheet Functions | |||
Nested IF Function, Date Comparing, and NetworkDays Function | Excel Worksheet Functions |