Quantcast
Channel: Hot Weekly Questions - Web Applications Stack Exchange
Viewing all articles
Browse latest Browse all 9782

Dynamic data range column in formula based on header value in google sheets

$
0
0

Problem: I need to summarize hundreds of sheets that all contain the same column header but are not always on the same column number. Is there a smart way to get the column for a range based on what the header row says (always row 2)?

=COUNTIFS((importrange(B2, "Form Responses 1!Q3:Q")),"YES",(importrange(B2, "Form Responses 1!Y3:Y")),"")

Essentially this would summarize the quantity of pending items on a sheet for my team. Checks if the line item is approved to action and the status of it being actioned.

where B2 is the link of the targeted spreadsheetwhere Q is the indication that a form response requires action (need to be dynamic based on header name "Approved")where Y is the indication that that line item has been actioned (need to be dynamic based on header name "Task")


Viewing all articles
Browse latest Browse all 9782

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>