+ Reply to Thread
Results 1 to 3 of 3

Create a chart using only certain data from a table

  1. #1
    Registered User
    Join Date
    02-08-2016
    Location
    Salt Lake City, Utah
    MS-Off Ver
    2010 Excel
    Posts
    2

    Create a chart using only certain data from a table

    I have a chart of expenditures from one of my credit cards. I want to make a chart that can look up certain categories of purchases and make a chart displaying the variety of items in that category. For example, the category is gas. So the chart will be of only the gas purchases and the sections will be of where the gas was purchased. Let's say I purchased gas from Costco and Maverick, then it would be a pie chart displaying how often i used Costco vs Maverick.

    This is a screenshot of my current data. How can I do this, if even possible. Also, I would like to have a chart for multiple categories, so not only how do I do this, but how cna I apply the same function to many charts?

    Excel Forums 1.PNG

  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,728

    Re: Create a chart using only certain data from a table

    Many contributors are not able to view .png files on this forum due to software incompatibilities - attach a sample Excel workbook instead.

    Pete

  3. #3
    Registered User
    Join Date
    02-08-2016
    Location
    Salt Lake City, Utah
    MS-Off Ver
    2010 Excel
    Posts
    2

    Re: Create a chart using only certain data from a table

    I think I found a way around it. I used this to list the locations i purchased gas at: =IFERROR(INDEX($A$1:$B$101,SMALL(IF($A:$A="Gas",ROW($A:$A)),ROW(1:1)),2),""). Then, I can use this chart as a reference to count how many of each location appear, ie: =COUNTIF(E:E,"Costco"). Then, I can just make a pie chart based off of the new data. Which is only the locations and how many times each one appears in the total data.

+ 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. Replies: 1
    Last Post: 07-22-2015, 07:16 AM
  2. Replies: 0
    Last Post: 09-29-2014, 10:32 AM
  3. How to Create Chart on Pivot table.
    By naveen4pundir in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 08-31-2013, 05:20 AM
  4. [SOLVED] Create a Dynamic Chart from an Excel Table
    By Elīna in forum Excel Charting & Pivots
    Replies: 8
    Last Post: 07-29-2013, 12:45 PM
  5. Replies: 0
    Last Post: 09-01-2011, 12:07 PM
  6. create chart from pivot table data
    By Brontosaurus in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-18-2011, 04:51 AM
  7. Automatically create chart sheets from data table
    By AJO in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-27-2007, 09:13 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