+ Reply to Thread
Results 1 to 6 of 6

Formula to clear out cells with in a spread sheet if certain input entered.

  1. #1
    Forum Contributor
    Join Date
    03-10-2009
    Location
    chicago illinois
    MS-Off Ver
    Excel 2010
    Posts
    127

    Formula to clear out cells with in a spread sheet if certain input entered.

    Hello. On the attached spread sheet here is what I am trying to do. In B2 I will either enter D (digital label) or F (Flexo label). With that than if a D is entered nothing else will happen with in spread sheet but if F is entered D23:Q40 will need to be cleared out and blank. Can someone help with a formula to achieve this?
    Last edited by sp1974; 06-23-2009 at 12:16 PM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: IF Formula

    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.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Forum Contributor
    Join Date
    03-10-2009
    Location
    chicago illinois
    MS-Off Ver
    Excel 2010
    Posts
    127

    Re: Formula to clear out cells with in a spread sheet if certain input entered.

    Is that title good?

  4. #4
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Formula to clear out cells with in a spread sheet if certain input entered.

    You can either have VBA code looking at B2 and clearing D23:Q30 if B2 is "F" or you can modify your equations in D23:Q30 with an OR statement like this in D23 for example
    Please Login or Register  to view this content.
    Does that work for you?
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  5. #5
    Forum Contributor
    Join Date
    03-10-2009
    Location
    chicago illinois
    MS-Off Ver
    Excel 2010
    Posts
    127

    Re: Formula to clear out cells with in a spread sheet if certain input entered.

    I will try to edit each formula what portion would I need to add to each of the different formulas I have. Just the =IF(OR(D$18="",B2="F") at the beginning?

  6. #6
    Forum Contributor
    Join Date
    03-10-2009
    Location
    chicago illinois
    MS-Off Ver
    Excel 2010
    Posts
    127

    Re: Formula to clear out cells with in a spread sheet if certain input entered.

    It worked thank you

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Bookmarks

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