G'Day Excel people's,
Background:
What I have is an Excel sheet set up as a monthly schedule. Currently a file number is allocated to each job manually in a separate Excel workbook and then this is manually inputted onto the monthly schedule. This is a cumbersome timely process (and who here loves typing out the same spiel multiple times!!!).
File numbers are based on two criteria; State order is placed from (manual entry) and System name (manual entry)
Task:
What I require is when I enter the two criteria; State and System Name I require Excel to return the next unique file number to a job from a list based on meeting the two criteria.
Hopefully I have made this easier by attaching a sample workbook (not sure how to attach so provided sample below instead) with the schedule and lists of unique file numbers. My guess is that what I am looking for is some form of Lookup, but I am really unsure how I can make Excel assign the next unique number from a list if the number above it has already been used.
[TABLE="class: grid, width: 745"]
<tbody>[TR]
[TD]Date Revised[/TD]
[TD]Entered[/TD]
[TD]Assembly[/TD]
[TD]Ex-Works[/TD]
[TD]FILE No.[/TD]
[TD]JOB NAME[/TD]
[TD]State[/TD]
[TD]Order #[/TD]
[TD]Job No.[/TD]
[TD]System[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]15/07[/TD]
[TD]31/07[/TD]
[TD]2/08[/TD]
[TD]TD1[/TD]
[TD]Insert job name here[/TD]
[TD]QLD[/TD]
[TD][/TD]
[TD][/TD]
[TD]System 3[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]15/07[/TD]
[TD]1/08[/TD]
[TD]2/08[/TD]
[TD]UC2000[/TD]
[TD]Insert job name here[/TD]
[TD]NSW[/TD]
[TD][/TD]
[TD][/TD]
[TD]System 2[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]15/07[/TD]
[TD]28/07[/TD]
[TD]2/08[/TD]
[TD]TD2[/TD]
[TD]Insert job name here[/TD]
[TD]QLD[/TD]
[TD][/TD]
[TD][/TD]
[TD]System 3[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]#[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]#[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]#[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="class: grid, width: 1458"]
<tbody>[TR]
[TD]System Type:[/TD]
[TD]System 1[/TD]
[TD]System 1[/TD]
[TD]System 1[/TD]
[TD]System 1[/TD]
[TD]System 1[/TD]
[TD]System 1[/TD]
[TD]System 1[/TD]
[TD]System 2[/TD]
[TD]System 2[/TD]
[TD]System 2[/TD]
[TD]System 2[/TD]
[TD]System 2[/TD]
[TD]System 2[/TD]
[TD]System 2[/TD]
[TD]System 3[/TD]
[TD]System 3[/TD]
[TD]System 3[/TD]
[TD]System 3[/TD]
[TD]System 3[/TD]
[TD]System 3[/TD]
[TD]System 3[/TD]
[/TR]
[TR]
[TD]State:[/TD]
[TD]VIC[/TD]
[TD]ACT[/TD]
[TD]NSW[/TD]
[TD]QLD[/TD]
[TD]SA[/TD]
[TD]WA[/TD]
[TD]EXP[/TD]
[TD]VIC[/TD]
[TD]ACT[/TD]
[TD]NSW[/TD]
[TD]QLD[/TD]
[TD]SA[/TD]
[TD]WA[/TD]
[TD]EXP[/TD]
[TD]VIC[/TD]
[TD]ACT[/TD]
[TD]NSW[/TD]
[TD]QLD[/TD]
[TD]SA[/TD]
[TD]WA[/TD]
[TD]EXP[/TD]
[/TR]
[TR]
[TD]File No.[/TD]
[TD]SV2000[/TD]
[TD]SE2000[/TD]
[TD]SC2000[/TD]
[TD]SD2000[/TD]
[TD]SG2000[/TD]
[TD]SF2000[/TD]
[TD]SX2000[/TD]
[TD]UV2000[/TD]
[TD]UE2000[/TD]
[TD]UC2000[/TD]
[TD]UD2000[/TD]
[TD]UG2000[/TD]
[TD]UF2000[/TD]
[TD]UX2000[/TD]
[TD]TV1[/TD]
[TD]TE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D]UE2007[/TD]
[TD]UC2007[/TD]
[TD]UD2007[/TD]
[TD]UG2007[/TD]
[TD]UF2007[/TD]
[TD]UX2007[/TD]
[TD]TV8[/TD]
[TD]TE8[/TD]
[TD]TC8[/TD]
[TD]TD8[/TD]
[TD]TG8[/TD]
[TD]TF8[/TD]
[TD]TX8[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]SV2008[/TD]
[TD]SE2008[/TD]
[TD]SC2008[/TD]
[TD]SD2008[/TD]
[TD]SG2008[/TD]
[TD]SF2008[/TD]
[TD]SX2008[/TD]
[TD]UV2008[/TD]
[TD]UE2008[/TD]
[TD]UC2008[/TD]
[TD]UD2008[/TD]
[TD]UG2008[/TD]
[TD]UF2008[/TD]
[TD]UX2008[/TD]
[TD]TV9[/TD]
[TD]TE9[/TD]
[TD]TC9[/TD]
[TD]TD9[/TD]
[TD]TG9[/TD]
[TD]TF9[/TD]
[TD]TX9[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]SV2009[/TD]
[TD]SE2009[/TD]
[TD]SC2009[/TD]
[TD]SD2009[/TD]
[TD]SG2009[/TD]
[TD]SF2009[/TD]
[TD]SX2009[/TD]
[TD]UV2009[/TD]
[TD]UE2009[/TD]
[TD]UC2009[/TD]
[TD]UD2009[/TD]
[TD]UG2009[/TD]
[TD]UF2009[/TD]
[TD]UX2009[/TD]
[TD]TV10[/TD]
[TD]TE10[/TD]
[TD]TC10[/TD]
[TD]TD10[/TD]
[TD]TG10[/TD]
[TD]TF10[/TD]
[TD]TX10[/TD]
[/TR]
</tbody>[/TABLE]
Should you require more info from me please don't hesitate to ask!
Cheers!
Excel 2003 / Windows XP
Background:
What I have is an Excel sheet set up as a monthly schedule. Currently a file number is allocated to each job manually in a separate Excel workbook and then this is manually inputted onto the monthly schedule. This is a cumbersome timely process (and who here loves typing out the same spiel multiple times!!!).
File numbers are based on two criteria; State order is placed from (manual entry) and System name (manual entry)
Task:
What I require is when I enter the two criteria; State and System Name I require Excel to return the next unique file number to a job from a list based on meeting the two criteria.
Hopefully I have made this easier by attaching a sample workbook (not sure how to attach so provided sample below instead) with the schedule and lists of unique file numbers. My guess is that what I am looking for is some form of Lookup, but I am really unsure how I can make Excel assign the next unique number from a list if the number above it has already been used.
[TABLE="class: grid, width: 745"]
<tbody>[TR]
[TD]Date Revised[/TD]
[TD]Entered[/TD]
[TD]Assembly[/TD]
[TD]Ex-Works[/TD]
[TD]FILE No.[/TD]
[TD]JOB NAME[/TD]
[TD]State[/TD]
[TD]Order #[/TD]
[TD]Job No.[/TD]
[TD]System[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]15/07[/TD]
[TD]31/07[/TD]
[TD]2/08[/TD]
[TD]TD1[/TD]
[TD]Insert job name here[/TD]
[TD]QLD[/TD]
[TD][/TD]
[TD][/TD]
[TD]System 3[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]15/07[/TD]
[TD]1/08[/TD]
[TD]2/08[/TD]
[TD]UC2000[/TD]
[TD]Insert job name here[/TD]
[TD]NSW[/TD]
[TD][/TD]
[TD][/TD]
[TD]System 2[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]15/07[/TD]
[TD]28/07[/TD]
[TD]2/08[/TD]
[TD]TD2[/TD]
[TD]Insert job name here[/TD]
[TD]QLD[/TD]
[TD][/TD]
[TD][/TD]
[TD]System 3[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]#[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]#[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]#[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="class: grid, width: 1458"]
<tbody>[TR]
[TD]System Type:[/TD]
[TD]System 1[/TD]
[TD]System 1[/TD]
[TD]System 1[/TD]
[TD]System 1[/TD]
[TD]System 1[/TD]
[TD]System 1[/TD]
[TD]System 1[/TD]
[TD]System 2[/TD]
[TD]System 2[/TD]
[TD]System 2[/TD]
[TD]System 2[/TD]
[TD]System 2[/TD]
[TD]System 2[/TD]
[TD]System 2[/TD]
[TD]System 3[/TD]
[TD]System 3[/TD]
[TD]System 3[/TD]
[TD]System 3[/TD]
[TD]System 3[/TD]
[TD]System 3[/TD]
[TD]System 3[/TD]
[/TR]
[TR]
[TD]State:[/TD]
[TD]VIC[/TD]
[TD]ACT[/TD]
[TD]NSW[/TD]
[TD]QLD[/TD]
[TD]SA[/TD]
[TD]WA[/TD]
[TD]EXP[/TD]
[TD]VIC[/TD]
[TD]ACT[/TD]
[TD]NSW[/TD]
[TD]QLD[/TD]
[TD]SA[/TD]
[TD]WA[/TD]
[TD]EXP[/TD]
[TD]VIC[/TD]
[TD]ACT[/TD]
[TD]NSW[/TD]
[TD]QLD[/TD]
[TD]SA[/TD]
[TD]WA[/TD]
[TD]EXP[/TD]
[/TR]
[TR]
[TD]File No.[/TD]
[TD]SV2000[/TD]
[TD]SE2000[/TD]
[TD]SC2000[/TD]
[TD]SD2000[/TD]
[TD]SG2000[/TD]
[TD]SF2000[/TD]
[TD]SX2000[/TD]
[TD]UV2000[/TD]
[TD]UE2000[/TD]
[TD]UC2000[/TD]
[TD]UD2000[/TD]
[TD]UG2000[/TD]
[TD]UF2000[/TD]
[TD]UX2000[/TD]
[TD]TV1[/TD]
[TD]TE1[/TD]
[TD]TC1[/TD]
[TD]TD1[/TD]
[TD]TG1[/TD]
[TD]TF1[/TD]
[TD]TX1[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]SV2001[/TD]
[TD]SE2001[/TD]
[TD]SC2001[/TD]
[TD]SD2001[/TD]
[TD]SG2001[/TD]
[TD]SF2001[/TD]
[TD]SX2001[/TD]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TD]
[TD]SV2008[/TD]
[TD]SE2008[/TD]
[TD]SC2008[/TD]
[TD]SD2008[/TD]
[TD]SG2008[/TD]
[TD]SF2008[/TD]
[TD]SX2008[/TD]
[TD]UV2008[/TD]
[TD]UE2008[/TD]
[TD]UC2008[/TD]
[TD]UD2008[/TD]
[TD]UG2008[/TD]
[TD]UF2008[/TD]
[TD]UX2008[/TD]
[TD]TV9[/TD]
[TD]TE9[/TD]
[TD]TC9[/TD]
[TD]TD9[/TD]
[TD]TG9[/TD]
[TD]TF9[/TD]
[TD]TX9[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]SV2009[/TD]
[TD]SE2009[/TD]
[TD]SC2009[/TD]
[TD]SD2009[/TD]
[TD]SG2009[/TD]
[TD]SF2009[/TD]
[TD]SX2009[/TD]
[TD]UV2009[/TD]
[TD]UE2009[/TD]
[TD]UC2009[/TD]
[TD]UD2009[/TD]
[TD]UG2009[/TD]
[TD]UF2009[/TD]
[TD]UX2009[/TD]
[TD]TV10[/TD]
[TD]TE10[/TD]
[TD]TC10[/TD]
[TD]TD10[/TD]
[TD]TG10[/TD]
[TD]TF10[/TD]
[TD]TX10[/TD]
[/TR]
</tbody>[/TABLE]
Should you require more info from me please don't hesitate to ask!
Cheers!
Excel 2003 / Windows XP