Bozo the C
New Member
- Joined
- Sep 25, 2016
- Messages
- 33
Hello a good day,
I would like to compare the value from certain periods with de value from the previous period. As an example i have written the wanted result in the column on the right.
True, or false is enough. Besides the period there is also the ID as a criterium. If sorted i can use simply match, but i also wan't to make it work unsorted.
Could you please help me with the formula?
ID Date Value Does the value differ from previous period?
1 1-1-17 AA Error
1 3-1-17 AA False
1 6-1-17 BB True
2 1-1-17 AA Error
2 3-1-17 BB True
2 6-1-17 BB False
3 1-1-17 AA Error
4 6-1-17 AA Error
5 1-1-17 AA Error
5 3-1-17 BB False
6 6-1-17 AA Error
7 1-1-17 AA Error
7 3-1-17 AA False
8 1-1-17 AA Error
9 1-1-17 AA Error
9 3-1-17 AA False
9 6-1-17 BB True
10 1-1-17 AA Error
11 1-1-17 AA Error
12 1-1-17 AA Error
<link id="Main-File" rel="Main-File" href="../example.htm"><link rel="File-List" href="filelist.xml">
I would like to compare the value from certain periods with de value from the previous period. As an example i have written the wanted result in the column on the right.
True, or false is enough. Besides the period there is also the ID as a criterium. If sorted i can use simply match, but i also wan't to make it work unsorted.
Could you please help me with the formula?
ID Date Value Does the value differ from previous period?
1 1-1-17 AA Error
1 3-1-17 AA False
1 6-1-17 BB True
2 1-1-17 AA Error
2 3-1-17 BB True
2 6-1-17 BB False
3 1-1-17 AA Error
4 6-1-17 AA Error
5 1-1-17 AA Error
5 3-1-17 BB False
6 6-1-17 AA Error
7 1-1-17 AA Error
7 3-1-17 AA False
8 1-1-17 AA Error
9 1-1-17 AA Error
9 3-1-17 AA False
9 6-1-17 BB True
10 1-1-17 AA Error
11 1-1-17 AA Error
12 1-1-17 AA Error
<link id="Main-File" rel="Main-File" href="../example.htm"><link rel="File-List" href="filelist.xml">
Last edited: