Hiding 0's and not formulas.

fishcakes

New Member
Joined
Jun 20, 2016
Messages
23
Office Version
  1. 365
Platform
  1. Windows
I have antoher worksheet that feeds (Mapped/formulas) into the below worksheet. Is there a way that I can hide the below numbers/values untill the 1st worksheet/cells are populated?


1705594314797.png
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
Are they all coming from formulas?

If so, and you have a formula like:
Excel Formula:
=Sheet1!A1
you can update your formulas to:
Excel Formula:
=IF(Sheet1!A1="","",Sheet1!A1)

Or you could use Custom Formatting or Conditional Formatting to hide the zeroes.
Just note if you do that, and it is trying to pull a legit zero value from the other sheet, it will hide that too.
So the formula option may be preferrable.
 
Upvote 0
Yes, most of the formulas are what you had described, I tried it and it works, excellent, thank you.

But there are still some formulas like the following..

=IF(O8=Dropdown!AR84,Dropdown!AU84)

That show FALSE

1705595626668.png


=VLOOKUP('Global Setup Form'!T8,'Global Dropdown'!A:B,2,FALSE)
That show #N/A

1705595751958.png
 
Upvote 0
I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’).

With this formula,
Excel Formula:
=IF(O8=Dropdown!AR84,Dropdown!AU84)
an IF formula has three arguments:
Rich (BB code):
=IF(condition to check, what to return if condition true, what to return if condition false)

You left off the third argument (what to return if condition is false). If you do that, and the condition is FALSE, it will return the word FALSE (because you haven't told it otherwise).
Change it to this:
Excel Formula:
=IF(O8=Dropdown!AR84,Dropdown!AU84,"")

If you are using Excel 2010 or newer, you can use the IFERROR function around your VLOOKUP, i.e.
Excel Formula:
=IFERROR(VLOOKUP('Global Setup Form'!T8,'Global Dropdown'!A:B,2,FALSE),"")
 
Upvote 0
Solution
You are welcome.
Glad I was able to help!
 
Upvote 0

Forum statistics

Threads
1,215,250
Messages
6,123,887
Members
449,130
Latest member
lolasmith

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