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

Trying to combine two (2) statements together

$
0
0

I am trying to pull data based off of selections made in a dropdown list, and would like to combine two (2) statements/formulas into one. Separately, they both work well and achieve what I want them to, but I would like to combine them so that the data being returned shows up in one place.

=ARRAYFORMULA(IF(Options!C9="Cyclon",IMPORTRANGE("1nvZwulmKkuhBNNgltZzR7VYqjrx0LMWuT7v9Kpjnn10","'Standard, Cylon Backbox'!A:F"),IMPORTRANGE("1nvZwulmKkuhBNNgltZzR7VYqjrx0LMWuT7v9Kpjnn10","'Floating Backbox'!A:F")))

=ARRAYFORMULA(IF(Options!C3="AE",IMPORTRANGE("1nvZwulmKkuhBNNgltZzR7VYqjrx0LMWuT7v9Kpjnn10","'Arcade Cabinet'!A:F"),IMPORTRANGE("1nvZwulmKkuhBNNgltZzR7VYqjrx0LMWuT7v9Kpjnn10","'Xtra Cabinet'!A:F")))

Both of these formulas/statements work great on their own, but I am unable to combine them into one statement so that all of the data being called for by BOTH statements can be pulled into one sheet together.


Viewing all articles
Browse latest Browse all 9782

Trending Articles