Tuesday, October 27, 2015

Excel get 5 digit number from a string in a cell

Excel get 5 digit number from a string in a cell. 
It might be a postcode or whatever you can think of a 5 digit or any digit number.


=LOOKUP(2,1/(MMULT(0+(ISNUMBER(-MID(" "&H95,ROW(INDIRECT("1:"&LEN(H95)))+{0,1,2,3,4,5,6},1))+0={0,1,1,1,1,1,0}),{1;1;1;1;1;1;1})=7),MID(H95,ROW(INDIRECT("1:"&LEN(H95))),5))

Centos 7 reset root/ any user lost password / lockout due to cant remember password

1. Need to be in front of the terminal. (Physically if not vm). 2. Reboot the server 3. Press 'e' in the GRUB2 boot screen. 3. bunch...