简体   繁体   中英

Excel Lookup Returning Date Values

I have two sheets in my excel file: main and gender .

The formula I use in main is =LOOKUP(E2,gender:A2:B3) which is lookup array .

But I've tried with 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 . When I change 0 and 1 in gender sheet to other text values, they come up in main sheet.

How can I solve this problem? Thank You.

Select F column in the main tab and set its cell format to General or Number.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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