反馈已提交

网络繁忙

Determining Whether a Date Field Is Within a Specified Period

  • Last update:  2023-09-28
  • Overview

    Preview

    You may need to determine whether a time field is within a specified period. For example, you may need to determine whether the Invoicing Time is between the Recording Time and the Delivery Time, as shown in the following figure.

    1.png

    Implementation Method

    You can use the IF function to meet this requirement.

    Procedures

    Sample data: Time Judgement Table.xlsx

    Creating an Analysis Subject

    Create an analysis subject and upload the sample data with all fields selected by default.

    3.png

    Determining Whether a Date Field Is Within a Specified Period

    Add a Formula Column named Judgement Result, enter the formula: IF(AND(Invoicing Time>Recording Time,Invoicing Time<Delivery Time),"Yes","No"), and click OK.

    4.png

    iconNote:
    Fields in the formula need to be selected from the left area and cannot be entered manually.

    Formula explanation:

    Formula
    Explanation

    AND(Invoicing Time>Recording Time,Invoicing Time<Delivery Time)

    Determines whether the Invoicing Time is between the Recording Time and the Delivery Time.

    IF(AND(Invoicing Time>Recording Time,Invoicing Time<Delivery Time),"Yes","No")

    Returns Yes if the condition is true, otherwise, returns No.

    Demonstration

    For the demonstration of the added formula column, see section "Preview".

    Attachment List


    Theme: データの追加および編集
    前の記事
    次の記事
    • いいね
    • 良くない
    • 閲覧しただけ

    フィードバック

    鼠标选中内容,快速反馈问题

    鼠标选中存在疑惑的内容,即可快速反馈问题,我们将会跟进处理。

    不再提示

    10s后关闭