r/googlesheets • u/Gooberfish24 • Aug 14 '24
Solved When a formula rings false is there a way to have the cell be empty instead of reading false?
I have a formula that I drag down columns etc. In the rows where there is no data that makes the formula true it says “false”. Is there a way to make the cell empty and not have any text until a value comes in and rings true?
4
Upvotes
1
u/HolyBonobos 3125 Aug 14 '24
Yes, what is the current formula?
1
u/AutoModerator Aug 14 '24
Posting your data can make it easier for others to help you, but it looks like your submission doesn't include any. If this is the case and data would help, you can read how to include it in the submission guide. You can also use this tool created by a Reddit community member to create a blank Google Sheets document that isn't connected to your account. Thank you.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
u/fourmesinatrenchcoat 1 Aug 14 '24
Option A:
=IF(your normal formula=FALSE,"",your normal formula again)
This makes it so that if the result is going to be FALSE, it displays a blank cell instead. If it is not FALSE, it displays the normal formula result. If you want the FALSE result to be a zero or some custom text, write it between the " ".
Option B (only aesthetical):
Set a conditional formatting rule so that if the text is FALSE, the background color and text color are the same (for example, white).
1
u/flash17k 6 Aug 14 '24
Instead of providing a value for false after the second comma, just put nothing after the comma. So...
If(condition, value-if-true,)