简体   繁体   English

Excel 查找返回日期值

[英]Excel Lookup Returning Date Values

I have two sheets in my excel file: main and gender .我的 excel 文件中有两张纸: maingender

The formula I use in main is =LOOKUP(E2,gender:A2:B3) which is lookup array .我在 main 中使用的公式是=LOOKUP(E2,gender:A2:B3) ,它是lookup array

But I've tried with lookup vector =LOOKUP(E2,gender:A2,A3:gender!B2:B3) .但我已经尝试使用lookup vector =LOOKUP(E2,gender:A2,A3:gender!B2:B3)

The problem is I'm getting the date values as you can see in main .问题是我正在获取日期值,正如您在main中看到的那样。 When I change 0 and 1 in gender sheet to other text values, they come up in main sheet.当我将性别表中的 0 和 1 更改为其他文本值时,它们会出现在主表中。

How can I solve this problem?我怎么解决这个问题? Thank You.谢谢你。

Select F column in the main tab and set its cell format to General or Number. Select 主选项卡中的 F 列,并将其单元格格式设置为常规或数字。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM