Excel conditions

i have excel file.

Column A ColumnB
1 #N/A
2 3
3 5

If Column B contain #N/A it should show false.

HI @Ak_4

  • Read range the excel and store them in a datatable.
  • For each row in datatable
    • If Condition will be like
Not CurrentRow("ColumnB").ToSTring.Trim.Contains("#N/A")

this condition will go to then only if the value of the Column B not equal to #N/A

Regards
Sudharsan

Thank for your help its working.

Can u help me in this case if ColumnB contain
negative value it should give false.

@Ak_4 Use this condition

Not CurrentRow("ColumnB").ToSTring.Trim.Contains("#N/A") or Not  Cint(CurrentRow("ColumnB").ToSTring.Trim)<0

Regards
Sudharsan

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.