web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Count in Excel how man...
Power Automate
Answered

Count in Excel how many entries are present

(0) ShareShare
ReportReport
Posted on by 212

Hello all together

 

I would like to count via Power Automate in an Excel table how many entries of a value are present in a column.

For example: how often is "123456" present in column "H".

 

Thank you for your help 🙂 

Categories:
I have the same question (0)
  • ManishSolanki Profile Picture
    15,091 Super User 2025 Season 2 on at

    Hi @PatrickSched 

     

    Assuming your excel is on onedrive and "EmployeeId" is the header name for col H. You can get the rows by using "List rows of a table" action:

    ManishSolanki_0-1682516777951.png

     

    and using below expression, you can get the count of rows:

    length(outputs('List_rows_present_in_a_table')?['body/value'])

    ManishSolanki_1-1682516868102.png

     

    Please remember to give a 👍 and accept my solution as it will help others in the future.

    Thanks

  • PatrickSched Profile Picture
    212 on at

    Hi @ManishSolanki 

     

    perfect, it works. 

    Can I specify multiple filter options in Filter query?

     

    For example:

    Filter me in column "H" all entries with "123456" and in column "A" all entries where the cell is empty.

     

    So it does not work for me and I get an error message

    PatrickSched_0-1682589188703.png

     

    Thank you for your help 🙂 

     

  • ManishSolanki Profile Picture
    15,091 Super User 2025 Season 2 on at

    Hi @PatrickSched 

     

    The query looks ok but syntactically it is wrong. Only thing you need to do is to replace comma before Status with "and":

     

    <<first part of query will be same>> and Status eq ''

     

    Please remember to give a 👍 and accept my solution as it will help others in the future.

    Thanks

  • PatrickSched Profile Picture
    212 on at

    hi @ManishSolanki 

     

    I have entered it as follows but I get an error message

    PatrickSched_0-1682592890046.png

     

    Do you know what I did wrong or what the problem is?

     

    Thank you very much! 🙂

  • Srini007 Profile Picture
    3,327 Super User 2025 Season 2 on at

    @ManishSolanki 

     

    You have given Artikelnumber eq the variable

    but in Status eq  what? that is missing can you complete the expression

     

    Hope this may help you

     

    Thanks,

    Srini

  • ManishSolanki Profile Picture
    15,091 Super User 2025 Season 2 on at

    Hi @PatrickSched 

     

    Please remove comma ',' before and keyword as highlighted below:

    ManishSolanki_0-1682593899772.png

     

     

    Thanks

     

    Please remember to give a 👍 and accept my solution as it will help others in the future.

  • PatrickSched Profile Picture
    212 on at

    Hi all together,

     

    When I search for an item number (is a dynamic content) in the "Item number" column, it works.

     

    Now I want to count only the entries in the column "Status" where the column is empty.

     

    This is how the function should be:
    Search in column "Item number" for an item number and in column "Status" for cells that are empty.

    What is the command?

  • PatrickSched Profile Picture
    212 on at

    This is the error message

    'Invalid filter clause: unsupported operation. Only single 'eq', 'ne', 'contains', 'startswith' or 'endswith' is currently supported.'

     

    and this my flow which don't work

    PatrickSched_0-1682594325376.png

     

    what im doing wrong?

  • PatrickSched Profile Picture
    212 on at

    Ok, I have another option but again I need your support.

    I can also do the whole thing using a SharePoint list.

    I have in a column (Title) the number.
    In one column I have the date of creation. How can I count only the entries to which the article number fits and the creation (Column "Erstellt") is not older than 21 days ago?

     

    PatrickSched_0-1682595427595.png

     

  • PatrickSched Profile Picture
    212 on at

    ok, i tried it again in excel, but i don't work. 

    PatrickSched_0-1682597929682.png

     

    Error message: 

    "Invalid filter clause: unsupported operation. Only single 'eq', 'ne', 'contains', 'startswith' or 'endswith' is currently supported.".

     

    Have anyone an idea? 😞 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 503 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard