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

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

Tuesday, December 6, 2016

remove spaces in foldernames in linux

find -name "* *" -type d | rename 's/ /_/g' 

Wednesday, October 12, 2016

Opening a html table in excel

just use open with- and select Excel. As simple as that!

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 :)