A place to share what I learn with everyone!
Todd BaginskiTodd Baginski

PowerApps Grammar School

By Todd Baginski
PowerApps Grammar School

Here's a little function you can use to ensure your PowerApps follow basic English language grammar rules for the words A and AN.

This function displays the words A and AN appropriately, based on the word that comes after them in a sentence.

If(IsMatch(, "[AEIOUaeiou]", BeginsWith), "an ", "a ")

Note: This function does not take into account special cases like the words university and honor, but you could easily adapt the logic to handle additional words.

The following screenshots show it in action.

Related Posts

17-Time Microsoft MVP

Microsoft Most Valuable Professional

5-Time Microsoft Fast Track Recognized Solution Architect (FTRSA)

Microsoft FastTrack Recognized Solution Architect
© 2026 Todd Baginski's Blog. All Rights Reserved.