sed 's/$/<characters>/' filname
...this is a log of code snippets and useful tips I wrote/found. Should you find any mistakes or have any useful suggestions, please do not hesitate to write to me.
Wednesday, March 8, 2017
Monday, February 6, 2017
Most frequently occuring data in a row
=INDEX(B2:D2,MODE(MATCH(B2:D2,B2:D2,0)))
can be used for example to count votes
can be used for example to count votes
Splitting a colum into multiple columns Excel
=INDIRECT("Sheet1!R" & (ROW()-1)*3+1 & "C1", FALSE)
Say you have a long oclumn of data. You want to split it into 3 columns such that, every third element goes into each column. for example youd data is: AAABBBCCCDDDEEEFFFGGGHHH
you want to split into 3 columns : ABCDEFGH, ABCDEFGH, ABCDEFGH. use the above formula
Say you have a long oclumn of data. You want to split it into 3 columns such that, every third element goes into each column. for example youd data is: AAABBBCCCDDDEEEFFFGGGHHH
you want to split into 3 columns : ABCDEFGH, ABCDEFGH, ABCDEFGH. use the above formula
Tuesday, December 6, 2016
Wednesday, October 12, 2016
Friday, June 5, 2015
Wednesday, April 8, 2015
the command 'sl'
do you know about the command sl in unix? I ran into it when I typed it by mistake instead of 'ls'try it out and try not to get run over by the train :)
Subscribe to:
Posts (Atom)