Level 3QUERYPractice, 4 min

QUERY another tab, with or and parentheses

The task

The data lives on the Campaigns tab. On Summary, in A1, list the paid campaigns (Paid Search or Paid Social) that brought in more than $5,000, biggest first: =QUERY(Campaigns!A1:E13, "select A, B, E where (B = 'Paid Search' or B = 'Paid Social') and E > 5000 order by E desc")

The data, 2 tabs

The starting sheet. Cells outlined in green are where your formulas go.

Summary tab
A
1
2
3
4
5
6
7
8
9
10
Campaigns tab
ABCDE
1CampaignChannelSpendLeadsRevenue
2Brand termsPaid Search$2,40096$14,400
3Competitor termsPaid Search$3,10041$2,950
4Product termsPaid Search$5,20088$17,600
5Prospecting videoPaid Social$4,60052$3,980
6Lookalike 1%Paid Social$3,80061$9,120
7RetargetingPaid Social$1,90047$8,550
8Webinar promoEmail$60073$4,380
9NewsletterEmail$25022$1,750
10Win-backEmail$40018$3,240
11Display remarketingDisplay$1,70023$2,890
12ContextualDisplay$2,20014$1,430
13YouTubeDisplay$3,30019$2,310