+ Reply to Thread
Results 1 to 10 of 10

Gantt Type Chart - with multiple items same line

  1. #1
    Registered User
    Join Date
    03-24-2017
    Location
    Auchterarder, Scotland
    MS-Off Ver
    Microsoft 365
    Posts
    78

    Gantt Type Chart - with multiple items same line

    Hi All,

    I am attempting to display hire dates for some items - but I need to include mobilisation / demobilisation durations on the same line - and to display almost as a Gantt Chart.

    I have attached an example of how I would like the finished sheet to look (kind of - I will make it look prettier), but manually entered the values and colours that I would like automated when I enter the dates in the appropriate columns.

    I have searched through online templates and cannot find one which provides this functionality. Does anyone know where I could find such a template, or what formula I could enter in the chart area to give the result I am looking for?

    Thanks in advance, Elliot.
    Attached Files Attached Files

  2. #2
    Forum Expert Keebellah's Avatar
    Join Date
    01-12-2014
    Location
    The Netherlands
    MS-Off Ver
    Office 2021 (Windows)
    Posts
    7,937

    Re: Gantt Type Chart - with multiple items same line

    Hi, I don't think it's that difficult, just some brain tickling and logic will probably get it done.
    I think I understand what you want the yellow is the start and demob the other is the actual period.
    Don't hold your breath, I'll play around with it later this evening so maybe someone else picks it up too, but I'll update as soon as I have something for you
    ---
    Hans
    "IT" Always crosses your path!
    May the (vba) code be with you... if it isn't; start debugging!
    If you like my answer, Click the * below to say thank-you

  3. #3
    Registered User
    Join Date
    03-24-2017
    Location
    Auchterarder, Scotland
    MS-Off Ver
    Microsoft 365
    Posts
    78

    Re: Gantt Type Chart - with multiple items same line

    Hi Keebellah,

    Thank You for your response.

    Yes, the dates from mobilisation start up to the first hire date - I want those cells one colour. And again, the day after the last hire date to the demobilisation end.
    I am happy to have an additional column(s) where I can enter the mob / demob durations if that helps?

    I hope this makes sense!

  4. #4
    Forum Expert Keebellah's Avatar
    Join Date
    01-12-2014
    Location
    The Netherlands
    MS-Off Ver
    Office 2021 (Windows)
    Posts
    7,937

    Re: Gantt Type Chart - with multiple items same line

    It makes sense, I’ll see what I can do for you after dinner

  5. #5
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP, 2007, 2024
    Posts
    16,373

    Re: Gantt Type Chart - with multiple items same line

    If I understand, it looks like it should be two conditional format rules (if you are uncertain how to set up conditional formats: https://www.excel-easy.com/data-****...ormatting.html ):

    1) If between mobilisation start and demobilisation end, color cell bright yellow =AND($D6<=H$5,H$5<=$G6)
    2) If between hire start and hire end, color cell dark yellow. =AND($E6<=H$5,H$5<=$F6)
    3) A formula in the cells would return 1 if between hire start and hire end and null string if anything else. =IF(AND($E6<=H$5,H$5<=$F6),1,"")
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  6. #6
    Forum Expert Keebellah's Avatar
    Join Date
    01-12-2014
    Location
    The Netherlands
    MS-Off Ver
    Office 2021 (Windows)
    Posts
    7,937

    Re: Gantt Type Chart - with multiple items same line

    This is with three conditional format rules and no formula in the worksheet, just based upon the entered dates
    Attached Files Attached Files

  7. #7
    Forum Expert Keebellah's Avatar
    Join Date
    01-12-2014
    Location
    The Netherlands
    MS-Off Ver
    Office 2021 (Windows)
    Posts
    7,937

    Re: Gantt Type Chart - with multiple items same line

    Good morning Elliot,
    I've played around with your file and made a slight modification.
    Just enter the starting date in the row with the month and the rest is updated so it's dynamic
    Now you can enter any schedule in the rows, the last row covered by the conditional format in columns H-AL is row 30
    When you enter the four days the Gantt chart 'moves' according to the dates in the top row.
    In the sample I added something starting somewhere in October and ending in November
    No extra formulas just conditional formatting all you have to change if you need more rows is edit the conditional format for the block H6-AL30 and change the 30 to a higher or lower number of rows as needed
    Attached Images Attached Images
    Attached Files Attached Files
    Last edited by Keebellah; 10-27-2021 at 04:31 AM.

  8. #8
    Registered User
    Join Date
    03-24-2017
    Location
    Auchterarder, Scotland
    MS-Off Ver
    Microsoft 365
    Posts
    78

    Re: Gantt Type Chart - with multiple items same line

    Thank You both @MrShorty and @Keebellah for your help, appreciated. I have created something useful.

  9. #9
    Forum Expert Keebellah's Avatar
    Join Date
    01-12-2014
    Location
    The Netherlands
    MS-Off Ver
    Office 2021 (Windows)
    Posts
    7,937

    Re: Gantt Type Chart - with multiple items same line

    Happy coding

  10. #10
    Forum Expert Keebellah's Avatar
    Join Date
    01-12-2014
    Location
    The Netherlands
    MS-Off Ver
    Office 2021 (Windows)
    Posts
    7,937

    Re: Gantt Type Chart - with multiple items same line

    Just for fun
    I added a formula in H5 that always starts on a Monday 2 weeks prior to the current date, The slider above increments that date with 7 days up to 6 weeks
    Attached Files Attached Files

+ 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. How To Create Gantt Type Interval Chart?
    By jcowan35 in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 11-13-2018, 06:58 PM
  2. Vertical line in Gantt Chart
    By bandosan in forum Excel Charting & Pivots
    Replies: 11
    Last Post: 07-25-2017, 06:57 AM
  3. [SOLVED] Gantt type chart using start & end dates with conditional formatting
    By 1953CAG in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 06-03-2016, 06:06 AM
  4. Gantt-type chart with quarterly marks on the date axis
    By trf111 in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 05-23-2014, 10:01 AM
  5. [SOLVED] Gantt type chart with dynamic ranges
    By BRISBANEBOB in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 01-08-2014, 05:01 PM
  6. Replies: 5
    Last Post: 05-20-2011, 10:00 AM
  7. Adding a line Chart Type to a stacked-clustered Chart Type
    By Debbie in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 01-05-2005, 08:06 PM

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