Filtering a list further

SanjayGMusafir

Well-known Member
Joined
Sep 7, 2018
Messages
1,513
Office Version
  1. 2024
Platform
  1. Windows
Hi Experts
This is the power of Excel - That you start to believe can I go 1 level further.

Recently I had a thread -

where @Eric W @ISY @Fluff gave me the solution.

Due to my system constraints only @Eric W formula worked on my system

Which is as below -
Excel Formula:
=LET(
t,Clients[[PMobile]:[sR2]],
r,ROWS(t),
sel,{1,4,7,10,13,16},
c,COLUMNS(sel),
s,SEQUENCE(r*c,,0),
fMob,INDEX(t,MOD(s,r)+1,INDEX(sel,INT(s/r)+1)),
SORT(UNIQUE(fMob),,-1))

Now If I may be able to Explain my Data Structure that is as below -
PMobilePsPOMobileOsOFMobileFsFMMobileMsMSMobileSsSRMobileR2sR2


Here after every column that contains mobile for eg PMobile, I have a column 2 after that has header sP (stands for Status of PMobile) - which indicates me whether the number is working or not. I put "NW" in columns - sP, sO, sF, sM, sS, sR2 if corresponding numbers are not working.

Can we further modify the above formula in a way that the numbers which have "NW" next to them in 2 columns right get eliminated (Filtered) out of the list.

This shall make my life much easy to cross check each number each time. Or say things shall get automated for me.

Any help is much appreciated.
Thanks in advance

Any further clarification required is welcomed. Apologies if I left any ambiguity while explaining.
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
How about
Excel Formula:
=LET(t,Clients[[PMobile]:[sR2]],r,ROWS(t),c,COLUMNS(t),s,SEQUENCE(r*c/3,,0),fMob,INDEX(t,MOD(s,r)+1,INT(s/r)*3+{1,2,3}),SORT(UNIQUE(INDEX(FILTER(fMob,INDEX(fMob,,3)<>"nw"),,1)),,-1))
 
Upvote 0
Solution
How about
Excel Formula:
=LET(t,Clients[[PMobile]:[sR2]],r,ROWS(t),c,COLUMNS(t),s,SEQUENCE(r*c/3,,0),fMob,INDEX(t,MOD(s,r)+1,INT(s/r)*3+{1,2,3}),SORT(UNIQUE(INDEX(FILTER(fMob,INDEX(fMob,,3)<>"nw"),,1)),,-1))
It did the magic. Thanks @Fluff
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top