Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5935967
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T15:19:51+00:00 2026-05-22T15:19:51+00:00

I have three columns of excel data I want to graph: name, a time

  • 0

I have three columns of excel data I want to graph: name, a time value, and a Boolean (TRUE or FALSE). Essentially I want time on the X axis, and the counts or frequency of TRUEs and FALSEs on the Y axis.

Wat is the best way to do this, and which graph type would best represent this data?

I have around 900 data points.

Would a stacked area chart might be the best way to show the frequency of T v. F over time?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T15:19:53+00:00Added an answer on May 22, 2026 at 3:19 pm

    Your existing data is arranged in what is called a ‘time-history’ format, where you have discrete data points taken at specific times.

    How you are wanting to display your data is called ‘time-at-level’. This type of display is used to display the number of times that an event occurred that fell between a specific defined range for that event. Normally this would be used on a dataset that has a varying value over time. Your case is a little bit unique in that the varying values over time are actually ‘time’.

    So to answer one of your questions, yes a stacked area graph would be a decent way to show your results, or a grouped column chart would work as well.

    In order to change your time-history data into time-at-level data you will need to crunch through your data, probably in a vba macro. If your time data points occurred at regular intervals, you could just break up the data into regular groups in Excel and used the COUNTIF function on each of the groups.

    In your case you will need to loop through each line of data, determine if it is true or false, and increment a counter for the correct bin.

    If you know the number of bins you want to break your time data into, the bin size can be calculated:

    Binsize = (Largest time value – Smallest time value) / number of bins

    Then you can set up an array or list that contains the maximum time value that can occur in each bin:

    Bin 1: maxvalue = Binsize
    Bin 2: maxvalue = Binsize * 2
    .
    .
    Bin n: maxvalue = Binsize * n

    Actually, you will need 2 arrays/lists. One for true values, one for false values.

    At this point you can loop through each row of your data. You examine the time value and determine which bin it belongs in, then see if it corresponds to TRUE or FALSE, and increment the appropriate counter associated with that bin.

    You will then have a count of all TRUEs and all FALSEs that occured in regularly spaced intervals, and you can redisplay your data in a time-at-level format and chart it however you want.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have data stored in three columns of Excel Column A: Serial Number Column
I have three columns, y, m, and d (year, month, and day) and want
I have an excel file that contain columns of data, my target is to
I have an Excel spreadsheet with a table of data in it. The columns
I have an excel sheet with data similar to the following Reg_id Name Product_Owned
I have a three columns Excel file,which has the following pattern 12 A P1
I have three columns in mysql table: tax_id, company_name, store_name. I need that tax_id
i have three columns for Date In, Date Out, Total Days. If in Date
Consider i have a user table and I have three columns mobilePhone , homePhone
I am creating window c# desktop application I have three columns in my datagridview

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.