How can i check bottom pivot table in excel to check if Payroll Name exist?, if exist how to check if it is blank or not? if eixst then do some operations , if exist but blank then do some operations, doesnot exist then do some operations

Please clarify my question. I suppose to post this as question not sure if this is right place to post.

@srilakshmi.baru

Try reading it using Read Range activity

Hi @srilakshmi.baru

Welcome to community

  • Use Read Range activity
  • Indicate that Pivot result range
  • Output → dtPivot
  • Use Assign activity
hasPayrollName = dtPivot.AsEnumerable().
                 Any(Function(r) Not String.IsNullOrWhiteSpace(r("Payroll Name").ToString))
  • Use If activity
If hasPayrollName Then
    'Logic A → Payroll Name exists (at least one row has value)
Else
    'Logic B → Payroll Name is empty for all rows

Regards,
Gokul