{"id":"code-work-re-price-per-sqft-label","audience":"real-estate","category":"coding","track":"coding","technique":"format","title":"Show price per square foot as a ready-to-paste label","free":false,"task":"Write one Google Sheets formula for D2 (filled down) that shows the list price in B2 divided by the square feet in C2 as text exactly like $412/sq ft, rounded to whole dollars with a comma for thousands. Listings with no square footage yet (blank or 0) must show No sq ft. One formula in one code block, then under 25 words outside the code.","materialLabel":"Listing sheet preview (attached to your prompt automatically)","material":"ACTIVE LISTINGS - Alder & Finch Realty (row 1 is headers)\nA Address | B List price | C Sq ft | D Price per sq ft\n14 Alder Ln | 615,000 | 1,492 | ?\n88 Cedar Row #4 | 389,000 | 860 | ?\n2201 Larch St | 1,250,000 | | ?\n9 Juniper Ct | 540,000 | 0 | ?\n410 Birch Ave | 2,100,000 | 1,830 | ?\n\nNotes from Nina (team lead):\n- Column D gets copied straight into our listing flyers.\n- Square footage for Larch St is waiting on the appraiser.\n- Juniper Ct's 0 is a typo from the MLS import.\n- Flyers are printed every Thursday.\n- Buyers compare price per square foot across neighborhoods.","rules":[{"type":"codeBlocks","count":1},{"type":"maxProseWords","max":25}],"mistakes":[{"title":"Not showing the label","why":"The AI returns a plain number like 412.198, which you then have to format by hand.","fix":"Add: \"Text exactly like $412/sq ft, whole dollars, comma for thousands.\"","checks":["r0","r1"]},{"title":"Forgetting missing footage","why":"Blank or 0 square feet gives #DIV/0! on a printed flyer.","fix":"Add: \"Blank or 0 sq ft shows No sq ft.\"","checks":["r2"]},{"title":"Getting a menu of options","why":"The AI likes to offer two or three versions of the formula, so you're left to pick and test them yourself.","fix":"Add: \"Give one formula only, in one code block, no alternatives.\"","checks":["codeBlocks"]},{"title":"Getting a tutorial","why":"By default the AI explains every part of the code at length, which you then have to scroll past.","fix":"Add: \"After the code, one line under 10 words. Nothing else.\"","checks":["maxProseWords"]}],"promptHints":[{"label":"Shows the label","patterns":["\\$\\d+/sq ft","/sq ft","exactly like"]},{"label":"Asks for rounding","patterns":["round","whole dollars?","no decimals"]},{"label":"Handles missing footage","patterns":["no sq ft","blank","\\b0\\b|zero"]},{"label":"Asks for one answer only","patterns":["\\b(one|single|1)\\s+(formula|code block|block|version)","only one","no (alternatives|options|other versions)"]},{"label":"Limits the explanation","patterns":["\\d+\\s*words","no (explanation|notes|commentary)","one (short )?(line|sentence)","nothing else"]}],"hint":"This goes straight onto a flyer. Show the AI the exact label and say what to print when the footage is missing.","rubricLabels":["Divides B2 by C2 and rounds to whole dollars (ROUND(B2/C2,0) or a TEXT format with no decimals)","Builds the text exactly like $412/sq ft, with a $ in front, a comma for thousands (TEXT(...,\"#,##0\") or \"$#,##0\"), and /sq ft after it","Shows No sq ft when C2 is blank or 0, checked before dividing"]}