What is the formula to make cells that auto-fill with a "0" to auto-fill blank instead?

devinberry1997

New Member
Joined
Apr 2, 2024
Messages
14
Office Version
  1. 365
  2. 2021
Platform
  1. Windows
I have a sheet set so that when you populate the cells with totals on one tab, they auto fill in the "G" column on another tab. However, when there are no totals populating the column on the first tab the second tab populates the cells in that "G" column with a zero where I would like it to be blank. Any help would be appreciated!
 

Attachments

  • Screenshot 2024-04-02 143002.png
    Screenshot 2024-04-02 143002.png
    7.4 KB · Views: 4
  • Screenshot 2024-04-02 142932.png
    Screenshot 2024-04-02 142932.png
    12.4 KB · Views: 6

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
What is the current formula in that column?
If G2 is =Sheet1!C2, you could use:
Excel Formula:
=if(Sheet1!C2=0,"",Sheet1!C2)
 
Upvote 0
What is the current formula in that column?
If G2 is =Sheet1!C2, you could use:
Excel Formula:
=if(Sheet1!C2=0,"",Sheet1!C2)
Current formula is: ='Report Sheet'!L8

I'm hoping the second image here gives you a better idea of what I'm trying to do.
 

Attachments

  • Screenshot 2024-04-02 152856.png
    Screenshot 2024-04-02 152856.png
    31.5 KB · Views: 8
  • Screenshot 2024-04-02 152540.png
    Screenshot 2024-04-02 152540.png
    34.8 KB · Views: 8
Upvote 0
In that case, this will do what you want.
Excel Formula:
=if('Report Sheet'!L8=0,"",'Report Sheet'!L8)
 
Upvote 1
Solution
Or you could just set a conditional formatting on the cells to make the font colour white and this will hide them whilst still retaining the zero value.
 
Upvote 0

Forum statistics

Threads
1,215,201
Messages
6,123,621
Members
449,109
Latest member
Sebas8956

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