I'm trying to return a value of 325 in a field if two criteria are met and 0 if one or more of the criteria are not met, and I haven't had any luck with either Chat GPT or the Laserfiche AI, so I'm reaching out to actual human beings.
The two fields that are part of the criteria are:
Device Type, a drop-down field, and
Computer Inspection Report, a radio button field.
The choices for Device Type are
Chromebook
Macbook Laptop
Windows Laptop
The choices for Computer Inspection Report are
Computer returned with no visible damage to it
Lost computer
Damaged computer
Assigned computer's asset tag # does not match that of the returned computer
I would like a currency field named Lost Chromebook Fee to have a value of 325 when Device Type is Chromebook and Computer Inspection Report is Lost Computer, but have a value of 0 when one or both of those conditions is not met. I'm open to changing this field to a single-line text field if necessary.
Does anyone have any advice on this statement? Here are some failed results from Laserfiche AI and another AI system.
- =IF(AND(TEXT(DeviceType)="Chromebook",(ComputerInspectionReport)="Lost computer","325","0")
- IF (Device_Type == "Chromebook" AND Computer_Inspection_Report == "Lost computer") THEN
Return_Value = 325
ELSE
Return_Value = 0
- =IF(DeviceType) ="Chromebook" AND (ComputerInspectionReport)="Lost computer", "325"," 0")