Hello v-2ajpau,
Excel doesn't have builtin left and right shift operators. You woul
need to construct a User Defined Funtion (UDF) in VBA . If you have
computer science background (I assume you do or you wouldn't post thi
question) you know what is involved in the binary math. I suspect i
you search the web you find someone who has written the routine
already.
Sincerely,
Leith Ros