cancel
Showing results for
Did you mean:
Regular Visitor

## Subtracting a column with condition

Hi!

i have a column A with 0 to 380 numbers in repeatred manner and another column X with Strings like Lower1,Outer1,Middle,Outer2,Lower2,Now i have to creat a column like  Column A values should subtract with 380 When they are equal to  Outer2 and Lower 2 of column X.PLease give me a idea how to over come this.

Thanks and Regards

Javeed

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Moderator

## Re: Subtracting a column with condition

Hi @JAVED,

You can create a calculated column like below:

Column = IF('Table2'[X]="Outer2" || Table2[X]="Lower2",'Table2'[A]-380,BLANK())

Best Regards,
Qiuyun Yu

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
Moderator

## Re: Subtracting a column with condition

Hi @JAVED,

You can create a calculated column like below:

Column = IF('Table2'[X]="Outer2" || Table2[X]="Lower2",'Table2'[A]-380,BLANK())

Best Regards,
Qiuyun Yu

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.