Results 1 to 9 of 9

Add missing hours and days in the data sheet

Threaded View

  1. #2
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,732

    Re: Add missing hours and days in the data sheet

    Hello mostafa.elnazer and Welcome to Excel Forum.
    In the attached file columns G:I fill in the missing rules, days and times then columns J:L match the temp, dewpt, and RH
    The formula that populates column G is: =IF(ROW()=2,0,MOD(G1+1,24))
    The formula that populates column H is:
    Formula: copy to clipboard
    =IF(ROW()=2,B2,IF(COUNTIFS(H$1:H1,H1)<24,H1,H1+1))

    The formula that populates column I is: =TIME(G2,0,0)
    The formula that populates columns J:L is:
    Formula: copy to clipboard
    =IFERROR(INDEX(D$2:D$605,AGGREGATE(15,6,(ROW($2:$605)-1)/($C$2:$C$605=$I2)/($B$2:$B$605=$H2),1)),"")

    Let us know if you have any questions.
    Attached Files Attached Files
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Compare two columns on separate sheet, if missing, insert missing data
    By lilvictorians in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 04-03-2019, 11:44 PM
  2. How to make an attendance sheet that displays missing days
    By mati20 in forum Excel - New Users/Basics
    Replies: 7
    Last Post: 03-13-2018, 04:16 PM
  3. Replies: 3
    Last Post: 06-30-2017, 01:05 PM
  4. Replies: 2
    Last Post: 07-08-2014, 07:00 PM
  5. Time sheet, sick days to hours
    By kurmee in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 02-23-2014, 10:34 AM
  6. data saved for the last 10 days is missing
    By shakeer1978 in forum Excel General
    Replies: 0
    Last Post: 01-11-2013, 09:31 AM
  7. translate 'days, hours, mins' calculation from sheet to VBA
    By rawtech in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-07-2011, 02:24 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