IFERROR, INDEX, MATCH returning zeros instead of blanks

前端 未结 2 1992
北荒
北荒 2021-02-06 02:50

I am using the following formula:

=IFERROR(INDEX(\'Cleaned Post\'!W:W,MATCH(Combined!$C2,\'Cleaned Post\'!$C:$C,0)),\" \")

This formula is work

相关标签:
2条回答
  • 2021-02-06 03:15

    What sort of values is your formula returning? If they are text values it's sufficient to concatenate a "null string" to your INDEX/MATCH formula like this:

    =IFERROR(INDEX('Cleaned Post'!W:W,MATCH(Combined!$C2,'Cleaned Post'!$C:$C,0))&"","")
    

    That also works for numbers except it will convert them to text so if you don't want that you can try this version:

    =IFERROR(IF(INDEX('Cleaned Post'!W:W,MATCH(Combined!$C2,'Cleaned Post'!$C:$C,0))="","",INDEX('Cleaned Post'!W:W,MATCH(Combined!$C2,'Cleaned Post'!$C:$C,0))),"")
    
    0 讨论(0)
  • 2021-02-06 03:34

    I realize this is an old post, but... I settled for using conditional formatting.. if the returned value was 0, change the text color to match the background...

    0 讨论(0)
提交回复
热议问题