In Google Sheets I have a QUERY where I want to import only those rows where the dates in Col23 are on or before today's date.
This is my current formula:
=QUERY( IMPORTRANGE("1PfXYlqZ6UBbhemljYDMKUJvQJlRY6aTTVz825yHPrPk","Jan!A1:W"),"SELECT Col2,Col3,Col4,Col5,Col14,Col15,Col16,Col22,Col23 where Col16 contains 'Sent' and Col23 = date '"&text(today(),"yyyy-mm-dd")&"'")