Hello, I need to convert cell text to "80R-" plus cell content if part of such cell as the letter "R" and convert to "75FS-" if part of cell contains letter "F".
Ej
332R5 I need to convert to 80R-332R5
301FS8 I need to convert to 75FS-301FS8
Hello, I need to convert cell text to "80R-" plus cell content if part of such cell as the letter "R" and convert to "75FS-" if part of cell contains letter "F".
Ej
332R5 I need to convert to 80R-332R5
301FS8 I need to convert to 75FS-301FS8
Try this. If neither R nor F is found, it doesn't change the value.
Formula:Please Login or Register to view this content.
This can be in any column. If you need to change the actual cells instead of showing another cell with the result, then you will need VBA.
Partially Solved! Thanks!
What is the part is not solved?
A =IF(ISNUMBER(FIND("R",A1)),"80R-"&A1,ISNUMBER(FIND("F",A1)),"75FS-"&A1,A1))
B =IF(ISNUMBER(FIND("R",K42)),"80R-"&K42)
I was able to run part "B".
OK what happens if you use formula A? Please provide some sample data, and show what result you want.
Jeff, did you need to add a second if to it like this...
=IF(ISNUMBER(FIND("R",A2)),"80R-"&A2,IF(ISNUMBER(FIND("F",A2)),"75FS-"&A2,A2))
Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
Sam Capricci
Right on, that worked like a charm! thanks guys!!
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks