Finding the highest revision levels in a BoM

DazCD

New Member
Joined
Aug 19, 2024
Messages
19
Office Version
  1. 365
Platform
  1. Windows
Good morning everyone:

I'm trying to filter on a HUGE sheet to find the highest revision for a parent code using the following formula:

=FILTER(INDEX('[EFACS Data Downloads (BOM)..xlsx]BOM Parts'!$A:$K, SEQUENCE(ROWS('[EFACS Data Downloads (BOM)..xlsx]BOM Parts'!$A:$A)), {1,2,4,5,11}), '[EFACS Data Downloads (BOM)..xlsx]BOM Parts'!$A:$A=R2) (The top level code is being typed into R2)

Which returns the following:

Product CodeParent DescriptionBoM ChildChild DescriptionMethod
CD650017180g Teeny Tiny Turtles 2025N6001863kg Bubble Gum Teeny Tiny Turtles1
CD650017180g Teeny Tiny Turtles 2025N98427Compostable SS Bag 76x114x180 CRIMP N0061
CD650017180g Teeny Tiny Turtles 2025Y000323Plain Label 60 x 65 Rectangle (1227)1
CD650017180g Teeny Tiny Turtles 2025FLCD100001%+Treat co Logo Label 2025+%1
CD650017180g Teeny Tiny Turtles 2025PB000445100mm x 90mtrs Direct Thermal Lab Media Perm Adhesive1
CD650017180g Teeny Tiny Turtles 2025BX001647APL214402 SRP Outer Box Sweets1
CD650017180g Teeny Tiny Turtles 2025BX001647APL214402 SRP Outer Box Sweets2
CD650017180g Teeny Tiny Turtles 2025FLCD100001%+Treat co Logo Label 2025+%2
CD650017180g Teeny Tiny Turtles 2025N6001863kg Bubble Gum Teeny Tiny Turtles2
CD650017180g Teeny Tiny Turtles 2025N98427Compostable SS Bag 76x114x180 CRIMP N0062
CD650017180g Teeny Tiny Turtles 2025Y000323Plain Label 60 x 65 Rectangle (1227)2
CD650017180g Teeny Tiny Turtles 2025PB00001976mm x 76mm White Thermal Box Label2
CD650017180g Teeny Tiny Turtles 2025BX001647APL214402 SRP Outer Box Sweets3
CD650017180g Teeny Tiny Turtles 2025FLCD100001%+Treat co Logo Label 2025+%3
CD650017180g Teeny Tiny Turtles 2025N98427Compostable SS Bag 76x114x180 CRIMP N0063
CD650017180g Teeny Tiny Turtles 2025PB00001976mm x 76mm White Thermal Box Label3
CD650017180g Teeny Tiny Turtles 2025Y000323Plain Label 60 x 65 Rectangle (1227)3
CD650017180g Teeny Tiny Turtles 2025Y000338Teeny Tiny Turtles (3kg)3
CD650017180g Teeny Tiny Turtles 2025BX001647APL214402 SRP Outer Box Sweets4
CD650017180g Teeny Tiny Turtles 2025FLCD100001%+Treat co Logo Label 2025+%4
CD650017180g Teeny Tiny Turtles 2025PB00001976mm x 76mm White Thermal Box Label4
CD650017180g Teeny Tiny Turtles 2025Y000323Plain Label 60 x 65 Rectangle (1227)4
CD650017180g Teeny Tiny Turtles 2025Y000338Teeny Tiny Turtles (3kg)4
CD650017180g Teeny Tiny Turtles 2025X00002475x114x160 Gussetted Cello Bag New4




However, As you can see, it's returning multiple BoM revisions (the 'Method'), I only want the highest number revision to appear, in this case all rows associated with '4', i've been messing with it for hours but can't figure it out.

Could any one kindly assist?
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.

Forum statistics

Threads
1,224,823
Messages
6,181,177
Members
453,021
Latest member
Justyna P

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