Glide HomepageOpen Glide

Getting Started

Quickstart
Intro to Layout
Intro to the Data Editor
Data to Layout
Intro to Actions
Intro to Workflows
App Settings
Templates

Essentials

Data Sources
Basic Columns
Components
Security and User Data
Users
Publishing and Sharing

Automation

Actions
AI
Computed Columns
Construct URL
Date Difference
Distance
Experimental Code Column
Format Duration
Generate Image
If → Then → Else Column
Joined List
Lookup Column
Make Array Column
Math Column
Query Column
Relations
Rollup Column
Row ID Column
Single Value Column
Split Text Column
Template Column
Integrations
Workflows
View API Docs

Use Cases

Forms
Images in Glide
Conditions, Filtering, and Visibility
Duplicating Apps

Reference

Account
User Experience
Values
  • Computed Columns
  • If → Then → Else Column

If → Then → Else Column

Produce different values based on conditions.

The If → Then → Else Column allows you to produce a new set of data for your app based on a set of conditions.

Creating a If → Then → Else Column

  1. In the Data Editor, open the table you want to edit.

  2. Add a new column by clicking the plus (+) symbol to the right of the table.

    • New columns added with the plus button will always appear on the right. If you'd like to add a column somewhere else in your data, you can select the dropdown menu on an existing column and choose Add column right. You can also click and drag columns to rearrange them.

  3. Give the column a name.

  4. For Type, search for If → Then → Else or navigate to Computed → If → Then → Else from the menu.

  5. Set the conditions you want to use for the computation.

Configuring the If → Then → Else Column

When configuring this column, remember what each condition should be:

If: Your condition or criteria.

Then: The result you want to show if your condition is true.

Else: the result you want to show if your condition is false (or the default if you have multiple conditions).

While setting the conditions or criteria, you can use any of the column values as the data source for any part of the computation. You can also add more than one case in the event that you have multiple criteria to fulfill.

Have a question about If → Then → Else Column? Ask the Glide community.
Need more help? Hire an Expert.

Updated more than a week ago

Previous

Generate Image

Next

Joined List

Was this article helpful?
Exit Preview Mode