Forum Discussion

rollingzep's avatar
rollingzep
Regular Visitor
3 years ago
Solved

Date calculation

Hi,   I have two dates in col A, report date and col B, Transaction Date.  I need to populate a new column, C. The condition is,  insert value 1 in Col C if Transaction Date is less than or equal ...
  • Greg_Deckler's avatar
    3 years ago

    rollingzep Try:

    Column C = 
      SWITCH(TRUE(),
        [Transaction Date] = BLANK(), 1,
        ( [Report Date] - [Transaction Date] ) * 1. <= 30, 1,
        BLANK()
      )