+ Reply to Thread
Results 1 to 4 of 4

How to allow a specific group of value can be input?

  1. #1
    Registered User
    Join Date
    03-03-2012
    Location
    HK
    MS-Off Ver
    Excel 2003
    Posts
    2

    Question How to allow a specific group of value can be input?

    Hi all,

    I would like to ask how to allow a specific group of value can be input, otherwise the value in the cell turned red.

    For example,
    Cell A1 allow the group value 100-150 and 180-220, otherwise turn that value into red color.

    It's okay to input 101, 149, 192, 201; but 99, 174, 152 will turn red

    Cheers
    Edward

  2. #2
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: How to allow a specific group of value can be input?

    Hello,

    you can use conditional formatting for that. Select A1, then click Format > Conditional Formatting and specify that you want to use a formula. Then enter this one:

    =or(and($A$1>=100,$A$1<=150),and($A$1>=180,$A$1<=220))

    Select a format and close the dialogs

    cheers,

  3. #3
    Registered User
    Join Date
    03-03-2012
    Location
    HK
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: How to allow a specific group of value can be input?

    Thank you so much! It works :D

  4. #4
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: How to allow a specific group of value can be input?

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save

+ 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