找到最大的二进制数 [英] Finding the largest binary number

查看:118
本文介绍了找到最大的二进制数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一些二进制数的数据,在几个单元格范围内,从A2到A8,从B2到B8,依此类推,直到G列。现在,我想检查上面行中最大的二进制数,并将其粘贴到单元格中,最后一个使用范围下方两行。 (即,来自行A的最大二进制数将在A10中粘贴,等等)。我找不到任何可以找到二进制数值的函数,而我运行的代码会将最大数量视为自然数。我们将不胜感激。谢谢!



我尝试了什么:



我无法'找到任何合适的代码。

I have a data of some binary numbers in few range of cells, from A2 to A8, B2 to B8, and so on, till G column. Now, I want to check the largest binary number from the above Rows and paste it to the cell, two row below the last used range. (i.e., Largest binary number from Row A to be paste in A10, and so on). I am not finding any function which can find the value of binary numbers, and the code which I ran finds out the max number considering those as natural numbers. Your help will be appreciated. Thank You!

What I have tried:

I couldn't find any appropriate code for that.

推荐答案

Quote:

10010 10011 10111 10110

1010 10111 10010 10011

11111 11110 10110 11100

11001 11110 10111 111

10010 10011 10111 10110
1010 10111 10010 10011
11111 11110 10110 11100
11001 11110 10111 111



如果你有:


If you have:

A2= 10010
B2= 10011
C2= 10111
D2= 10110
A3= 1010
B3= 10111
C3= 10010
D3= 10011
A4= 11111
B5= 11110
C5= 10110
D5= 11100
A6= 11001
B6= 11110
C6= 10111
D6= 111



然后 = MAX(A2:D6)可以解决这个问题。


如果您选择一个单元格,那么



跟贝娄一样

= MAX(10010,10011,10111,10110)
If you take in a single cell then

Do like bellow
=MAX(10010,10011,10111,10110)


这篇关于找到最大的二进制数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆