+ Reply to Thread
Results 1 to 4 of 4

Sorting data into ranges and comparing it to different options

  1. #1
    Registered User
    Join Date
    05-25-2017
    Location
    SA
    MS-Off Ver
    2007
    Posts
    2

    Sorting data into ranges and comparing it to different options

    Hi all,

    I have travel household surveys and am sorting it for an assignment. The idea is sort out the data based on how many vehicles households own dependent on their income. An example of the data is shown in the first image (Capture), keep in mind, this is a made up sample, the actual data goes on forever. The table below is what I want the data to look like, with the values representing the average number of cars per household in that income range.

    And finally the graph attached (capture 2) is what I would like to end up having.

    I have used pivot tables for a previous assignment questions, but for examples that differed slightly, when I tried using it for this example, I just couldn't make sense of it. I can do them all individually, example, income versus number of cars owned, and then a separate one for income versus number of trucks owned. But grouping the income ranges each time is becoming tedious, especially since I am sure excel can do this and I am just wasting time.

    If you could help or link me to any tutorials dealing with similar situations, I would be glad.

    If you can think of a better tool to use, I am also happy to try it.

    Thank you!
    Attached Images Attached Images

  2. #2
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,910

    Re: Sorting data into ranges and comparing it to different options

    I think you will get a better response if you attach an actual sample file rather than just the pictures.

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.
    One spreadsheet to rule them all. One spreadsheet to find them. One spreadsheet to bring them all and at corporate, bind them.

    A picture is worth a thousand words, but a sample spreadsheet is more likely to be worked on.

  3. #3
    Registered User
    Join Date
    05-25-2017
    Location
    SA
    MS-Off Ver
    2007
    Posts
    2

    Re: Sorting data into ranges and comparing it to different options

    Thank you dflak.

    I have attached a sample workbook.The example has about 50 rows of data, the actual data has over 4000 rows.
    Attached Files Attached Files

  4. #4
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,419

    Re: Sorting data into ranges and comparing it to different options

    You need to add the fields to the Value selector and change field settings to show Average.
    Attached Files Attached Files
    Cheers
    Andy
    www.andypope.info

+ 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. Reverse IRR calculations, sorting data formulas, faster goal seek options
    By dude111 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-12-2017, 09:09 AM
  2. Comparing two excel data ranges
    By lana86 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-08-2015, 09:58 AM
  3. [SOLVED] Conditional Formatting comparing two ranges of data
    By b00 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-06-2014, 06:22 PM
  4. Sorting 2 data ranges by comparing one column in each and sorting to match
    By MDKsmiffy in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-17-2013, 03:30 PM
  5. Comparing Fields with Multiple Data Ranges
    By amyb2008 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-12-2013, 02:56 AM
  6. [SOLVED] Comparing two data ranges for differences.
    By jason.r.swinehart in forum Excel General
    Replies: 0
    Last Post: 01-12-2006, 03:55 PM
  7. [SOLVED] Comparing two ranges and extracting non duplicate data
    By Knut Dahl in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 03-26-2005, 09:07 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