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 / Convert entire table t...
Power Automate
Unanswered

Convert entire table to upper/ lower case OR filter array & excel list excluding character casing

(0) ShareShare
ReportReport
Posted on by 86

Hello All,

 

I am having some trouble filtering two lists.

My flow is supposed to do the following:

1- Fetch a list of members from Outlook group

2- Fetch a list of users from an excel table

3- Convert the Outlook members lost into an array of e-mails and lower case all entries

4- Filter and compare the excel list with the array of Outlook group e-mails

5- Add to an Outlook group the list of users from Excel who are not present in the outlook group previously fetched in step 1 

 

The step I get stuck at is #4 I'm unable to properly filter the list

 

Example Input

Outlook Group MembersExcel List
john@microsoft.combilly@Microsoft.com
billy@microsoft.comJOHN@microsoft.com
sarah@microsoft.comlaura@microsoft.com
bob@microsoft.comsarah@microsoft.com

 

The Outlook group list is all lower case and in an array.

The Excel list has mixed casing.

After filtering the two lists I should be left with: 

laura@microsoft.com   

because that entry does not match anything in the outlook group list

 

This is the filter I am using 

 

Capture.PNG

 

Outputs are the following:

What is contained in the lowercase array of group members

Capture.PNG

 

the input and output after performing the filter 

Capture.PNG

 Since the e-mail is upper case the filter is not working properly, john@microsoft.com  is already present

 

Please let me know if I am doing the filtering wrong or how would I go about converting an entire excel table into lower case so I don't have to perform lowercase filtering in advance.

Categories:
I have the same question (0)
  • Verified answer
    DamoBird365 Profile Picture
    8,942 Microsoft Employee on at

    Hi @fabiofa 

     

    Try this...

     

    DamoBird365_0-1637346698877.png

     

     

    No need for an apply to each, make sure you swith the Select to Text Mode.  This gives you an array of emails in lower case to compare with the emails of the Excel Table.

     

    I have an excel table

    DamoBird365_1-1637346762550.png

    You can see my input and output here:

    DamoBird365_2-1637346795775.png

    With only John Present.

     

    Your other option is to create an array of lower case emails from teh value of excel using a select.

    DamoBird365_3-1637346938700.png

    You then end up with the following:

    DamoBird365_4-1637346955802.png

    Please consider accepting my answer as a solution if it helps to solve your problem.

    Cheers
    Damien

    Please take a look and subscribe to my YouTube Channel for more Power Platform ideas and concepts, or take a look at my website. Thanks

     

     

     

  • Emilija10 Profile Picture
    19 on at

    Hi Damien, 
    I have List1 (750 rows)  and List2 (300 rows)  in Excel, I have some matching words in both of the lists, for example:
    List 1                  List2
    Example INC.      Example

    109 NY                109 NY INC

    Example Two       EXAMPLE TWO
    Ross & Co           ROSS & CO Plus

    How can I check that Example INC is the same thing as Example or (109 NY is equal to 109 NY INC) and merge it ? 

    Best Regards.

  • Adrian Tunley Profile Picture
    36 on at
    @DamoBird365 for some reason all the images have dissapeared on this solution. I now have the same issue with timesheets. Some entra ID updates took place changing the case of email addresses (randomly) so need to convert all to lower. 

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 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard