Hi,
can anyone help me with the below:
I've so far tried =SUMIFS($A:$A,$B:$B,"*"&C1&"*"*"*"&D1&"*"
but this doesn't work.
If i was just counting if they both appeared in the string then no problem but D1 must come after C1
In the below i would expect the result to be 2
[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[/TR]
[TR]
[TD]1
[/TD]
[TD]String[/TD]
[TD]Value[/TD]
[TD]one[/TD]
[TD]four[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD][TABLE="width: 179"]
<tbody>[TR]
[TD="class: xl65, width: 179"]one >> two >> three >> four[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]1[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD][TABLE="width: 179"]
<tbody>[TR]
[TD="class: xl65, width: 179"]one >> two >> four >> three[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]1[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD][TABLE="width: 179"]
<tbody>[TR]
[TD="class: xl65, width: 179"]four >> two >> one >> three[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]1[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
can anyone help me with the below:
- I have delimiter separated strings in column A
- A value in column B
- Two separate strings in two reference cells (C1 and D1)
- I need to sum the values in column b where the string in column A contains first C1 then D1
I've so far tried =SUMIFS($A:$A,$B:$B,"*"&C1&"*"*"*"&D1&"*"
but this doesn't work.
If i was just counting if they both appeared in the string then no problem but D1 must come after C1
In the below i would expect the result to be 2
[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[/TR]
[TR]
[TD]1
[/TD]
[TD]String[/TD]
[TD]Value[/TD]
[TD]one[/TD]
[TD]four[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD][TABLE="width: 179"]
<tbody>[TR]
[TD="class: xl65, width: 179"]one >> two >> three >> four[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]1[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD][TABLE="width: 179"]
<tbody>[TR]
[TD="class: xl65, width: 179"]one >> two >> four >> three[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]1[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD][TABLE="width: 179"]
<tbody>[TR]
[TD="class: xl65, width: 179"]four >> two >> one >> three[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]1[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]