After getting Min and Max value from that column then use LookUp DataTable activity and look for that min and Max values in the Excel files and it will give output as Matching cell number.
For Max â It will give output as B5. so you need to update in C5.
For Min â It will give output as B4. So you need to update in C4.
Hi @Dev2
create 2 variables
var strMax=for max value
var strMin=for Min value
take âfor each rowâ activity
in the body take âifâ condition
conditoin>> row(âMarksâ).tostring = strMax or row(âMarksâ).tostring = strMin
in the âif " body take one moreâ if "conditon
conditon for 2nd if >>row(âMarksâ).tostring = strMax
in Then>>use Assign>>row(âstatusâ)= Highest
in Else>>use Assign>>row(âstatusâ)= Lowest
first, use read range to read the entire data
then do the above process using a data table variable
then write again back to the same excel sheet using write range & Donât forger to check the headers
Age.xaml: Compiler error(s) encountered processing expression ârow(âstatusâ)= âHighestââ.
Option Strict On disallows operands of type Object for operator â=â. Use the âIsâ operator to test for object identity.