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.
You can use the IF function to meet this requirement.
Sample data: Time Judgement Table.xlsx
Create an analysis subject and upload the sample data with all fields selected by default.
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.
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.
For the demonstration of the added formula column, see section "Preview".
滑鼠選中內容,快速回饋問題
滑鼠選中存在疑惑的內容,即可快速回饋問題,我們將會跟進處理。
不再提示
10s後關閉
Submitted successfully
Network busy