Hello everyone,
I'm no excel pro so forgive me in advance for the lack of proper lingo. I'll try my best to explain everything correctly.
My goals is to create an interactive excel that will allow me to register multiple entrance and exits of material from my warehouse. This is just the first part, but I can't seem to find a solution to this problem out there.
So here we go:
Column B will be selected directly from a drop down list (This part was easy and its done)
Column C will pick the column B line (2 code letter from a set of 9 different codes) and generate a batch ID with "00n" or just "n" (see table bellow with example)
My issue is in generating column C output, I understand the logic, just can't make it happen in excel language:
I should be something like (ex.:Line 2):
1 - look in all C column for a number that starts with "B2" followed by n numbers - GF + 00n or n
2- from all the entries that start with "B2" give me the last entrie
3- return the next number in that alphanumeric code
4 - If nothing is found then write "B2" + 001 or 1
Does the logic makes sense? Or is there anything here I'm missing?
Thank you in advance for your help, and hope you're all have a nice day.
I'm no excel pro so forgive me in advance for the lack of proper lingo. I'll try my best to explain everything correctly.
My goals is to create an interactive excel that will allow me to register multiple entrance and exits of material from my warehouse. This is just the first part, but I can't seem to find a solution to this problem out there.
So here we go:
Column B will be selected directly from a drop down list (This part was easy and its done)
Column C will pick the column B line (2 code letter from a set of 9 different codes) and generate a batch ID with "00n" or just "n" (see table bellow with example)
My issue is in generating column C output, I understand the logic, just can't make it happen in excel language:
I should be something like (ex.:Line 2):
1 - look in all C column for a number that starts with "B2" followed by n numbers - GF + 00n or n
2- from all the entries that start with "B2" give me the last entrie
3- return the next number in that alphanumeric code
4 - If nothing is found then write "B2" + 001 or 1
A | B | C | |
1 | Date (EU) | Material Code | Batch ID |
2 | 04/07/2020 | GF | GF001 |
3 | 05/07/2020 | TD | TD001 |
4 | 06/07/2020 | JL | JL001 |
5 | 07/07/2020 | DM | DM001 |
6 | 08/07/2020 | PF | PF001 |
7 | 09/07/2020 | TQ | TQ001 |
8 | 10/07/2020 | PL | PL001 |
9 | 11/07/2020 | PS | PS001 |
10 | 12/07/2020 | PD | PD001 |
11 | 03/08/2020 | GF | GF002 |
12 | 03/08/2020 | GF | GF003 |
13 | 03/08/2020 | GF | GF004 |
14 | 03/08/2020 | DM | DM002 |
15 | 03/08/2020 | DM | DM003 |
Does the logic makes sense? Or is there anything here I'm missing?
Thank you in advance for your help, and hope you're all have a nice day.