在MS Excel 2011中获取指定单元格的名称


Answers:


0

名1分配给A1名称2分配到B7NAME3分配到C11,式:

=MIN(Name1,Name2,Name3)

返回最小值:

在此输入图像描述

以下UDF()

Public Function WhereIs(v As Variant, r1 As Range, r2 As Range, r3 As Range)
   If v = r1.Value Then WhereIs = r1.Name.Name
   If v = r2.Value Then WhereIs = r2.Name.Name
   If v = r3.Value Then WhereIs = r3.Name.Name
End Function

将返回包含该最小值的单元格的名称:

在此输入图像描述

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.