So I have a query function:
=IFERROR(QUERY(IMPORTRANGE(Index!$C9,"report.csv!A1:Z1000"),"Select sum(Col7) where Col2 contains 'ADC' label sum(Col7)''",0))
And what I want to do is add one more thing to this but I don't know how. I want to make it so that the cell that has this formula is highlighted if the column (in another spreadsheet) that is referenced and summed (in this case Col7) has any blank cells in it if the corresponding Col2 does have a value in it.
So basically:
**Col 2** **Col 7**
ADC 4.5
ADC
ADC 6.2
I would want the cell that queried the sum of Col7 (in another spreadsheet) in this example to highlight itself yellow to alert me that one of the cells in the column (7) it was summing was blank. I have an idea of how to do this in a normal cell, but I have no idea how to integrate this with SQL language of query to do this. Any help would be appreciated. Thank you