Hi
So what I am hearing is
1. You have to match the No_Reg AND match the month and year
2. But the month and year are wacko in both tables (love to meet who decided that Data Model).
In one list, you have 2 columns month and year and the column type is what... Number? or String?
In the other you have Friendly Format Date (without the day) so is this a string column????
Here is a question before we go about writing some wacko stuff
1. Why would the month and date NOT match between the lines that match the No_Reg
If it were me, I would either
1) create a column in the first list, so it has the same Format as the second List
Do a one time, Flow run to populate it all
2) This is better IF the list 1 month/year are number (for delegation and performance reasons)
Add 2 rows to the second list, for month, year
Have a flow run and do a 1 time setting of the value.
Then change either (for whichever list that gets updated)
1) how the data gets in there to set these 2 values also
OR
Create a triggered Flow based on when a row gets created or modified (and we would filter it to the Month and Year changing columns)
and it would set the new column for you, so NO ui or other data intake changes have to happen
But now you have using numbers, that are wonderfully delegatable and fast.
Anything else I tell you would be a bad suggestion in the scheme of things and just something to tell you how to make it work. I believe in give you the right way to do it.