Having some trouble with this sucker. Trying to use QUERY function but want to exclude Column D from grouping. Data I'm hoping to see in each respective column of QUERY table:
=QUERY( A:D, "select A,B, max(C), D where not B is null group by A,B,D label A 'Client Name', B 'Move-In Date',max(C) 'Check Date',D 'Amount'" )
What I've figured out so far is that including "Column D" in "group by" causes duplicate Names to appear, but without including that column in "group by" I get a "#VALUE!" error.
See link for sample data with examples: Data Test
Try the following on a copy of your demo spreadsheet.
=QUERY( A:D, "select A,max(B), max(C) where not B is null group by A label A 'Client Name', max(B) 'Move-In Date',max(C) 'Check Date'" )
Amount
=ArrayFormula(vlookup(G16:G19&I16:I19,{A2:A11&C2:C11,D2:D11},2,0))