The HASTAG function determines if an item possess a specific tag. This function is CASE SENSITIVE.

 

Syntax

 

HASTAG(“x”)

 

Parameters

 

= Tag Name, this is chosen by the user and is case sensitive.

 

Type of Data Returned 

 

Boolean or Text

 

Examples

 

Imagine an item has the tags “UK” and “AUS”.

 

HASTAG(“UK”) will return TRUE

 

HASTAG (“US”) will return FALSE

 

HASTAG(“Aus”) will return FALSE

 

Using IF statements to return different result types 

 

IF(HASTAG(“UK”)&&HASTAG(“AUS”), “Both”, “”) will return BOTH

 

IF(HASTAG(“UK”)||HASTAG(“US”), “Either”, “”) will return EITHER

 

Using the && (And) and || (Or) Operators allows you to create more functionality with the HASTAG function.