winningvish
(Vishnu Vardhan )
September 25, 2019, 8:16pm
1
Hi Everyone,
How to write Excel Formula to get the value, if the both cells are not equal.
As attached,
if both cells are equal, the formula will return the AJ cell value
if both cell values are not equal Its need to return the cell value except β#N /Aβ
I have tried with below methods, but no luck
=IF(AJ27=AL27,AJ27,IFERROR(AJ27,AL27))
Can any one please help
sureshj
(suresh_hserus)
September 26, 2019, 6:23am
2
@winningvish
As understanding If not equal, you should get β#NA β
Try =IF(AJ27=AL28,A27,βNot Foundβ)
And use Write Cell activity to write the excel formula in the Range.
Thanks,
Suresh J
winningvish
(Vishnu Vardhan )
September 26, 2019, 8:59am
3
Hi Suresh,
Thank you for your reply.
If both cell values are not equal, like
AJ27=10.16-9.35 AL27=β#N /Aβ
Result must be 10.16-9.35 in the cell AM27 not β#N /Aβ
sureshj
(suresh_hserus)
September 26, 2019, 11:06am
4
@winningvish
Use this for below solution =IF(ISNA(A2=B2),A2,B2)
Revert back if you need any help.
Thanks,
Suresh J
winningvish
(Vishnu Vardhan )
September 26, 2019, 11:21am
5
Hi Suresh,
Thank you for your time.
Second row you got the correct value as 12 (Correct)
Fourth row also you need to get the value as 12 (InCorrect)
By using the below formula I have achieved
=IF(ISERROR(A2=B2),IF(ISERROR(B2),A2,B2),A2)
Regards
Vishnu
1 Like
sureshj
(suresh_hserus)
September 26, 2019, 11:26am
6
@winningvish
Use this for below Solution =IF(ISNA(IF(ISNA(A2=B2),A2,B2)),B2,A2)
Thanks,
Suresh J
1 Like
system
(system)
Closed
September 29, 2019, 11:26am
7
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.