+ Reply to Thread
Results 1 to 8 of 8

Verifying data by putting True or False

  1. #1
    Registered User
    Join Date
    05-21-2012
    Location
    Philippines
    MS-Off Ver
    Excel 2010
    Posts
    71

    Verifying data by putting True or False

    Hi everyone..

    Can anyone help me with my problem..

    What I would like to happen is True should appear on the Verification column if the data in Att_time is true and if the data is not true, False will appear.

    Att_time is the total number of hours worked by an employee based on their clock in and clock out.

    Thank you in advance for helping.

    Attach is the sample sheet. samplesheet.xlsx

  2. #2
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Verifying data by putting True or False

    Hi blueswan

    I'm only guessing your requirements...try this in Cell G3 copied down
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    John

    If you have issues with Code I've provided, I appreciate your feedback.

    In the event Code provided resolves your issue, please mark your Thread as SOLVED.

    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

  3. #3
    Registered User
    Join Date
    05-21-2012
    Location
    Philippines
    MS-Off Ver
    Excel 2010
    Posts
    71

    Re: Verifying data by putting True or False

    It doesn't work based on the requirements I've given.

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,047

    Re: Verifying data by putting True or False

    Quote Originally Posted by blueswan View Post
    It doesn't work based on the requirements I've given.
    That doesnt exactly help too much Perhaps your requirements where not explained to clearly?

    try this, copied down...
    =IF(F4=1-D4+E4,TRUE,FALSE)

    or justthis...
    =F4=1-D4+E4
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  5. #5
    Registered User
    Join Date
    05-21-2012
    Location
    Philippines
    MS-Off Ver
    Excel 2010
    Posts
    71

    Re: Verifying data by putting True or False

    Quote Originally Posted by FDibbins View Post
    That doesnt exactly help too much Perhaps your requirements where not explained to clearly?

    try this, copied down...
    =IF(F4=1-D4+E4,TRUE,FALSE)

    or justthis...
    =F4=1-D4+E4
    Hi.. True or False appears.. but the problem is.. even if the data in the Att_time column is true, false is the one appearing..

  6. #6
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,047

    Re: Verifying data by putting True or False

    Can you tell me where it is not performing as expected?

    D
    E
    F
    G
    1
    Clock In Clock Out ATT_Time Verification
    2
    3
    4
    18:44 06:37 11:53
    TRUE
    5
    19:28 06:42 11:13
    FALSE
    6
    19:39 06:30 10:50
    FALSE
    7
    20:54 06:18 09:23
    FALSE
    8
    19:48 06:23 10:34
    FALSE
    9
    #VALUE!
    10
    #VALUE!
    11
    20:40 06:37 09:56
    FALSE
    12
    21:07 06:42 09:35
    FALSE
    13
    19:26 06:30 11:03
    FALSE
    14
    21:10 06:18 09:08
    FALSE
    15
    15:23 06:23 15:00
    TRUE

  7. #7
    Registered User
    Join Date
    05-21-2012
    Location
    Philippines
    MS-Off Ver
    Excel 2010
    Posts
    71

    Re: Verifying data by putting True or False

    Quote Originally Posted by FDibbins View Post
    Can you tell me where it is not performing as expected?

    D
    E
    F
    G
    1
    Clock In Clock Out ATT_Time Verification
    2
    3
    4
    18:44 06:37 11:53
    TRUE
    5
    19:28 06:42 11:13
    FALSE
    6
    19:39 06:30 10:50
    FALSE
    7
    20:54 06:18 09:23
    FALSE
    8
    19:48 06:23 10:34
    FALSE
    9
    #VALUE!
    10
    #VALUE!
    11
    20:40 06:37 09:56
    FALSE
    12
    21:07 06:42 09:35
    FALSE
    13
    19:26 06:30 11:03
    FALSE
    14
    21:10 06:18 09:08
    FALSE
    15
    15:23 06:23 15:00
    TRUE
    Thanks.. Would it be possible if I add another column beside Att_time, Double Checking Column.

    And in the double checking column, the total number of hours worked based on the clock in and clock out will be computed.

    Then the data from the Att_time and Double checking column will be compared by putting true or false in the Verification column.

    True if the data for both columns are the same. If there is a slight difference of 00:01, still true.

    False if the difference is 00:02 and greater.

    Would that be possible? Thanks for helping.

  8. #8
    Registered User
    Join Date
    05-21-2012
    Location
    Philippines
    MS-Off Ver
    Excel 2010
    Posts
    71

    Re: Verifying data by putting True or False

    11.jpg

    Attach is the sample screenshot.

+ 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] in this TRUE OR FALSE function, i want desired name instead of display true or false
    By vengatvj in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-15-2013, 06:44 PM
  2. Changing True/False Data depending on another cells value
    By mtrant in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-21-2008, 03:56 PM
  3. function help-keeping data from true when false
    By jay d in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 05-19-2006, 08:44 AM
  4. [SOLVED] Function to return True/False if all are validated as True by ISNU
    By Tetsuya Oguma in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-15-2006, 06:30 AM
  5. Displaying data based on a TRUE/FALSE value in a cell
    By static69 in forum Excel General
    Replies: 3
    Last Post: 06-01-2005, 02:09 AM

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