# "Clear contents" function for a cell? (SOLVED)

1. ## "Clear contents" function for a cell? (SOLVED)

Hello,

I'm trying to set up a basic formula to clear out unwanted cells. Basically, if the cell is not equal a number, I'd like it to be cleared of any information. I would rather not use a space, because I have text that is overlapping between cells and would like it to be legible.

Here's the basic formula:

=if(A1>0, A1, ???)

Any help would be great. Thanks!

2. ## Re: Help with formula (Clear Contents?)

Your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution. Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.
To change a Title on your post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.

3. ## Re: "Clear contents" function for a cell?

I am not sure if you can simply clear all the content, however you may want to try:

=if(A1>0, A1, "")

This doesn't clear the content, however it makes it so that there is a blank in the cell. This could be what you meant by have a "space," but it's not a space it is just a blank answer.

hope this helps.

4. ## Re: "Clear contents" function for a cell?

Are you asking for the contents of A1 to be cleared or the cell where the formula is written?

There are currently 1 users browsing this thread. (0 members and 1 guests)

#### Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1