Jyggalag

Active Member
Joined
Mar 8, 2021
Messages
445
Office Version
  1. 365
  2. 2019
Platform
  1. Windows
Hi all,

I have this formula:

1654674671667.png


It pulls in data from here:

1654674693629.png


However,

despite this column being completely empty, it returns the value 0, rather than a blank cell as I have commanded it to.

I have checked the cells in column H and there are nothing there, not even a space, so i do not understand why it will not return a blank value??

please help :) Thank you!
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
A reference to a blank cell will be returned as 0. Assuming that the contents would be text, you can simply append "" to the result of your INDEX function to prevent that.
 
Upvote 0
A reference to a blank cell will be returned as 0. Assuming that the contents would be text, you can simply append "" to the result of your INDEX function to prevent that.
Thank you Rory!

How do I do that?

My current formula is:

=IF($B3="","",IFERROR(INDEX(INDIRECT("'"&$E3&"'!$H$3:$H$75"),MATCH(1, (INDIRECT("'"&$E3&"'!$A$3:$A$75")=$B3)*(INDIRECT("'"&$E3&"'!$C$3:$C$75")=$E3),0)),""))

But not sure where to put "" ?

I already have it at the end, but obviously that is not working unfortuantely
 
Upvote 0
Like this:

=IF($B3="","",IFERROR(INDEX(INDIRECT("'"&$E3&"'!$H$3:$H$75"),MATCH(1, (INDIRECT("'"&$E3&"'!$A$3:$A$75")=$B3)*(INDIRECT("'"&$E3&"'!$C$3:$C$75")=$E3),0))&"",""))
 
Upvote 0
Solution
Like this:

=IF($B3="","",IFERROR(INDEX(INDIRECT("'"&$E3&"'!$H$3:$H$75"),MATCH(1, (INDIRECT("'"&$E3&"'!$A$3:$A$75")=$B3)*(INDIRECT("'"&$E3&"'!$C$3:$C$75")=$E3),0))&"",""))
It worked! Amazing!

Thank you so much Rory!! Once again :)
 
Upvote 0

Forum statistics

Threads
1,223,884
Messages
6,175,177
Members
452,615
Latest member
bogeys2birdies

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top