Skip to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Breaking down a field into separate fields.

Featured Replies

I have a part number that needs to be broken down to populate other fields. For instance the part number TE5A needs to broken down where "T" represents the manufacturer, "E" is the row the part is in and "5A" is the bin number. The problem I'm having is when we run into a part number such as TBB15A where "BB" is the row and "15A" is the bin number. Any ideas on how I can break these down?

What is the rule here? Does the first digit signify the end of the row and the beginning of a bin number?

  • Author

First letter represents the manufacturer. The next letter (or 2) represent the row, the digit followed by a letter represent the bin. The digit could be between 1 & 99

Try:

manufacturer:

Left ( part number ; 1 )

row:

Let(

r = Middle ( part number ; 2 ; 2 ) ;

Filter ( r ; KanjiNumeral ( r ) )

)

bin number:

Substitute ( part number ; manufacturer & row ; "" )

  • Author

That's perfect. Thank you so much.

I simplyfied the row calculation.

bin number:

Substitute ( part number ; manufacturer & row ; "" )

That's a rather bold assumption, isn't it?

I made this argument: if manufacturer has always a letter and row has always one (or two) letters ( IOW they haven't any digit ), then that calculation should work.

If bin number has only one letter.

the digit followed by a letter represent the bin. The digit could be between 1 & 99

Edit: oh, only now I understand you... you think that the bin number could have more than a single letter!

Yes, in that case the calculation may fail and it will better to use something like:

Let(

l = Length ( part number ) - Length ( row ) - 1 ;

Right ( part number ; l )

)

or:

Replace ( part number ; 1 ; Length ( row ) + 1 ; "" )

  • Author

There is one more thing I didn't realize. My parts are categorized as either bronze or aluminum. This calculaion works great if the category is bronze. If my category is aluminum my part number will look like TPM1 2 where T is still the manufacturer but PM1 is now my row and 2 is my bin. there is a space between PM1 and 2. My rows should always be 3 characters but my bin can be 2 digits.

Try:

manufacturer:

Left ( part number ; 1 )

row:

Let([

A = Middle ( part number ; 2 ; 3 ) ;

B = Middle ( part number ; 2 ; 2 )

];

Case(

category = "Aluminium" ; A ;

category = "Bronze" ; Filter ( B ; KanjiNumeral ( B ) )

)

)

bin number:

Trim ( Replace ( part number ; 1 ; Length ( row ) + 1 ; "" ) )

  • Author

Fantastic. Thank you again for your expertise. I would have never figured that out.

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.