Hi,
I am trying to count the number of rows in my listbox where value is "Completed"
For example, I have a listbox with 2 columns.
Job Name | Job Status
The name of listbox is SearchResults
For each row, the value of job status can be Pending or Completed
I want to be able to count the number of jobs that has status of "Completed"
I tried using this formula as a rowsource of my textbox
but I get #error as a result.
I double check if I am referencing the right object by counting everything using this formula
and it return the total number of rows in the listbox.
Anyone knows how to count specific row in a listbox based on it's text/value?
Thanks
I am trying to count the number of rows in my listbox where value is "Completed"
For example, I have a listbox with 2 columns.
Job Name | Job Status
The name of listbox is SearchResults
For each row, the value of job status can be Pending or Completed
I want to be able to count the number of jobs that has status of "Completed"
I tried using this formula as a rowsource of my textbox
Code:
=Sum(IIf([SearchResults].[column](1)="Completed",1))
but I get #error as a result.
I double check if I am referencing the right object by counting everything using this formula
Code:
=[SearchResults].[ListCount]-1
and it return the total number of rows in the listbox.
Anyone knows how to count specific row in a listbox based on it's text/value?
Thanks