+ Reply to Thread
Results 1 to 4 of 4

Timeline with only 2 values

  1. #1
    Registered User
    Join Date
    08-06-2021
    Location
    Brighton
    MS-Off Ver
    2019
    Posts
    2

    Timeline with only 2 values

    Hello community,

    This is my first post here so please don't be too harsh

    I'd like to create a timeline that show me somehow when status was online or offline.

    This could simply be a line going from left to right(time) that would be let's say green when online and red when offline.

    Something like this:
    Screenshot_1.png

    I have 2 columns of data:

    1 Date
    2 Status with only two possible values: online/offline

    Looks like this:

    Date Status
    01/08/2021 online
    02/08/2021 offline
    03/08/2021 offline
    04/08/2021 offline


    Do you have any ideas how I could do that?

    Thank you in advance for the help.
    Attached Files Attached Files
    Last edited by coffee221; 08-06-2021 at 08:19 AM.

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,705

    Re: Timeline with only 2 values

    See the attached file, where I have used this formula in D5:

    =IFERROR(INDEX(Table8[Date],COLUMNS($D:D)),"")

    and a custom format of d/mm, then copied it across to give the dates from the table, and then used this formula in D6:

    =IFERROR(IF(INDEX(Table8[Status],COLUMNS($D:D))="online","Y","N"),"")

    also copied across. The formula returns Y or N for online or offline, but then I have applied custom formatting to turn the cell and font green for Y and red for N.

    Hope this helps.

    Pete
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    08-06-2021
    Location
    Brighton
    MS-Off Ver
    2019
    Posts
    2

    Re: Timeline with only 2 values

    Hi Pete,

    This helps, many thanks!

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,705

    Re: Timeline with only 2 values

    You're welcome.

    If that takes care of your original question, please take a moment to select Thread Tools from the menu above and to the right of your first post in this thread, and mark the thread as SOLVED.

    Also, since you are new to the forum, you might like to know that you can directly thank those who have helped you by clicking on the small "star" icon located in the lower left corner of a post that you have found to be helpful (not just in this thread - for any post that has helped you). This also adds to the reputation of the poster (the small green bars in the poster's profile).

    Pete

+ 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] Timeline help!
    By Sunshack in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 06-18-2021, 01:48 AM
  2. Timeline Help
    By Jake_1 in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 04-16-2020, 11:42 AM
  3. Cashflow Modeling: Looking up multiple values over a non-linear timeline
    By nkoglin in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-02-2019, 01:10 PM
  4. Multiple questions about Excel project timeline, % formulas, refresh timeline
    By Please Help in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-27-2016, 07:13 PM
  5. Color a timeline based on start and end values in two cells
    By Schmoranz in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-08-2014, 09:23 AM
  6. Replies: 3
    Last Post: 07-29-2013, 06:28 AM
  7. Timeline
    By aftabn10 in forum Excel General
    Replies: 3
    Last Post: 06-16-2008, 09:53 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