Forum Discussion
anupambit1797
Mar 07, 2025Iron Contributor
Filter and Sequence Function
Dear Experts, I have a Data like below:- The Column"D" can have the values from 1..5 but in Sequence only, I need to filter only the ones where this txNumber is starting from...
- Mar 07, 2025
In that last column use the following and fill down:
=IF((D2>1)+(D3>1),"grp-"&COUNTIF(D$1:D3,2)-1,"")
I will try attaching again but sometimes this forum will filter files (especially .xlsm & .xlsb)
m_tarler
Mar 07, 2025Bronze Contributor
one option is to use conditional formatting on that column with a formula like:
=(D1>1)+(D2>1)
and choose a unique fill color
and then filter by that color
(see attached)
alternatively you could do the same thing using a helper column and then filter by that column
(in the attached I filtered out the zero values)
- anupambit1797Mar 07, 2025Iron Contributor
- anupambit1797Mar 07, 2025Iron Contributor
Thanks m_tarler with your logic yes atleast it colors the required date into a specific color so can be grouped, can we modify some more logic so that in the last column with the criteria you mentioned it will group them into grps 0,1,2,?
Thanks,
Br,
Anupam
- m_tarlerMar 07, 2025Bronze Contributor
In that last column use the following and fill down:
=IF((D2>1)+(D3>1),"grp-"&COUNTIF(D$1:D3,2)-1,"")
I will try attaching again but sometimes this forum will filter files (especially .xlsm & .xlsb)