Forum Discussion

MHedgeiusMagnus's avatar
MHedgeiusMagnus
Regular Visitor
4 years ago
Solved

Formula for New Column

Hi,

 

I am trying to create a new column (D) where the "starting status" would be be populated in a new column.  It would be based on the info in column B.  Is there a solution to this?  Thank you.

 

 

 

  • In your Query Editor, create a Conditional Column that is called New Column (or Starting Status).
    The formula would be
    if [Rank] = null then [Pitcher] else null

    Then highlight the New Column/Starting Status and go to the Transform tab > Fill > Fill Down
    You can then filter to exclude the nulls in the Rank column, but only if you need to.
    Close and Load.

4 Replies

    • MHedgeiusMagnus's avatar
      MHedgeiusMagnus
      Regular Visitor

      In your Query Editor, create a Conditional Column that is called New Column (or Starting Status).
      The formula would be
      if [Rank] = null then [Pitcher] else null

      Then highlight the New Column/Starting Status and go to the Transform tab > Fill > Fill Down
      You can then filter to exclude the nulls in the Rank column, but only if you need to.
      Close and Load.

    • MHedgeiusMagnus's avatar
      MHedgeiusMagnus
      Regular Visitor

      In your Query Editor, create a Conditional Column that is called New Column (or Starting Status).
      The formula would be
      if [Rank] = null then [Pitcher] else null

      Then highlight the New Column/Starting Status and go to the Transform tab > Fill > Fill Down
      You can then filter to exclude the nulls in the Rank column, but only if you need to.
      Close and Load.