IFERROR, INDEX, MATCH returning zeros instead of blanks

前端 未结 2 1993
北荒
北荒 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))),"")
    

提交回复
热议问题