+ Reply to Thread
Results 1 to 10 of 10

Apply Data Validation on Sum Values

  1. #1
    Forum Contributor
    Join Date
    07-09-2013
    Location
    Nagpur, India
    MS-Off Ver
    Excel 2010 / 2013
    Posts
    293

    Apply Data Validation on Sum Values

    Hi,

    I wants to apply Data validation on cells (which already containing sum formulas) .

    The error message has to appear if the sum values i.e. column I, goes below 0.

    Please refer the attachment.


    Thanks in advance.
    Attached Files Attached Files
    Last edited by abhinavbinkar; 05-30-2015 at 04:00 AM.

  2. #2
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,937

    Re: Apply Data Validation on Sum Values

    Select F2:I2 and use below formula in Custom (Data validation)
    =$E2-SUM($F2:$H2)>=0

    See the attached file
    Attached Files Attached Files
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  3. #3
    Forum Contributor
    Join Date
    07-09-2013
    Location
    Nagpur, India
    MS-Off Ver
    Excel 2010 / 2013
    Posts
    293

    Re: Apply Data Validation on Sum Values

    Thanks Siva for the help..

    But the data validation is working only in Row no. 2 to 7.
    From row no. 8 no error is appearing if the sum value goes below 0.

    Do I need to apply data validation in every single row and one at a time as the validation formula changes every row.

    Please help.

    - Abhinav Binkar

  4. #4
    Forum Contributor
    Join Date
    07-09-2013
    Location
    Nagpur, India
    MS-Off Ver
    Excel 2010 / 2013
    Posts
    293

    Re: Apply Data Validation on Sum Values

    Thanks Siva for the help..

    But the data validation is working only in Row no. 2 to row no. 7.
    From row no. 8 no error is appearing if the sum value goes below 0.

    Do I need to apply data validation in every single row and One at a time as the validation formula changes every row.

    Please help.

    - Abhinav Binkar

  5. #5
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,937

    Re: Apply Data Validation on Sum Values

    Copy F2:H2 and paste in the selected range.

  6. #6
    Forum Contributor
    Join Date
    07-09-2013
    Location
    Nagpur, India
    MS-Off Ver
    Excel 2010 / 2013
    Posts
    293

    Re: Apply Data Validation on Sum Values

    sorry but it is not working.

    Can you please edit and upload the corrected file.

    Please help Siva sir.

    - Abhinav Binkar

  7. #7
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,937

    Re: Apply Data Validation on Sum Values

    see the attached file
    Attached Files Attached Files

  8. #8
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,740

    Re: Apply Data Validation on Sum Values

    On the sample file row 8 does not go below zero. if you make F8=7 then I8=-2 and is highlighted in red.

    For most of data columns F,G and H are empty (0) so all the results in I are positive or 0 (Zero).

  9. #9
    Forum Contributor
    Join Date
    07-09-2013
    Location
    Nagpur, India
    MS-Off Ver
    Excel 2010 / 2013
    Posts
    293

    Re: Apply Data Validation on Sum Values

    Done... Thank you so much Siva Sir...

  10. #10
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,937

    Re: Apply Data Validation on Sum Values

    you r welcome and thanks for your 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. [SOLVED] Data Validation custom formula - how to apply?
    By D_N_L in forum Excel General
    Replies: 3
    Last Post: 07-01-2014, 08:41 AM
  2. [SOLVED] Apply data validation in Userform
    By IKZOUHETNIETWETEN in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-28-2013, 03:03 PM
  3. Apply data validation to the whole column
    By zarab in forum Excel General
    Replies: 10
    Last Post: 09-29-2013, 09:05 AM
  4. How can i apply the validation on the cell with invalid data.
    By Shinya Koizumi in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-02-2006, 04:55 PM
  5. data validation-How do I apply the list and <> both to the cells?
    By Meliisa in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-02-2005, 11:06 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