+ Reply to Thread
Results 1 to 9 of 9

Data validation?

  1. #1
    Registered User
    Join Date
    10-06-2010
    Location
    Cavite, Philippines
    MS-Off Ver
    Excel 2003
    Posts
    5

    Data validation?

    Hi Guys,

    I have a question regarding the below scenario:

    I have a worksheet with 0's and 1's as data, then the date as header. If the input is 0, it will display FAILED on the remarks, otherwise, PASSED. Just like on the data shown below.

    Ex: 06-Mar-10 Remarks
    1 PASSED
    0 FAILED
    0 FAILED
    1 PASSED


    The user can only input 0 or 1. I already do that using the data validation. But the problem is, if im going to change the date (06-Mar-10), the user will not be able to input any data on it's column (0 or 1).

    I hope you can help me on this.

    Thank you.

  2. #2
    Forum Contributor Charlie_Howell's Avatar
    Join Date
    09-27-2010
    Location
    Memphis, TN
    MS-Off Ver
    Excel 2007
    Posts
    218

    Re: Data validation?

    Is this what you're looking for?
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    10-06-2010
    Location
    Cavite, Philippines
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Data validation?

    Thanks sir for your reply but on you attached file im not going to use drop down. If I'm going to change the date, i will not be able to input/change anything on the column.

  4. #4
    Forum Contributor Charlie_Howell's Avatar
    Join Date
    09-27-2010
    Location
    Memphis, TN
    MS-Off Ver
    Excel 2007
    Posts
    218

    Re: Data validation?

    I guess I don't understand...can you upload your sheet?
    Last edited by Charlie_Howell; 10-06-2010 at 01:26 AM.

  5. #5
    Registered User
    Join Date
    10-06-2010
    Location
    Cavite, Philippines
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Data validation?

    here's the attachment sir
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    10-05-2010
    Location
    S.A
    MS-Off Ver
    Excel 2007
    Posts
    99

    Re: Data validation?

    you can protect the date cells, so that the user can't change the date in it
    attached the file
    try to change the date, system will not accept
    hopefully this will solve your problem
    thank you
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    10-06-2010
    Location
    Cavite, Philippines
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Data validation?

    The condition is that it will still allow the user to change the date. But still, if the date changed, the user will not input anything on the column

  8. #8
    Forum Contributor Charlie_Howell's Avatar
    Join Date
    09-27-2010
    Location
    Memphis, TN
    MS-Off Ver
    Excel 2007
    Posts
    218

    Re: Data validation?

    Sub Macro1()

    Selection.Locked = False
    Selection.FormulaHidden = False
    Application.Goto Reference:="Area_1"
    Selection.Locked = True
    Selection.FormulaHidden = False
    ActiveSheet.Protect DrawingObjects:=True, Contents:=True, Scenarios:=True
    ActiveSheet.EnableSelection = xlUnlockedCells
    End Sub
    Last edited by Charlie_Howell; 10-06-2010 at 02:20 AM.

  9. #9
    Registered User
    Join Date
    10-06-2010
    Location
    Cavite, Philippines
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Data validation?

    is there any solution aside from using macro?

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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