关于在相同的UID 对于不同username 的check (EXCEL vlookup)

In IBM GPFS file system of finacle, one shared file's owner can be considered different because the different user_name corresponded the same UID.

For example:

In Server A:
UID User_name
101 XiaoZhang

In Server B:
UID User_name
101 XiaoWang

In Server C:
UID User_name
101 XiaoLi

So if the file is uploaded by user XiaoZhang from Server A,
from Server B, the file owner is considered as XiaoWang,
from Server C, the file owner is considered as XiaoLi,
because the file's owner's UID is same (101), which is only considered by the server.

Follow Action:

In order to find out how many user and which is used for the GPFS file system:
I conduct the Microsoft Excel to list the IDs:

In the Excel, two function can be used: IF and Vlookup

1: " IF function" is used to check under the condition and reply with the defination message:

IF Function:
IF( logical_test,[value_if_true],[value_if_false])

example:
A     B
101 shanghai
102 suzhou
103 beijing


=IF(A2=101,"this value is correct","this value is not correct")

Reply message:
"this valueis correct"

2: " Vlookup function" is used to look for the detincation value and return to the detination index colume.

Vlookup Function:
vlookup(lookup_value,table_array,col_index_num,[rang_lookup])

example:

Sheet1:
A     B
101 shanghai
102 suzhou
103 beijing


Sheet2:
A     B
101 shanghai
102 tianjing
103 beijing

In sheet1, use vlookup to perform:

=VLOOKUP(A2,Sheet2!A2:B5,2,0)

3: conbime the IF function and vlookup function:

=IF(B2=VLOOKUP(A2,Sheet2!A2:B5,2,0),"same","different")

4: list the result:
same
different
same

Above result is expected, success.

You can try to enjoy your testing.
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

shenghuiping2001

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值