[102] Google Sheet Expert

Working with TEXT in Google Sheet

LEFT, RIGHT, MID

LEN, CONCATENATE, TRIM

SUBSITITUDE, SPLIT

UPPER, LOWER, PROPER

Multiple Condition in Google Sheet

Example :

นับจำนวน Transactions ที่มี Brand = Intel
=COUNTIF($C:$C, "Intel")

นับจำนวน Transactions ที่มี Brand = Intel และ Model = Core i5
=COUNTIFS($C:$C, "Intel", $D:$D, "Core i5")

นับจำนวน Transactions ที่มี Brand = Intel และ Quantity < 300
=COUNTIFS($C$2:$C$22, "Intel", $E$2:$E$22,"<300")

นับจำนวน Transactions ที่มี Brand = Intel ในวันที่ 2021-06-05
=COUNTIFS($C:$C, "Intel",$B:$B, "2021-06-05")

** สามารถใช้ได้หลายเงื่อนไขตามตัวอย่าง **

Sort & Filter Function

( 1 ) =FILTER(customers, segment = "POSTPAID")
( 2 ) =FILTER(customers, segment = "POSTPAID", data_usage > 2)
( 3 ) =FILTER(customers, segment = "POSTPAID", data_usage > 2, registered_date < DATE(2022,7,1))
=FILTER(A3:E22,(C3:C22="AMD") + (D3:D22="Core i7"))
=SORT(A3:E22, 3,true, 5,false)

👁️Lookup Function

VLOOKUP Function

=VLOOKUP(D3,PRODUCTS,2,False)
=VLOOKUP(D3,PRODUCTS,3,False)  
=ArrayFormula(VLOOKUP(D3:D22,PRODUCTS,3,false))
=ArrayFormula(VLOOKUP(F3:F22, PRICE_BANDS , 2, True))

INDEX AND MATCH

=INDEX(reference, [row], [column])
=MATCH(search_key, range, [search_type])

Reference:
https://www.glideapps.com/blog/google-sheets-formulas

Posted in ,

ใส่ความเห็น