Closed Thread
Results 1 to 2 of 2

Need guidance on how to fill the ON/OFF time according to conditions set?

  1. #1
    Registered User
    Join Date
    02-22-2021
    Location
    Malaysia
    MS-Off Ver
    2010
    Posts
    6

    Exclamation Need guidance on how to fill the ON/OFF time according to conditions set?

    Dear Community,

    I want Excel to automatically help me fill up the table based on the values that I input, for example if I typed 0 on B2 it will print out 0, however there are a few conditions.
    Capture.PNG

    For Example,
    1) Since 12Am is OFF, so the 12:00-12:50am is 0
    Since 1AM & 2AM is ON, so 1:00-2:50am follows Green Cells Values
    Since 3AM is OFF, then 3:00-3:50AM is forced to 0.

    2)Since 12Am is ON, so the 12:00-12:50am follows the Green cells values
    Since 1AM is OFF, so that hour is all OFF
    Since 3-5AM is ON, then 2:00-5:50AM operate on Green Cells Values

    I have attached a few pictures for understanding.
    1.PNG
    2.PNG

    Thank you in advance!

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Ipswich, England
    MS-Off Ver
    MS 365 Business (Win 10 - Work) & MS 365 Subscription Insider (Win 10 - Home)
    Posts
    45,473

    Re: Need guidance on how to fill the ON/OFF time according to conditions set?

    Administrative Note:

    SECOND WARNING!


    Unfortunately, this is a duplicate thread, and you are allowed only ONE thread per issue here.

    Please see Forum Rule #5 about thread duplication.

    I am closing this thread, but you may continue here in the original thread: https://www.excelforum.com/excel-for...onditions.html
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!

    Forum Rules (updated September 2018): please read them here.
    How to use the Power Query code you've been given: help here. More about the Power suite here.
    Don't forget to say "thank you" to those who have helped you in your thread. If you wish, you can also reward them by clicking on their reputation star bottom left.

Closed Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Guidance on how I can automate the ON time where it follows certain conditions.
    By PeterHan123 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-23-2021, 02:27 AM
  2. Fill The Column Match With The Conditions
    By omegaboost in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-27-2019, 11:26 AM
  3. Replies: 1
    Last Post: 11-03-2014, 10:13 AM
  4. Need guidance in evaluating cells and process another XLs to fill drop box list
    By itnchans in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-03-2014, 10:01 AM
  5. [SOLVED] Set row fill color based on conditions.
    By Metrazal in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-09-2014, 05:34 PM
  6. [SOLVED] auto fill ref with given conditions
    By slxia1 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 12-03-2012, 10:43 PM
  7. [SOLVED] Auto fill with conditions using IF/vlookup
    By hellsaint in forum Excel General
    Replies: 1
    Last Post: 08-31-2012, 04:57 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