+ Reply to Thread
Results 1 to 4 of 4

Dynamically Turned Off Utilities for New House Construction - Based on Distance & Schedule

  1. #1
    Registered User
    Join Date
    02-10-2019
    Location
    Denvor, CO
    MS-Off Ver
    64-bit
    Posts
    17

    Dynamically Turned Off Utilities for New House Construction - Based on Distance & Schedule

    Hi:

    I am attempting to solve a problem in the attached excel example file to dynamically turned off a water schedule to Old Houses based on when New Houses are being built. However I only want to turn off the set water schedule if the Old House is ALSO within "X" of less miles from the New House being built.

    I have made an attempt at the formula, but I keep getting the wrong result. I have created a "Hard Coded" example of intended outputs (yellow boxes). The formulas in the "yellow boxes" are not meant to be dynamic and do not consider all variables, they simple get the intended answer and I try to show how to get to the answer. My dataset will end up being 300 Old Houses by 300 New Houses, but I have only included 3 Old Houses and 3 New Houses in this simplified example.

    Just to recap: I am trying to make a dynamic formula which gives the "New Water Schedule" based on shutting in each "Old House" water line schedule but only during the times of the New House construction AND only if the Old House is within "X" (Cell C2) or less miles away from any New House under construction.

    I have given the following as inputs (blue font cells):

    1. Matrix of each Old House to each New House distance in miles

    2. Time-frame of New House Construction ((1=New House is under construction (Shut off Old House waterlines during this timeframe and if less than or equal to "X" (Cell C2) miles from ANY New House under construction), 0=No construction planned during this time (Keep normal Water Schedule))

    3. Normal Planned Water Schedule to Old Houses in Gallons (without any shut-ins due to construction)

    My desired Outputs:

    Updated Water Schedule which "shuts-off" when New Houses are under construction AND the Old House is "X" (Cell C2) or Less Miles away from the New House being built

    I appreciate the time to look into this for me and let me know if I can clarify anything.

  2. #2
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: Dynamically Turned Off Utilities for New House Construction - Based on Distance & Sche

    Hi

    Try this array formula in C35:H37
    You must select C35:H37, type the formula (paste the copied formula) and use Ctrl+Shift+Enter

    Formula: copy to clipboard
    Please Login or Register  to view this content.



    See the file

  3. #3
    Registered User
    Join Date
    02-10-2019
    Location
    Denvor, CO
    MS-Off Ver
    64-bit
    Posts
    17

    Re: Dynamically Turned Off Utilities for New House Construction - Based on Distance & Sche

    Thank you Jose, this is very helpful and works perfectly. Very much appreciated

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,780

    Re: Dynamically Turned Off Utilities for New House Construction - Based on Distance & Sche

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

+ 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. Noob here- best approach to extract personal schedule based on an employee schedule sheet,
    By fortnight_skyrim in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 04-15-2018, 01:02 AM
  2. Row turned color based on text in other cell
    By ajaypal.sp in forum Excel General
    Replies: 2
    Last Post: 10-08-2015, 08:20 PM
  3. [SOLVED] Google Distance Matrix API - Distance and Time
    By rtcwlomax in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-18-2014, 08:42 PM
  4. Updating a Schedule based on a master schedule
    By Lukerich in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-21-2013, 12:18 PM
  5. match, sum based on max. freight based on furthest distance formula.
    By simpson in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 11-30-2012, 02:01 PM
  6. Construction Schedule or Gannt Chart
    By lorber123 in forum Excel General
    Replies: 3
    Last Post: 11-23-2012, 04:35 PM
  7. Replies: 8
    Last Post: 10-12-2005, 12:05 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