In column A I have Account Names (A,B,C); they are listed randomly in rows 1-100. In column B I have dollar amounts (different for each account listed in column A). In each cell in column C I have text that includes the words "SALES" and "SHRS". In each cell in column D there is either an "S" or an "L".
What I would like to do in column F is insert the dollar amounts in column B when (i) the cell in column C contains the words "SALES" and "SHRS", and (ii) the cell in column D contains an "L"
Therefore, for example, if B1 was $100, C1 contained "SALES" and "SHRS" (among other verbiage), and cell D1 contained an "L", then F1 would be populated with $100; if, continuing the example, if D1 contained an "S", cell F1 would be blank or empty.
Any help?
I think its a sumproduct issue, but cant figure out how to use the wildcards.
What I would like to do in column F is insert the dollar amounts in column B when (i) the cell in column C contains the words "SALES" and "SHRS", and (ii) the cell in column D contains an "L"
Therefore, for example, if B1 was $100, C1 contained "SALES" and "SHRS" (among other verbiage), and cell D1 contained an "L", then F1 would be populated with $100; if, continuing the example, if D1 contained an "S", cell F1 would be blank or empty.
Any help?
I think its a sumproduct issue, but cant figure out how to use the wildcards.