cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Zubayer
Helper I
Helper I

I want to create a notification flow from a online excel.

E-MailNameSundayMondayTuesdayWednesdayThursd
 Ishtiaque AhmadYYYYY
nusrat.jahanNusrat JahanY Y Y
tanvir.hossainTanvir Hossain Y Y 
mostofa.monowerMostofa Monower YY Y
mohammad.parvezMohammad ParvezY  Y 
shuva.talukderShuva Talukder Y  Y
muntasir.shajibMuntasir      
tapan.royTapanYY Y 
abdullah.zubayerZubayerY Y Y
saiful.hasaHasan Y YY
rahman.novelNovelYYYY 

 

*Y= Work from home

 

we are doing a roster schedule in excel online file , not we want to create a schedule flow where if its written "Y" it will send a notification to the users that we have to do work from home today. 

1 REPLY 1
eliotcole
Super User
Super User

If this is an excel online file, then I would recommend moving the data to SharePoint and working from there.

 

Anyway, try this (and if it doesn't work, try messing with it a little):

  1. Convert that data to a table in the excel.
  2. Create a daily scheduled flow, with 4 string variables (dayVAR, emailVAR, nameVAR, yesOrNoVAR).
  3. In dayVAR put the expression formatDateTime(utcNow(), 'dddd')
  4. List rows present in a table.
  5. Apply to each on that.
  6. Set each of the obvious variables.
  7. For the yesOrNoVAR, make a Switch action with 5 cases, and switch on dayVAR. Case 1 = Sunday, and pull the Sunday column, case 2 = Monday pull Monday column, etc.
  8. After the switch, or inside it, your make a condition that if yesOrNoVAR is Y to send the notification.

 

That's it, mate ... if the Y values are true booleans you can make it a boolean variable instead.

 

Also, you OK with those email addresses being on the forum?

 

Anyway, if you can't get it to work, come back with some flow screenshots, mate, and someone here (maybe me) will sort you out good. 👍

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Users online (4,884)