![]() |
Find a value
Hi, I am using Excel 2002 and I am looking for a certain value in a column that has a dash (-) in it for example AB97896-1. I want to copy only the cell that contains this dash and copy it to another column. I tired using "If(A1="*-*), A1, " ")" in column B1 but I get no results. Any tips will be appreciated. Thank you. |
Find a value
If the number is in A1 then enter this formula in say B1
=IF(ISERROR(FIND("-",A1)),"",IF(FIND("-",A1),A1,"")) Alok "Alex Martinez" wrote: Hi, I am using Excel 2002 and I am looking for a certain value in a column that has a dash (-) in it for example AB97896-1. I want to copy only the cell that contains this dash and copy it to another column. I tired using "If(A1="*-*), A1, " ")" in column B1 but I get no results. Any tips will be appreciated. Thank you. |
Find a value
Thanks Alok for helping me again. Regards "Alok" wrote in message ... If the number is in A1 then enter this formula in say B1 =IF(ISERROR(FIND("-",A1)),"",IF(FIND("-",A1),A1,"")) Alok "Alex Martinez" wrote: Hi, I am using Excel 2002 and I am looking for a certain value in a column that has a dash (-) in it for example AB97896-1. I want to copy only the cell that contains this dash and copy it to another column. I tired using "If(A1="*-*), A1, " ")" in column B1 but I get no results. Any tips will be appreciated. Thank you. |
All times are GMT +1. The time now is 12:02 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com