Hello
I have a list of suppliers and sales reps that are assigned by Alphabet. For example; any supplier that begins with letters A-C are assigned to JAMIE, in addition to that any suppliers that begin with letters D-F are assigned to DONNA and suppliers that begin with letters G-I are assigned to JUSTIN and so on and so forth. A spreadsheet is provided daily with new suppliers added, I don't want to have to 'assign' each supplier manually because I pull this information into a pivot table by Sales Rep via a Macro.
I can figure out the first logic but can't include the rest in the same formula. Here is my formula:
=IF(LEFT(A3,1) = "A", B3,"NA") This formula works great for the first line but doesn't work if I try and do a range of alpha....like this:
=IF(LEFT(A4,1) = "A""B""C""D""E""F""G""H""I", B4,"NA") or like this: =IF(LEFT(A4,1) = "A-I", B4,"NA")
I have a table set up (as shown below) with alpha assignment
[TABLE="class: grid, width: 50, align: left"]
<tbody>[TR]
[TD]suppliers that begin with:[/TD]
[TD]REP[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]JAMIE[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD]JAMIE[/TD]
[/TR]
[TR]
[TD]C[/TD]
[TD]JAMIE[/TD]
[/TR]
[TR]
[TD]D[/TD]
[TD]DONNA[/TD]
[/TR]
[TR]
[TD]E[/TD]
[TD]DONNA[/TD]
[/TR]
[TR]
[TD]F[/TD]
[TD]DONNA[/TD]
[/TR]
[TR]
[TD]G[/TD]
[TD]JUSTIN[/TD]
[/TR]
[TR]
[TD]H[/TD]
[TD]JUSTIN[/TD]
[/TR]
[TR]
[TD]I[/TD]
[TD]JUSTIN[/TD]
[/TR]
</tbody>[/TABLE]
Can someone help?
I have a list of suppliers and sales reps that are assigned by Alphabet. For example; any supplier that begins with letters A-C are assigned to JAMIE, in addition to that any suppliers that begin with letters D-F are assigned to DONNA and suppliers that begin with letters G-I are assigned to JUSTIN and so on and so forth. A spreadsheet is provided daily with new suppliers added, I don't want to have to 'assign' each supplier manually because I pull this information into a pivot table by Sales Rep via a Macro.
I can figure out the first logic but can't include the rest in the same formula. Here is my formula:
=IF(LEFT(A3,1) = "A", B3,"NA") This formula works great for the first line but doesn't work if I try and do a range of alpha....like this:
=IF(LEFT(A4,1) = "A""B""C""D""E""F""G""H""I", B4,"NA") or like this: =IF(LEFT(A4,1) = "A-I", B4,"NA")
I have a table set up (as shown below) with alpha assignment
[TABLE="class: grid, width: 50, align: left"]
<tbody>[TR]
[TD]suppliers that begin with:[/TD]
[TD]REP[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]JAMIE[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD]JAMIE[/TD]
[/TR]
[TR]
[TD]C[/TD]
[TD]JAMIE[/TD]
[/TR]
[TR]
[TD]D[/TD]
[TD]DONNA[/TD]
[/TR]
[TR]
[TD]E[/TD]
[TD]DONNA[/TD]
[/TR]
[TR]
[TD]F[/TD]
[TD]DONNA[/TD]
[/TR]
[TR]
[TD]G[/TD]
[TD]JUSTIN[/TD]
[/TR]
[TR]
[TD]H[/TD]
[TD]JUSTIN[/TD]
[/TR]
[TR]
[TD]I[/TD]
[TD]JUSTIN[/TD]
[/TR]
</tbody>[/TABLE]
Can someone help?