Combine IF statments

Hi All
I am trying to combine these 2 IF statements

IF(([Tank or Gauge Name]=“25293”),
IFS(
([Previous Day].[Total-Inches]> [Total-Inches]),
([Previous Day].[Oil-Bbls]-[Oil-Bbls]),
)
,"")

IF(([Tank or Gauge Name]=“11955”),
IFS(
([Previous Day].[Total-Inches]> [Total-Inches]),
([Previous Day].[Oil-Bbls]-[Oil-Bbls]),
)
,"")

Solved Solved
0 3 123
1 ACCEPTED SOLUTION

I believe you could try

IF( AND(OR( [Tank or Gauge Name]=“25293”, [Tank or Gauge Name]=“11955”) , [Previous Day].[Total-Inches]> [Total-Inches]) , [Previous Day].[Oil-Bbls]-[Oil-Bbls], “”)

If result is numeric , may be you will need to have NUMBER("") or DECIMAL("") in place of last “”

View solution in original post

3 REPLIES 3

I believe you could try

IF( AND(OR( [Tank or Gauge Name]=“25293”, [Tank or Gauge Name]=“11955”) , [Previous Day].[Total-Inches]> [Total-Inches]) , [Previous Day].[Oil-Bbls]-[Oil-Bbls], “”)

If result is numeric , may be you will need to have NUMBER("") or DECIMAL("") in place of last “”

Thank you SO much

You are welcome. Please do test well per your requirement.

Top Labels in this Space