+ Reply to Thread
Results 1 to 8 of 8

need some data validation or formula

  1. #1
    Registered User
    Join Date
    04-07-2020
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    9

    need some data validation or formula

    in sheet AB AHAD MIR
    I HAVE A CHECK BOK IN 'D' IF I SELECT "BILL.NO" I SHOULD BE ABLE TO ENTER IN THE DAT 'F' ONLY(i.e under bill amount)
    and it should restrict me to enter in 'G' (i.e the received amount)
    and similarly if i select from the check box in 'D' the "payment.no" option it should restrict me to
    enter the data in in F (i.e bill amount).
    HOPE U UNDERSTOOD
    I WILL BE THANK FULL IF U WILL HELP ME OUT
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    05-10-2012
    Location
    Paris, France
    MS-Off Ver
    2016/365
    Posts
    123

    Lightbulb Re: need some data validation or formula

    Hi Bergi

    Like this

    Use data validation (In French)
    In column F:F
    =MAJUSCULE($D7)="RECP.NO"

    In Column G:G
    =MAJUSCULE($D7)="BILL.NO"
    Attached Files Attached Files
    Last edited by BrianM45; 04-17-2020 at 01:00 PM.

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,455

    Re: need some data validation or formula

    @BrianM45

    Sorry for off-topic interjection:

    Although there is no official rule regarding this behavior, we request that wherever possible both the question AND the answer be provided in substantive detail here within the thread. An attached workbook is an excellent aid for posing a question and offering a solution, but solely doing that with no in thread explanation makes it difficult for researchers to understand or consider the Q & A of this thread without downloading what may be a pointless doc to them, if they can do that at all. Doing that also hides the content from search engines so others may never benefit from this.

    I'm sure you understand, and we look forward to seeing you post your formulas/macros in your posts for the searching benefit of all.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  4. #4
    Forum Contributor
    Join Date
    05-10-2012
    Location
    Paris, France
    MS-Off Ver
    2016/365
    Posts
    123

    Re: need some data validation or formula

    Hi @AliGW,

    Very sorry, but unlike my knowledge, my English language is very poor
    I hope you will also understand

  5. #5
    Registered User
    Join Date
    04-07-2020
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    9

    Re: need some data validation or formula

    Thank you very much Brian
    for ur response i am humbled ,but dear its not still working
    what i want in the work sheet is
    In D when there is "recp.no" F should be restricted ,similarly when D carries "bill.no"
    G should be restricted and the validation should be for entire sheet
    and also
    cant we use a drop down in D with two option , bill.no and Recp.no.

    kindly guide
    thanks and regard
    stay safe
    BERGI....

  6. #6
    Forum Contributor
    Join Date
    05-10-2012
    Location
    Paris, France
    MS-Off Ver
    2016/365
    Posts
    123

    Re: need some data validation or formula

    @Bergi,

    With my workbook, if you select "Recep.no" in D7, you can enter an amount in F7 (BILL AMOUNT) but not in G7 (RECEIVED AMOUNT)
    and inversely if you choose "Bill.no"

    It's not what you wanted ?

    NB : Perhaps the formulas in French are not translated correctly

  7. #7
    Registered User
    Join Date
    04-07-2020
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    9

    Re: need some data validation or formula

    thank you brain i am highly obliged for ur concern its worth more than appreciation
    u have completely understood the trap i am held with
    but dear it should be reversed like
    if i select "recep.no" i should write in (RECEIVED AMOUNT) and block the (bill amount) column
    and when i select the "bill.no" it should allow me to write in (BILL AMOUNT) and block (received amount) column
    and it should apply for the whole sheet.....
    thanks

  8. #8
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,455

    Re: need some data validation or formula

    Quote Originally Posted by BrianM45 View Post
    Hi @AliGW,

    Very sorry, but unlike my knowledge, my English language is very poor
    I hope you will also understand
    Thanks for updating the post. Your English language is perfectly fine in post #6, so you are certainly capable of what I have asked.

+ 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 formula breaks for half of incorrect data
    By ezraNBC in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-17-2020, 02:28 PM
  2. Replies: 7
    Last Post: 02-12-2016, 01:54 PM
  3. Replies: 4
    Last Post: 07-18-2014, 11:48 AM
  4. [SOLVED] How to use INDEX formula in conjunction with Data Validation to output data.
    By Pope_003 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-09-2014, 11:08 AM
  5. [SOLVED] Formula to display data validation results on another sheet based on data chosen?
    By myoung5149 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 10-16-2013, 02:53 PM
  6. Need to shorten Data Validation formula in order to fit into formula field
    By V57strat in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-27-2012, 05:31 PM
  7. [SOLVED] Need Data Validation or Formula to Force Entry of Data in .25 Increments
    By sstravs in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-11-2012, 07:16 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