I have the following formula:
=IF($B2="Lorenzo",(XLOOKUP($E2,[Status.xlsx]Lorenzo!$C:$C,[Status.xlsx]Lorenzo!E:E,"No new date")),IF($B2="Marta",(XLOOKUP($E2,[Status.xlsx]Marta!$C:$C,[Status.xlsx]Marta!E:E,"No new date")),IF($B2="Richard",(XLOOKUP($E2,[Status.xlsx]Richard!$C:$C,[Status.xlsx]Richard!E:E,"No new date")),IF($B2="Katia",(XLOOKUP($E2,[Status.xlsx]Katia!$C:$C,[Status.xlsx]Katia!E:E,"No new date")),IF($B2="Joe Mack",(XLOOKUP(E2,[Status.xlsx]Joe!$C:$C,[Status.xlsx]Joe!E:E,"No new date")), IF($B2="Armand",(XLOOKUP($E2,[Status.xlsx]Armand!$C:$C,[Status.xlsx]Armand!E:E,"No new date")), IF($B2="Ravi",(XLOOKUP($E2,[Status.xlsx]Ravi!$C:$C,[Status.xlsx]Ravi!E:E,"No new date")), "N/A")))))))
Everything works fine except for a couple of rows. Excel is showing those as a 0 rather than a blank cell, so instead of giving me "No new date" as the output, it gives me a 1/0/1900. The format of the column is short date. If I change it to general, it shows a 0. How can I fix this?
Any help would be appreciated. Thanks.
=IF($B2="Lorenzo",(XLOOKUP($E2,[Status.xlsx]Lorenzo!$C:$C,[Status.xlsx]Lorenzo!E:E,"No new date")),IF($B2="Marta",(XLOOKUP($E2,[Status.xlsx]Marta!$C:$C,[Status.xlsx]Marta!E:E,"No new date")),IF($B2="Richard",(XLOOKUP($E2,[Status.xlsx]Richard!$C:$C,[Status.xlsx]Richard!E:E,"No new date")),IF($B2="Katia",(XLOOKUP($E2,[Status.xlsx]Katia!$C:$C,[Status.xlsx]Katia!E:E,"No new date")),IF($B2="Joe Mack",(XLOOKUP(E2,[Status.xlsx]Joe!$C:$C,[Status.xlsx]Joe!E:E,"No new date")), IF($B2="Armand",(XLOOKUP($E2,[Status.xlsx]Armand!$C:$C,[Status.xlsx]Armand!E:E,"No new date")), IF($B2="Ravi",(XLOOKUP($E2,[Status.xlsx]Ravi!$C:$C,[Status.xlsx]Ravi!E:E,"No new date")), "N/A")))))))
Everything works fine except for a couple of rows. Excel is showing those as a 0 rather than a blank cell, so instead of giving me "No new date" as the output, it gives me a 1/0/1900. The format of the column is short date. If I change it to general, it shows a 0. How can I fix this?
Any help would be appreciated. Thanks.