+ Reply to Thread
Results 1 to 4 of 4

Disabling user input in column after Sum X is reached

  1. #1
    Registered User
    Join Date
    03-11-2016
    Location
    USA
    MS-Off Ver
    Office 365
    Posts
    2

    Disabling user input in column after Sum X is reached

    My thread title may not be helpful; it's the best description I can concoct. I have attached my .xlsx file.

    I am creating a polling sheet in which a user is allotted 70 "points" to distribute as desired among one or more candidates. He will type these "points" into cells in column B.

    I wish to limit input within that column to a total of 70, preventing the user from assigning more than that.

    What do I need to do?
    Attached Files Attached Files
    Last edited by bmc2112; 03-14-2016 at 12:28 AM.

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Disabling user input in column after Sum X is reached

    Change your Data validation to:

    Allow: Custom
    Source: =AND(B4>=0, B4<=70, SUM($B$4:$B$14)<=70)
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    03-11-2016
    Location
    USA
    MS-Off Ver
    Office 365
    Posts
    2

    Re: Disabling user input in column after Sum X is reached

    Ahh, yes, that's it. Thanks very much for the quick assist.

  4. #4
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Disabling user input in column after Sum X is reached

    As it appears you've reached a conclusion, I've marked this thread SOLVED for you.
    FYI, this is done through the Thread Tools located above the first post in this thread. Thanks.

+ 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. Populate a Column from a User Input Area
    By CDEG in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-04-2015, 05:40 PM
  2. User Input value to the cell where the column and row intersects
    By jtn260 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-06-2014, 01:57 AM
  3. [SOLVED] User input to go to next blank cell in column
    By MileHiMark in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-12-2013, 09:08 PM
  4. Using text box input to lookup number and replace based on user input into new column
    By harl3y412 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-28-2011, 03:15 PM
  5. Limit user input to make column add to 100%
    By smalls in forum Excel General
    Replies: 5
    Last Post: 06-09-2011, 02:22 PM
  6. Ignoring next column from user input form
    By up_and_under in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-29-2010, 01:38 AM
  7. User Input to set last column in range to copy
    By Zimbo in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 04-15-2009, 04:00 AM

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