+ Reply to Thread
Results 1 to 2 of 2

Check if row is valid based on multiple criteria from range...

  1. #1
    Registered User
    Join Date
    04-30-2021
    Location
    Lisbon
    MS-Off Ver
    Office 365
    Posts
    1

    Question Check if row is valid based on multiple criteria from range...

    Hello everyone,

    I used excel a lot but for the last couple of years not so much and it seems I'm a little to dumb for this

    Basically I have raw data from a time management program that when corrections are made new records are created, first the number of hours in the original entry is subtracted, and them a new row is added with the new information.

    So I would get the following output from a single correction:
    ExcelHelp.PNG

    In the example above we see that the first entry in yellow for Name "John Doe" made on the DATE_Time_Writing "3/1/2021" with NUMBER_OF_HOURS of "3.00" had a correction made on the 20th of April (column TIME_STATUS_DATE) were it was subtracted the 3 hours. Them, in the last line in green we see the new record with the 3 hours with the missing information in column "Overtime Details".

    What I need is a helper column like in the example that tell me the rows to keep and to delete... I'm trying a lot of different approaches using arrays and so on but until now with no luck... I know I have to somehow check if the DATE_Time_Writing is the same for the same Name and them check if there was a subtraction made and also... confirm the new corrected entry... but cannot see a possible logic to do this...

    If anyone could help me out with a possible solution or just point me in the right direction it would be wonderful

    Edit: Now with attachment.
    Attached Files Attached Files
    Last edited by JMHenriques; 04-30-2021 at 12:36 PM.

  2. #2
    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
    28,206

    Re: Check if row is valid based on multiple criteria from range...

    Welcome to the forum

    Please attach a sample workbook (not a picture or pasted copy). Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.

+ 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] Check for date in range with multiple criteria
    By ORoos in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-22-2021, 08:36 AM
  2. Replies: 23
    Last Post: 12-17-2020, 04:38 PM
  3. Replies: 4
    Last Post: 09-02-2019, 04:14 PM
  4. Sort and Delete Data Based on Multiple Criteria Using Check Box in Userform
    By Primas in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-04-2016, 01:16 AM
  5. SUM multiple cells based on multiple cell criteria,not a range
    By georgiepod in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 05-01-2015, 01:10 PM
  6. Select multiple criteria based on check box selection and return all unique values.
    By TommyToe in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-21-2013, 09:14 AM
  7. Replies: 6
    Last Post: 11-11-2012, 12:40 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