+ Reply to Thread
Results 1 to 9 of 9

If Then/And Formula to Show Dock Usage Visually

  1. #1
    Registered User
    Join Date
    07-14-2023
    Location
    Buffalo, NY
    MS-Off Ver
    365
    Posts
    5

    If Then/And Formula to Show Dock Usage Visually

    Looking at what the best way to build out a formula that will carry over to another sheet to show a visual representation of my dock availability is based on the table of data in the first sheet.

    Sheet 1 will be the master data file that will continuously be updated as trailers check-in/out throughout the week.

    Sheet 2 will be the visual representation that shows that a trailer is being used at a specific dock door.

    In my mind, the first step would need to disregard any load(line) that has a status of "unloaded" as this would be the indicator that this trailer is no longer on site.
    Second step would to look at the status column in look for the status of "Storage" or "WIP"
    Third Step would need to identify what dock door # is being used to transpose to the correct visual dock door on Sheet 2.

    On the visual dock diagram, I want to have text carry over from the data table in sheet 1 so I can tell what door is being occupied, what commodity, trailer # and the date of arrival. (I have this currently typed in for a visual representation for the "end-goal") then have a conditional formula that will format the "dock" (cells) that have text with Live Highlight Green, text with Drop Highlight Orange and the cells that do not have text turn Red.
    Attached Files Attached Files

  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: If Then/And Formula to Show Dock Usage Visually

    A starter:

    Please Login or Register  to view this content.
    Easy to add colour coding. Results in Row 3.

    Question: can a dock have more than occupant at any one time/date?
    Attached Files Attached Files
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

  3. #3
    Registered User
    Join Date
    07-14-2023
    Location
    Buffalo, NY
    MS-Off Ver
    365
    Posts
    5

    Re: If Then/And Formula to Show Dock Usage Visually

    Negative dock will only ever have one occupant.

  4. #4
    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: If Then/And Formula to Show Dock Usage Visually

    So there will only be ONE output line ?

  5. #5
    Registered User
    Join Date
    07-14-2023
    Location
    Buffalo, NY
    MS-Off Ver
    365
    Posts
    5

    Re: If Then/And Formula to Show Dock Usage Visually

    Correct, only 1 output per dock. Once the load is completed, the status will be updated in the data table to "unloaded" which then should indicate that the dock is available for use.

  6. #6
    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: If Then/And Formula to Show Dock Usage Visually

    Please Login or Register  to view this content.
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    07-14-2023
    Location
    Buffalo, NY
    MS-Off Ver
    365
    Posts
    5

    Re: If Then/And Formula to Show Dock Usage Visually

    Great, thank you.

    A few questions as I play around with this.
    1) Is their a way to auto-run the Macro. For Example, when I add a load or turn a load to "unloaded" can that reflect more "real-time" on the Dock Visual Sheet. Currently I have to click View Macros, then Run; for the data to transfer over
    2) When a load is marked as Unloaded, it will stay on the visual chart unless I delete the data from that cell or have a new load that is added to the Data Log Table to replace it.
    3) If I needed to add more docks or change the names, do I need to change the code in the Macro?

  8. #8
    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: If Then/And Formula to Show Dock Usage Visually

    Please Login or Register  to view this content.
    Added "run" button and allowed for changes to headings.
    Attached Files Attached Files
    Last edited by JohnTopley; 07-17-2023 at 12:47 PM.

  9. #9
    Registered User
    Join Date
    07-14-2023
    Location
    Buffalo, NY
    MS-Off Ver
    365
    Posts
    5

    Re: If Then/And Formula to Show Dock Usage Visually

    Thanks again!

    I greatly appreciate your work!

+ 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] Correct usage of On Error Resume Next to show msgbox
    By mutzie in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-20-2019, 09:36 PM
  2. Formula to exclude a cell from being calculated, but still appear visually.
    By EdwinK_92 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-06-2015, 11:38 AM
  3. [SOLVED] Dock the Toolbox window?
    By Harribone in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-29-2015, 03:21 PM
  4. [SOLVED] Dock the windows in VBA
    By DixonPeer in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-18-2015, 10:48 PM
  5. [SOLVED] Visually show a SHEET'S Protected or Unprotected status.
    By DeanExcel in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-13-2015, 10:11 AM
  6. dock project explorer
    By pandale in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-20-2015, 10:34 AM
  7. Dock a custom toolbar
    By Spencer Hutton in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-12-2005, 11:06 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