HELP !!!!! Data Sorting

%3CLINGO-SUB%20id%3D%22lingo-sub-2630100%22%20slang%3D%22en-US%22%3EHELP%20!!!!!%20Data%20Sorting%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2630100%22%20slang%3D%22en-US%22%3E%3CP%3EI%20am%20using%20the%20current%20windows%20version%20on%20pc%2C%20using%20Microsoft%20365%20with%20version%202107.%20Below%20is%20an%20upload%20of%20an%20excel%20worksheet%20that%20I%20need%20help%20with.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EMy%20line%20of%20work%20is%20real%20estate%20and%20a%20basic%20overview%20of%20what%20I%20am%20trying%20to%20do%20is%20input%20land%20sizes%20by%20the%20acre%20size(example%3A0.1%20acre%2C%205%20acres%2C%2040%20acres%2C%2015.69%20acres)%20as%20well%20as%20the%20price%20that%20the%20land%20sold%20for%20or%20is%20selling%20for%20into%20a%20list.%20The%20list%20comprises%20various%20websites%20that%20I%20gather%20my%20land%20sizes%20and%20prices.%20Once%20the%20information%20is%20inputted%20into%20the%20list%2C%20the%20various%20sizes%20of%20land%20and%20the%20various%20prices%20that%20are%20associated%20with%20the%20corresponding%20lot%20sizes%20are%20then%20averaged%20out%20into%20a%20table%20that%20is%20above%20the%20list.%20The%20table%20corresponds%20to%20the%20prices%20from%20the%20list%20below%20and%20averages%20out%20all%20the%20prices%20that%20are%20associated%20with%20the%20range%20of%20lot%20sizes.%20(Example%3A0-0.99%20-%20%24132%2C000%2C%201-1.99-%2464%2C500%2C2-2.99-%2444%2C123%2Cetc.)%20Then%20in%20the%20same%20table%2C%20there%20are%20smaller%20tables%20that%20produce%20a%20percentage%20of%20what%20the%20average%20price%20is.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhat%20I%20am%20having%20trouble%20with%20is%20the%20connection%20between%20the%20table%20that%20is%20price-per%20acre%3D%24%20and%20the%20table%20that%20averages%20out%20the%20per%20acre%20amount%20that%20corresponds%20to%20that%20range%20of%20acres.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2630100%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EBI%20%26amp%3B%20Data%20Analysis%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EDeveloper%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EFormulas%20and%20Functions%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2632057%22%20slang%3D%22en-US%22%3ERe%3A%20HELP%20!!!!!%20Data%20Sorting%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2632057%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1124493%22%20target%3D%22_blank%22%3E%40Landman1452%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYou%20clearly%20are%20quite%20comfortable%20with%20Excel...I%20can%20see%20that%20you've%20written%20some%20very%20sophisticated%20formulas%20throughout%20that%20spreadsheet.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20one%20way%20in%20which%20you%20were%20NOT%20sophisticated%20is%20in%20the%20fundamental%20design%20of%20the%20database%20that%20serves%20as%20the%20heart%20of%20the%20analysis%20you're%20seeking%20to%20do.%20That%20is%20the%20database%20at%20the%20bottom%20of%20your%20sheet%3A%20instead%20of%20making%20it%20a%20single%20database%2C%20you've%20madeten%2C%20one%20for%20each%20source%20for%20the%20%22on%20the%20market%22%20and%20again%20one%20for%20each%20source%20of%20the%20%22Sold%22.%20If%20it%20were%20a%20single%20database%2C%20all%20of%20the%20derivatives%20would%20be%20far%20simpler.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%22But%2C%22%20you%20object%2C%20%22I%20need%20to%20be%20able%20to%20identify%20whether%20the%20source%20is%20Zillow%20or%20Realtor%20(etc).%22%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EEasily%20accomplished.%20Add%20two%20columns%20to%20the%20three%20that%20are%20there%20for%20each%20of%20the%20five%20sources.%20I've%20started%20it%20for%20you%20in%20Sheet1%20of%20the%20attached.%20A%20column%20for%20Source%2C%20and%20a%20column%20for%20Status.%20And%20make%20it%20an%20official%20structured%20Excel%20table.%20When%20you've%20done%20that%2C%20you%20can%20be%20adding%20new%20rows%20without%20needing%20to%20adjust%20the%20formulas%20that%20refer%20to%20the%20table.%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22mathetes_0-1628600820714.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F302165i85F691C98CC40B32%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22mathetes_0-1628600820714.png%22%20alt%3D%22mathetes_0-1628600820714.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ELet%20me%20suggest%20you%20take%20it%20from%20here.%20My%20guess%3A%20you%20can%20now%20use%20Pivot%20Tables%20straight%20from%20this%20single%20database%20to%20accomplish%20all%20of%20your%20range%20comparisons%2C%20etc.%20Come%20back%20with%20questions%20as%20needed.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2632826%22%20slang%3D%22en-US%22%3ERe%3A%20HELP%20!!!!!%20Data%20Sorting%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2632826%22%20slang%3D%22en-US%22%3EThank%20you%20for%20getting%20back%20to%20me%2C%20I%20understand%20the%20principle%20you%20created.%20But%20the%20problem%20is%20more%20along%20the%20lines%20of%20being%20able%20to%20identify%2Fgroup%20a%20specific%20range%20of%20lot%20sizes%3B%20everything%20from%200-0.99%2C%20then%201-1.99%2C%20so%20on%20until%209-9.99.%20Then%20its%2010-15%2C%2015-20%2C%2020-25%2C%2025-30%2C%2030-35%2C%2035-40.%20The%20reason%20for%20the%20specific%20grouping%20is%20because%20of%20various%20prices%20associated%20with%20that%20grouping%20in%20real%20estate.%3CBR%20%2F%3EIf%20continuing%20with%20your%20sheet%201%20table%2C%20is%20it%20possible%20to%20as%20your%20inputting%20a%20lot%20size%20excel%20identifies%20that%20lot%20size%20to%20a%20specific%20range%20(example%3A%20you%20have%20a%200.54-acre%20lot%20for%20%2445%2C000)%2C%20excel%20identifies%20that%20to%20be%20associated%20with%20the%20range%200-0.99%20acres.%20The%20price%20associated%20with%20that%20lot%20size%20is%20then%20inputted%20into%20a%20table%20that%20averages%20out%20all%20prices%20that%20are%20associated%20with%20that%20range%200-0.99.%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E
New Contributor

I am using the current windows version on pc, using Microsoft 365 with version 2107. Below is an upload of an excel worksheet that I need help with. 

 

My line of work is real estate and a basic overview of what I am trying to do is input land sizes by the acre size(example:0.1 acre, 5 acres, 40 acres, 15.69 acres) as well as the price that the land sold for or is selling for into a list. The list comprises various websites that I gather my land sizes and prices. Once the information is inputted into the list, the various sizes of land and the various prices that are associated with the corresponding lot sizes are then averaged out into a table that is above the list. The table corresponds to the prices from the list below and averages out all the prices that are associated with the range of lot sizes. (Example:0-0.99 - $132,000, 1-1.99-$64,500,2-2.99-$44,123,etc.) Then in the same table, there are smaller tables that produce a percentage of what the average price is. 

 

What I am having trouble with is the connection between the table that is price-per acre=$ and the table that averages out the per acre amount that corresponds to that range of acres.

 

 

4 Replies

@Landman1452 

 

You clearly are quite comfortable with Excel...I can see that you've written some very sophisticated formulas throughout that spreadsheet.

 

The one way in which you were NOT sophisticated is in the fundamental design of the database that serves as the heart of the analysis you're seeking to do. That is the database at the bottom of your sheet: instead of making it a single database, you've made ten, one for each source for the "on the market" and again one for each source of the "Sold". If it were a single database, all of the derivatives would be far simpler. Excel is really good at parsing single databases; we humans often get in the way by making multiple tables that are (or appear) cleaner and more understandable to us. Learn to let Excel excel at what it can do; let it do the heavy lifting of breaking apart/sorting/comparing, and doing from a single database.

 

"But," you object, "I need to be able to identify whether the source is Zillow or Realtor (etc)."

 

Easily accomplished. Add two columns to the three that are there for each of the five sources. I've started it for you in Sheet1 of the attached. A column for Source, and a column for Status. And make it an official structured Excel table. When you've done that, you can be adding new rows without needing to adjust the formulas that refer to the table.

mathetes_0-1628600820714.png

 

Let me suggest you take it from here. My guess: you can now use Pivot Tables straight from this single database to accomplish all of your range comparisons, etc. Come back with questions as needed.

Thank you for getting back to me, I understand the principle you created. But the problem is more along the lines of being able to identify/group a specific range of lot sizes; everything from 0-0.99, then 1-1.99, so on until 9-9.99. Then its 10-15, 15-20, 20-25, 25-30, 30-35, 35-40. The reason for the specific grouping is because of various prices associated with that grouping in real estate.
If continuing with your sheet 1 table, is it possible to as your inputting a lot size excel identifies that lot size to a specific range (example: you have a 0.54-acre lot for $45,000), excel identifies that to be associated with the range 0-0.99 acres. The price associated with that lot size is then inputted into a table that averages out all prices that are associated with that range 0-0.99.

@Landman1452 

 

See the revised attachment. I've created what we sometimes call a "business table" that can be used as the basis for a VLOOKUP to take the acreage in column B of the table and return the range associated with that.

The table looks like this, and I've named it LotSizes (as you'll see in the formula)

mathetes_0-1628626525100.png

I added a column to the table containing this formula: =VLOOKUP([@Acres],LotSizes,2,1)

 

So at the top of that table now you'll see this, and the formula has been copied all the way down.

mathetes_1-1628626641579.png

 

 

By the way, when I open the sheet I always respond to the prompts by disabling the macros--I don't usually find macros all that helpful. I've not removed them, so they're still there, and it may be that they serve a useful purpose. I prefer to let Excel's built-in functions do the work, and usually have been able to find ways to do that.

@Landman1452 

 

it might not work because you might be averaging the same property summed by number of listing divided by number of listers against itself. You're going to have to be sure you're not doing that by having a specific address

 

Yea_So_0-1629061942688.png