+ Reply to Thread
Results 1 to 7 of 7

Look down table and add Jobs to rows on calendar (in status priority)

  1. #1
    Registered User
    Join Date
    01-15-2017
    Location
    LONDON, ENGLAND
    MS-Off Ver
    Excel Mac 2011 14.6.6
    Posts
    55

    Look down table and add Jobs to rows on calendar (in status priority)

    Hi,

    I have a problem that is way beyond me. I'm actually stuck at the very start of my list of things I need to do, and things need to eventually get a lot more complicated. I'd appreciate help with even the first bit but I'll spell the whole thing out in case anyone that likes a challenge can figure that out.

    (see attached file)

    I have 2 columns of dates (D & E) which represent bookings (start and end dates). I need these bookings to appear in the appropriate cells on a calendar.

    The formula in the cells on the calendar looks at the 2 columns and returns the description column (F) on the calendar.
    I've got as far as a formula that looks at the top row only (D13 & E13) and returns the description (F13)

    Please Login or Register  to view this content.
    The first problem I have is to turn this into a formula that looks down the whole list and returns F for each set of dates on the table - so that all DESCRIPTIONS (F) from the list get placed at the appropriate dates on the calendar.

    So that's problem 1, and I would massively appreciate any help even just with that part.


    ...Where things start getting complicated is that when dates of jobs overlap, I need the overlapping dates of the booking to be bumped onto a lower line of the calendar. (But only the overlapping dates). So if I have 2 jobs on 25th - 26th January, the booking further down the list gets listed on a lower row of the calendar.

    Another complication is that I have a STATUS column in the table, which needs to give CONFIRMED jobs a higher priority on the calendar than PENCIL jobs. So if 2 jobs overlap, the CONFIRMED job appears on the higher calendar line, and any PENCIL jobs appear on a line below in the order that they appear on the table. CANCELLED jobs do not appear on the calendar.

    Lots of respect and appreciation to anybody that takes the time to attempt to figure this out.

    Thanks in advance
    Attached Files Attached Files

  2. #2
    Forum Expert leelnich's Avatar
    Join Date
    03-20-2017
    Location
    Delaware, USA
    MS-Off Ver
    Office 2016
    Posts
    2,807

    Re: Look down table and add Jobs to rows on calendar (in status priority)

    Hi leovfx- The following ARRAY FORMULA prioritizes your calendar entries by status. Paste in B4, copy across and down.
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    *After pasting an ARRAY FORMULA in the Formula Bar, you must press CTRL+SHIFT+ENTER (all at once) to confirm entry. Then use the DRAG HANDLE to fill in the rest of your range.

    Please click the Add Reputation star below any helpful posts, and if you have your answer, mark your thread as SOLVED (Thread Tools up top). Thanks!-Lee
    Attached Files Attached Files
    Last edited by leelnich; 06-13-2017 at 10:35 AM.

  3. #3
    Forum Expert leelnich's Avatar
    Join Date
    03-20-2017
    Location
    Delaware, USA
    MS-Off Ver
    Office 2016
    Posts
    2,807

    Re: Look down table and add Jobs to rows on calendar (in status priority)

    Here's an improved version that uses Dynamic Named Ranges in the formula. This allows for expansion and contraction of your Work Order list. Just select the cells where your list will go. Include EXTRA ROWS for growth. Click Name Manager on the Formula ribbon. Click New and type in Work_Orders. Then define the remaining names and Refers To: formulas shown below:

    Untitled.png

    The ARRAY FORMULA with names substituted for ranges. Paste in B2 and press CTRL+SHIFT+ENTER:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by leelnich; 06-13-2017 at 11:16 AM.

  4. #4
    Registered User
    Join Date
    01-15-2017
    Location
    LONDON, ENGLAND
    MS-Off Ver
    Excel Mac 2011 14.6.6
    Posts
    55

    Re: Look down table and add Jobs to rows on calendar (in status priority)

    OK. Thanks so much. You've totally blown my mind.


    It all seems to work except for one thing.

    Jobs that are confirmed need to have priority over pencils even if the confirmed jobs are further down the list.

    In the attached example, The JFG RR job should move to the top line as it is confirmed. Currently this only seems to happen if it is also higher in the list.


    I think that the IF functions needs reprioritising so that the first condition is the STATUS, but I'm having trouble reordering it.
    Attached Files Attached Files

  5. #5
    Forum Expert leelnich's Avatar
    Join Date
    03-20-2017
    Location
    Delaware, USA
    MS-Off Ver
    Office 2016
    Posts
    2,807

    Re: Look down table and add Jobs to rows on calendar (in status priority)

    OK, try this ARRAY FORMULA in B4, copied across and down: (Don't forget, CTRL+SHIFT+ENTER to confirm entry.)
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    This is pretty brute force, I'm looking for a pared-down version.
    Attached Files Attached Files
    Last edited by leelnich; 06-13-2017 at 05:28 PM.

  6. #6
    Registered User
    Join Date
    01-15-2017
    Location
    LONDON, ENGLAND
    MS-Off Ver
    Excel Mac 2011 14.6.6
    Posts
    55

    Re: Look down table and add Jobs to rows on calendar (in status priority)

    AMAZING!

    Thank you so much.

  7. #7
    Forum Expert leelnich's Avatar
    Join Date
    03-20-2017
    Location
    Delaware, USA
    MS-Off Ver
    Office 2016
    Posts
    2,807

    Re: Look down table and add Jobs to rows on calendar (in status priority)

    Happy to help, thanks for the rep! If your original request is fulfilled, please got to Thread Tools up top and mark your thread as SOLVED.
    If you have further requests for this worksheet, please start a new thread, and include a link to this one. -Lee

    Please click the Add Reputation star below any helpful posts, and if you have your answer, mark your thread as SOLVED (Thread Tools up top). Thanks!-Lee
    Last edited by leelnich; 06-13-2017 at 05:42 PM.

+ 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. Excel ordering rows by priority
    By pabloxls in forum Excel General
    Replies: 5
    Last Post: 01-07-2015, 07:17 PM
  2. Replies: 3
    Last Post: 09-11-2014, 04:32 PM
  3. [SOLVED] Delete the Rows If it is Blank cell below Table header "Status"
    By eltonlaw in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-19-2012, 05:55 AM
  4. Replies: 4
    Last Post: 04-08-2012, 09:43 PM
  5. Projecting Jobs due calendar
    By Mark Anderson in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-14-2008, 05:07 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