I think you missed the point Marcelo Branco made (I made a typo trying the same)
You have this
=IF(SUM(F7:W8),INDEX(F7:W8,MATCH(TRUE,ISNUMBER(F7:W8),0))
The bits in red won't work, see your first for the difference
{=IF(SUM(F7:W7),INDEX(F7:W7,MATCH(TRUE,ISNUMBER(F7:W7),0))," ")}
And i don't get the second part or your revised formula, I get an error even if I remove the sheet reference. If I untangle the spaghetti I get that
if D8 = 1 then return A
if D8 = 2 then return AB
if D8 = 3 then return ABC
So returning the first [D8] letters in ABC...no??
Really you need to be clear, provide an example of what you have and the result you need.
Basically, the format needs to read
Project #+# of Wave Letter, i.e. in this instance,
9138000AB since there are 2 waves needed for this order of envelopes. The formula that is pulling that
9138000 number currently is the array formula =IF(SUM(F7:W7),INDEX(F7:W7,MATCH(TRUE,ISNUMBER(F7:W7),0))," ") which references the range of numbers in
green.
[TABLE="width: 1141"]
<colgroup><col><col><col><col><col><col><col><col><col><col><col><col><col span="2"><col><col><col><col><col><col><col><col><col><col><col><col><col><col><col><col><col><col><col><col><col><col><col></colgroup><tbody>[TR]
[TD="colspan: 5"]Sample Number(s):[/TD]
[TD="colspan: 3"]
9138000 [/TD]
[TD="colspan: 4"]
9138001[/TD]
[TD="colspan: 3"]
9138002[/TD]
[TD="colspan: 3"]
9138003[/TD]
[TD="colspan: 3"]
9138004[/TD]
[TD="colspan: 5"]
9138005[/TD]
[TD] [/TD]
[TD="colspan: 6"][/TD]
[TD="colspan: 4"][/TD]
[/TR]
[TR]
[TD="colspan: 5"] [/TD]
[TD="colspan: 3"]9138006 [/TD]
[TD="colspan: 4"]9138007[/TD]
[TD="colspan: 3"]9138008[/TD]
[TD="colspan: 3"]9138009[/TD]
[TD="colspan: 3"]9138010[/TD]
[TD="colspan: 5"]9138011[/TD]
[TD] [/TD]
[TD] [/TD]
[TD="colspan: 5"][/TD]
[TD="colspan: 4"][/TD]
[/TR]
[TR]
[TD="colspan: 5"] [/TD]
[TD="colspan: 22"] [/TD]
[TD="colspan: 6"][/TD]
[TD="colspan: 4"] [/TD]
[/TR]
[TR]
[TD="colspan: 5"]MPL #:[/TD]
[TD="colspan: 7"]101020[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD][/TD]
[TD] [/TD]
[TD="colspan: 4"] [/TD]
[TD="colspan: 4"] [/TD]
[/TR]
[TR]
[TD="colspan: 5"]Client Name:[/TD]
[TD="colspan: 17"]ABC Company[/TD]
[TD="colspan: 6"] [/TD]
[TD] [/TD]
[TD][/TD]
[TD="colspan: 7"][/TD]
[/TR]
[TR]
[TD="colspan: 5"]Parent Company:[/TD]
[TD="colspan: 17"] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD="colspan: 4"]P.O. Number:[/TD]
[TD]C–[/TD]
[TD="colspan: 3"]
9138000[/TD]
[/TR]
[TR]
[TD="colspan: 5"]Project Description:[/TD]
[TD="colspan: 17"][/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD="colspan: 4"]Need By Date:[/TD]
[TD="colspan: 4"]7/27/2018[/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD="colspan: 14"] [/TD]
[TD="colspan: 9"][/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="colspan: 9"]LETTERHEAD[/TD]
[TD="colspan: 10"]#10.5 ENVELOPES[/TD]
[TD="colspan: 11"]6 x 10 ENVELOPES[/TD]
[TD="colspan: 7"]CUSTOM ENVELOPES[/TD]
[/TR]
[TR]
[TD="colspan: 5"]Waves w/Letterhead:[/TD]
[TD="colspan: 4"]2[/TD]
[TD="colspan: 7"]# of Waves:[/TD]
[TD="colspan: 3"]2[/TD]
[TD="colspan: 8"]# of Waves:[/TD]
[TD="colspan: 3"]2[/TD]
[TD="colspan: 3"]# of Waves: 2[/TD]
[TD="colspan: 4"]
[/TD]
[/TR]
</tbody>[/TABLE]
I need to add (I think) an IF formula to that that also incorporates the formula you originally gave me but for English AND Spanish so that one of the following 2 conditions is met:
IF('Project Data Sheet'!B9="English",LEFT("ABC",'Project Data Sheet'!B8)," ") OR
IF('Project Data Sheet'!B9="Spanish",LEFT("XYZ",'Project Data Sheet'!B8)," ")
The formula that you provided is still giving me the project number, but no letter designation.
{=IF(SUM(F7:W7),INDEX(F7:W7,MATCH(TRUE,ISNUMBER(F7:W7),0))," ")&IF('Project Data Sheet'!B9="English",LEFT("ABC",'Project Data Sheet'!B8)," ")}
Does this explain things a bit better?