简体   繁体   中英

Google sheets Nested query on a multi column query result

This is best explained with an example:

The following sheets:

Trades:

在此处输入图像描述

Items:

在此处输入图像描述

Query:

在此处输入图像描述

The query in cell A3:

=Query(Trades,"Select B, C where A = 0")

What im hoping to do is then further query the itemID (only the first result column) to return its ItemName and combine that result with the ItemQty (second column).

is this possible to do?

Check out VLOOKUP - it's how to do database-like queries / joins on spreadsheet tables.

I think I got what you're after here:

在此处输入图像描述

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM