+ Reply to Thread
Results 1 to 10 of 10

Data validation with respect to data in other column

  1. #1
    Forum Contributor
    Join Date
    02-15-2012
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2019
    Posts
    431

    Data validation with respect to data in other column

    Hi,

    Need data validation logic / formula as per the excel sheet attached.

    Pl. help.

    Regards,
    Nagesh.
    Attached Files Attached Files

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Data validation with respect to data in other column

    Without a UDF or VBA then

    With the following formula in a helper column - say Q2 copied down

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    The Data validation formula in P2 is

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,587

    Re: Data validation with respect to data in other column

    Formula for DV in P2:P8 (no helper column)
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Pl note
    Array formula should be confirmed with Ctrl+Shift+Enter keys together.
    If answere is satisfactory press * to add reputation.

  4. #4
    Forum Contributor
    Join Date
    02-15-2012
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2019
    Posts
    431

    Re: Data validation with respect to data in other column

    Thanks a lot @Srinivasa Murthy it's working well.
    Thanks Richard Buttrey.

  5. #5
    Forum Contributor
    Join Date
    02-15-2012
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2019
    Posts
    431

    Re: Data validation with respect to data in other column

    Noticed an issue.

    If the data entered (Bill Qty.) in two different rows, it is accepting more than the required qty.

    ex: If the Req. Qty. is 6 and if the data entered 3 in one row and 4 in one row, it is accepting.

    Pl. help to fix this.

    Thanks,
    Nagesh.

  6. #6
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Data validation with respect to data in other column

    Please clarify and upload a workbook pointing out where the problem occurs so that we can understand the point you're making

  7. #7
    Forum Contributor
    Join Date
    02-15-2012
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2019
    Posts
    431

    Re: Data validation with respect to data in other column

    Hi Richard Buttrey,

    Thanks for the response.

    An excel attached with necessary details.

    Pl. help.

    Regards,
    Nagesh.
    Attached Files Attached Files

  8. #8
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,063

    Re: Data validation with respect to data in other column

    This formula will check ONLY the pat number (not job no, or build or Ph). do any of those need to be included? If so, which ones?

    =SUMIFS($P:$P,$N:$N,N2)<=SUMIFS($F:$F,$A:$A,O2,$E:$E,N2)
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  9. #9
    Forum Contributor
    Join Date
    02-15-2012
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2019
    Posts
    431

    Re: Data validation with respect to data in other column

    Hi Glenn,

    Seems this is working well. Will in different ways and will let you know if i stuck anywhere.

    Thank you very much.

    Nagesh.

  10. #10
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,063

    Re: Data validation with respect to data in other column

    You're welcome.



    If that takes care of your original question, please select "Thread Tools" from the menu link above and mark this thread as SOLVED.

    It'd also be appreciated if you were to click the Add Reputation button at the foot of any of the posts of all members who helped you reach a solution.

+ 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 positioning with respect to date and name
    By nab92002 in forum Excel General
    Replies: 13
    Last Post: 04-12-2019, 09:55 AM
  2. How to group data with respect to time
    By abdul khader in forum Excel General
    Replies: 3
    Last Post: 10-03-2018, 08:44 AM
  3. Replies: 4
    Last Post: 05-18-2017, 04:27 AM
  4. data validation - source all data in column and sort alphabetically
    By deanusa in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 09-19-2016, 05:39 PM
  5. Excel data entry form - how to make it respect data validation?
    By SueJB in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-08-2012, 02:32 AM
  6. Replies: 3
    Last Post: 02-29-2012, 02:41 PM
  7. Loading Column Data with blank Rows into Data Validation Box
    By ExcelMonkey in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-13-2005, 02:05 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