Hi all...
I have excel file in one column like this:
data,date
i need to replace (,) with new column..like this :
column1 =data column2= , and column 3=date
Thanks for help
Hi all...
I have excel file in one column like this:
data,date
i need to replace (,) with new column..like this :
column1 =data column2= , and column 3=date
Thanks for help
Maybe this:
Please Login or Register to view this content.
Can i sent you PM zbor...sorry i'm really new with excel....i need step bye step if you dont mind?
You can send me PM but it's better to ask here. With more questions you make - more people will provide you good answer
this is workbook
synoyms.xls
Does formula I wrote you up work for you (I did only copy paste now)?
Here is explanation of formulas:
1) =LEFT(A1, FIND(",", A1&",")-1)
LEFT function take LEFT part of the word. LEFT(text,num_chars)
How many num_chars? Answer: up to first , that appear
That's why you need FIND(",", A1&",")-1
FIND(",", A1)-1 would also work but it will return you error if no , in the word.
That's why FIND(",", A1&",")-1 is added. To ensure that , will apear.
(if there is more then one it will take first)
2) =IF(ISERR(FIND(",", A1)), "", ",")
Easier way to get , in this column would be to just write it.
,
just as that.
However, what if there is no , character in your word?
Just yell instead of yell,scream
Then you'll get an error.
So we will test:
IF
is it error when finding , in word in A1
- if yes then return blank cell ("")
- if no (no error, means there is a , in cell) return ,
3) now when we take yell and , from yell,scream we need to take last word.
=IF(C1=",", MID(A1, FIND(",", A1)+1, 100), "")
If there is , in C1 (and that would be for all words that has , like yell,scream)
Find where , start
Take 100 characters from that point forward
and that's the result.
If there is no , in C1 leave blank cell
Last edited by zbor; 02-27-2011 at 04:13 PM.
TQ....will try this....
slight variation, but depends on the comma always being there
Windows 7 using Office 2007 & 2010
Remember your [ code ] [ /code ] tags, makes reading soooo much easier
workbook.xls
Anyone can teach me how to write the formula?
TQ
Hi actroidf
At this stage I would strongly recommend you to go for a course for excel basics. You can then use the forums for further advancement.
regards
johnjohns
When you are not sure where to go, every road takes you there!
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks