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

  • Home
  • SEARCH
  • 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 6702611
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T07:04:26+00:00 2026-05-26T07:04:26+00:00

I seldom if ever use excel and have no deep understanding of graphs and

  • 0

I seldom if ever use excel and have no deep understanding of graphs and graphing-related functions. Having said that…

I have dozens of rows of data, composed by 4 columns

  • column 1 = amount/price (in numbers)
  • column 2 = description (the what
    in text)
  • column 3 = category (in text)
  • column 4 = subcategory (in
    text)

I want to make a bar graph of my rows of data so that, the end result looks like this:

X axis – categories
Y axis – amount/price

The trick here is for categories NOT to repeat themselves. For example, if our data is something like…

  • 100 | boat purchase | boats | 3 engine boat
  • 200 | boat purchase |
    boats | 2 engine boat
  • 500 | plane purchase | planes | 4 engine plane
  • 900 | car purchase | cars | 1 engine car

Then there should only be ONE instance of boats, planes and cars in my graph, under which all associated data would be summed up.

Last but not least, I have seen graphs where, these unique-not-repeated categories, instead of just being one single ‘bar’ so to speak, are composed of smaller bars. In this case, I want these smaller bars to be the sub categories, so that the end result would look like this:

basic and complex graph samples

In that sample image, I first present a ‘basic, classic’ graph where blue, yellow and red each represent a unique, different category. Right below it is what I want, a ‘breakdown’ of each category by subcategory where blue/yellow/red each represent an imaginary 3 different subcategories per category.

This means subcategories will repeat themselves for each category, but categories themselves will not.

For clarification, I currently only have 3 main categories and 6 or so sub-categories, but this could change in the future, hence the desire to have this in an automatic/dynamic fashion

Kind regards
G.Campos

EDIT: new image:

better explanation of desired graph result

  • 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-26T07:04:26+00:00Added an answer on May 26, 2026 at 7:04 am

    Here i my take on it. Unfortunately I can’t post the screenshots as I don’t have enough posts.

    One solution is to use pivot charts put Amount in “Values”, Category in “Row Lables”, and SubCategory in “Column Labels”.

    I uploaded relevant images on a free image upload service.

    This is our source data:

    Amount  Decription  Category    SubCategory
    100     boat purchase   boats   3 engine boat
    200     boat purchase   boats   2 engine boat
    500     plane purchase  planes  4 engine plane
    900     car purchase    cars    1 engine car
    450     boat purchase   boats   2 engine boat
    110     plane purchase  planes  4 engine plane
    550     car purchase    cars    1 engine car
    230     car purchase    cars    2 engine car
    450     car purchase    cars    5 engine car
    

    This is the desired graph (Edit: This has ghost bars):

    http://imageshack.us/photo/my-images/849/pivot.gif/

    I just read the comment about no ghost graphs. This might be what you are looking for:

    http://imageshack.us/photo/my-images/266/pivotnoghost.gif/

    Just googled and found something very similar here:

    peltiertech.com/WordPress/using-pivot-table-data-for-a-chart-with-a-dual-category-axis/

    You need to add http:// ( I can’t have more than two hyperlinks due to low number of posts)

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

Sidebar

Related Questions

I have an asp.net MVC app in production that very seldom but very consistently
I have many widgets that can use JSON or JavaScript object literals as their
I find I quite seldom come across situations where I need to use the
I have to add a bunch of trivial or seldom used attributes to an
I have some small sets of data from the database (mysql) who are seldom
Threadsafe is a term that is thrown around documentation, however there is seldom an
I have a bug somewhere that is causing my app to just vanish without
Possible Duplicate: When should you use 'friend' in C++? I have come to a
I have a domain class in grails 1.5 that represents data from a table
I seldom have a seg fault issue when the std::ofstream is going out of

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.