+ Reply to Thread
Results 1 to 4 of 4

Rearrange cells to group same results, and surrounding cells

  1. #1
    Registered User
    Join Date
    08-09-2004
    Location
    auckland
    MS-Off Ver
    MS Office Professional Plus 2016
    Posts
    72

    Rearrange cells to group same results, and surrounding cells

    I have a list of houses for sale in an area and the corresponding prices and number of bedrooms in adjoining cells.

    I want to rearrange the list so all the houses from the same area are bunched together, but keep their prices and bedrooms associated.

    How do I do that?


    I have included a sample with before and after, I haven't done all 100 lines, but you get the picture.
    Attached Files Attached Files

  2. #2
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,871

    Re: Rearrange cells to group same results, and surrounding cells

    Select all A1:C101 area, and from ribbon data choose Sort (large one - not A-Z or Z-A) and add two keys: first - location (may be ascending), second size (probably descending). Press "OK" and - thats it.
    Best Regards,

    Kaper

  3. #3
    Registered User
    Join Date
    08-09-2004
    Location
    auckland
    MS-Off Ver
    MS Office Professional Plus 2016
    Posts
    72

    Re: Rearrange cells to group same results, and surrounding cells

    So then, how would I find out the sum of each suburb individually. Assuming there was a number in the price column

  4. #4
    Forum Expert azumi's Avatar
    Join Date
    12-10-2012
    Location
    YK, Indonesia
    MS-Off Ver
    Excel 365
    Posts
    2,406

    Re: Rearrange cells to group same results, and surrounding cells

    I dont know with Column B, just using Data Sort in Excel Menu, Im add up formula for Prices and Bed, pls have take a look the file attach...

    Regards
    Azumi
    Attached Files Attached Files

+ 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. Take value of surrounding cells and adjust center cell value
    By holyflame in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-25-2014, 04:53 PM
  2. Search Surrounding Cells and Use Logic Table to Highlight cells
    By Hekagigantes in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-14-2014, 08:36 AM
  3. Macro to populate surrounding cells based on the value of another
    By irfan1983 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-05-2012, 04:05 PM
  4. Function is changing surrounding cells.
    By ShayA in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-19-2012, 09:35 AM
  5. put a value in a cell and increment surrounding cells
    By howdoi in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-30-2010, 10:34 AM

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