Quick question

master bates

New Member
Joined
Nov 17, 2004
Messages
9
Can anyone tell me what I have to type in reports view to calculate price per square foot.

and also how long has the house been for sale.

There is date listed and date sold.
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
You need to create a couple of text boxes to do the calculations. Assuming you have a field like [Price] an danother like [Area], one of the new text boxes should have a control source =[Price]/[Area]
For time on market, you'll need something like =IIF(ISEMPTY([SellDate]),DATEDIF("d",Date,[ListDate]),DATEDIF("d",[SellDate],[ListDate])
Each of these should go in the Detail section of the report, to give values for each lot.

Denis
 
Upvote 0
thanks a lot, I got both working

can you tell me if it's possible to show which house were actually sold

So let's say there's 15 houses, and 5 of them were sold and I want only those 5 to show up

can that be done?
 
Upvote 0
In the query that you used for the report, go to the criteria row of the [SaleDate] field and enter Is Not Null. Check the query -- it should only show the 5 sold houses. If so, you're away. If not, try >0 or > #1/1/2004# in the criteria instead

Denis
 
Upvote 0

Forum statistics

Threads
1,221,831
Messages
6,162,252
Members
451,757
Latest member
iours

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top