Forum Discussion

cheeseontoast101's avatar
cheeseontoast101
Copper Contributor
Jul 12, 2022

If statement to remove zeros help

Hi

 

I'm trying to write an if statement to remove any zeros that display when the cell in the other linked work book is blank. The cell in the other workbook with be filled with text not numbers or dates, however.

 

Here is my statement so far but it's returning a value error

=IF('[workbook1.xlsx]sheet1'!A1,'[workbook1.xlsx]sheet1'!A1,"")

 

How can I fix this?

  • Lorenzo's avatar
    Lorenzo
    Silver Contributor

    Hi cheeseontoast101 

     

    If The cell in the other workbook with be filled with text not numbers or dates:

    =IF(ISBLANK([workbook1.xlsx]Sheet1!A1), "", [workbook1.xlsx]Sheet1!A1)

     

     

Share

Resources