+ Reply to Thread
Results 1 to 4 of 4

Data Validation. Enter any value in a range of Cells as long as total doesnt exceeds 100%

  1. #1
    Registered User
    Join Date
    06-03-2013
    Location
    Riyadh
    MS-Off Ver
    Office 365 Subscription
    Posts
    47

    Question Data Validation. Enter any value in a range of Cells as long as total doesnt exceeds 100%

    I have 15 rows with different headings like

    A1
    A2
    A3
    A4
    A5

    A6 Total 100%

    I want to add any percentage from zero to 100 as long as total in A6 doesn't exceeds 100%.

  2. #2
    Forum Expert
    Join Date
    04-22-2013
    Location
    .
    MS-Off Ver
    .
    Posts
    4,418

    Re: Data Validation. Enter any value in a range of Cells as long as total doesnt exceeds 1

    =IF(A6<=100,sum(A1:A5),"")
    or
    =IF(A6<=1,sum(A1:A5),"")
    dependant on how your percentages are stored.

  3. #3
    Registered User
    Join Date
    11-10-2013
    Location
    Phnom Penh
    MS-Off Ver
    Excel 2013
    Posts
    11

    Re: Data Validation. Enter any value in a range of Cells as long as total doesnt exceeds 1

    Select all cells under head of A1 to A5 => go to validation and then choose custom => key in below formula:
    =SUM($B$3:$F$3)<=1

    Then you will able to input every thing untill A6 is more than 100%
    Check my attached file for example.
    Book1.xlsx

    Please consider to give me some like on star near "Add reputation".
    Last edited by shcon; 11-11-2013 at 11:16 AM.

  4. #4
    Registered User
    Join Date
    06-03-2013
    Location
    Riyadh
    MS-Off Ver
    Office 365 Subscription
    Posts
    47

    Re: Data Validation. Enter any value in a range of Cells as long as total doesnt exceeds 1

    Thanks Guys. I will try it now and come back with feedback.

+ 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. Display a message when a Cell value exceeds 75% of the total allowed expenditure
    By chamdan in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 04-15-2011, 12:38 AM
  2. How do I total selected data from a range of cells?
    By johnlovesbeer in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 11-30-2009, 11:35 AM
  3. sort doesnt work with Range of cells
    By xfusr in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-20-2007, 02:39 PM
  4. [SOLVED] insert entire row for new data, external data range doesnt work
    By orlya1 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-03-2006, 03:45 PM
  5. [SOLVED] Data Validation (in a range of cells)
    By Andrew Lindsay via OfficeKB.com in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-26-2005, 05:15 PM

Tags for this Thread

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