+ Reply to Thread
Results 1 to 7 of 7

Help - formula whereby entering a value in one cell will block text input in other cells?

  1. #1
    Registered User
    Join Date
    06-16-2020
    Location
    London
    MS-Off Ver
    Whatever the latest one is.
    Posts
    4

    Help - formula whereby entering a value in one cell will block text input in other cells?

    Hello,

    Sorry, I'm a novice!

    I need a formula where, for example, if A1 is greater than 2, then B1, B2 and B3 are all greyed out or blocked from allowing text.

    Is that possible to do?

    Thanks...
    Last edited by zoos; 06-16-2020 at 06:12 AM.

  2. #2
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,466

    Re: IF formula help please?

    Administrative Note:

    Welcome to the forum.

    We would very much like to help you with your query, however the thread title does not really convey what your request is about. Tell us what you are trying to do, not how you think it should be done.

    Please take a moment to amend your thread title. Make sure that the title properly explains your request. Your title should be explicit and not be generic (this includes function names used without an indication of what you are trying to achieve).

    Please see Forum Rule #1 about proper thread titles and adjust accordingly. To edit the thread title, open the original post to edit and then click on Go Advanced (bottom right) to access the area where you can edit your title.
    Quang PT

  3. #3
    Registered User
    Join Date
    06-16-2020
    Location
    London
    MS-Off Ver
    Whatever the latest one is.
    Posts
    4

    Re: Help - formula whereby entering a value in one cell will block text input in other cel

    Hello Bebo021999,

    Thanks for your advice, apologies for the generic title. I have amended it and hope it explains my aim more clearly...

    Cheers.

  4. #4
    Valued Forum Contributor
    Join Date
    02-06-2013
    Location
    Germany
    MS-Off Ver
    365
    Posts
    491

    Re: Help - formula whereby entering a value in one cell will block text input in other cel

    Make conditional formatting: Select cells B1 to B3, type Alt, O, D = Conditional Formatting, New Rule, Formula, and type into the formula field = $A$1>2, select format and change to e.g. gray fill color

    If you want to make it block from allowing text: Select cells B1 to B3, type Alt, D, L = Data Validation, Allow, Custom, Formula type =""

  5. #5
    Registered User
    Join Date
    06-16-2020
    Location
    London
    MS-Off Ver
    Whatever the latest one is.
    Posts
    4

    Re: Help - formula whereby entering a value in one cell will block text input in other cel

    Hi Raul,

    This is great, thank you.

    How can I make it so the formula works for text? For example:

    I want cells B1 to B3 to be gray if A1 says II.

    How could I write the formula to explain this?

    Thank you!

  6. #6
    Valued Forum Contributor
    Join Date
    02-06-2013
    Location
    Germany
    MS-Off Ver
    365
    Posts
    491

    Re: Help - formula whereby entering a value in one cell will block text input in other cel

    =$A$1="II" ? same as before

  7. #7
    Registered User
    Join Date
    06-16-2020
    Location
    London
    MS-Off Ver
    Whatever the latest one is.
    Posts
    4

    Re: Help - formula whereby entering a value in one cell will block text input in other cel

    Thanks! Sovled.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 3
    Last Post: 03-24-2020, 07:27 AM
  2. Replies: 3
    Last Post: 01-10-2019, 09:34 AM
  3. Replies: 5
    Last Post: 02-16-2018, 06:50 AM
  4. Replies: 8
    Last Post: 09-22-2017, 05:41 AM
  5. Excel formula bar to display the result of the formula , not the formula?
    By max_max in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-18-2016, 07:15 PM
  6. Replies: 11
    Last Post: 06-06-2014, 03:34 PM
  7. how to hide formula in formula box, view lookup result in formula box?
    By vengatvj in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-14-2013, 04:06 PM

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