Count of NEW CUSTOMERS Q2 Q3 Q4

makinmomb

Active Member
Joined
Dec 23, 2013
Messages
401
The formula on J2 is =IF(H2>100000,COUNT(J1:J$1)+1,"")

What are the formulas on D15, E15 16 E17 , F15 F16 F17 on the data below


acc acc name quart JAN-MAR APR-JUNJUL-SEPOCT-DECtotal
A198 Q1 109,800 xxx 109,800.00 1
A306 Q1 297,370 332,980 x12,500 642,850.06 2
B089 Q1 80,564 xxx 80,564.20
A419 Q2 new x348,750 xx 348,750.00 3
A424 Q2 new x1,172,055 335,600 58,430 1,566,085.00 4
D148 Q2 new x1,181,950 xx 1,181,950.00 5
A429 Q3 new xx174,870 x 174,870.00 6
A442 Q3 new xx10,518,090 x 10,518,090.00 7
P329 Q3 new xx1,522,500 6,880,250 8,402,750.00 8
B050 Q4 new xxx-32,100 - 32,100.00
start Q1newrepeattotal
Q1 xx0
Q2x 0
Q3x 0
Q4x 0
<colgroup><col width="64" style="width: 48pt;"> <col width="72" style="width: 54pt; mso-width-source: userset; mso-width-alt: 2633;"> <col width="65" style="width: 49pt; mso-width-source: userset; mso-width-alt: 2377;"> <col width="89" style="width: 67pt; mso-width-source: userset; mso-width-alt: 3254;" span="4"> <col width="98" style="width: 74pt; mso-width-source: userset; mso-width-alt: 3584;"> <col width="48" style="width: 36pt; mso-width-source: userset; mso-width-alt: 1755;"> <col width="21" style="width: 16pt; mso-width-source: userset; mso-width-alt: 768;"> <tbody> </tbody>
 
I am still half way sorted , the repeat clients formula, this one is partially working for Q2 and Q3
=COUNTIF($E$2:$E$11,">100000")-E15
( The result of Q4 should be 0 it counts as 1

start Q1newrepeat
Q12xx
Q2x3
Q3x3
Q4x0

<tbody>
</tbody>


I meant the result should be 3 since it did not count , 12500 and 58430 both the year end total of this clients are above 100,000
 
Upvote 0

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
Could you share the logic of "repeat" in more details, and which are the customers that should be in Q2 repeat and Q3 repeat?
 
Upvote 0
Could you share the logic of "repeat" in more details, and which are the customers that should be in Q2 repeat and Q3 repeat?

q2 = 1 that is 332980 as the same client bought in Q1 297370
q3=1 that is 335,600
q4= 12500 ( total exceeding 100,000 ) 58430 ( total exceeding 100,000 )
and 6,880,250
 
Upvote 0
Try this.


ABCDEFGHIJ
1accacc namequartJAN-MARAPR-JUNJUL-SEPOCT-DECtotal
2A198Q1109,800xxx109,800.001
3A306Q1297,370332,980x12,500642,850.002
4B089Q180,564xxx80,564.00
5A419Q2 newx348,750xx348,750.003
6A424Q2 newx1,172,055335,60058,4301,566,085.004
7D148Q2 newx1,181,950xx1,181,950.005
8A429Q3 newxx174,870x174,870.006
9A442Q3 newxx10,518,090x10,518,090.007
10P329Q3 newxx1,522,5006,880,2508,402,750.008
11B050Q4 newxxx-32,100-32,100.00
12
13start Q1newrepeattotal
14Q12002
15Q20314
16Q30314
17Q40033

<tbody>
</tbody>

Spreadsheet Formulas
CellFormula
D14=SUMPRODUCT((C$2:C$11=C14)*(H$2:H$11>100000))
E14=SUMPRODUCT((C$2:C$11=C14&" new")*(H$2:H$11>100000))
F14{=SUMPRODUCT(IF<font color="#008000">(<font color="#0000FF">(ISNUMBER(D$2:D$11)*<font color="#FF0000">(COLUMN(D$2:D$11)-3<value<font color="#804000">(RIGHT(C14,1)))</value+<font color="#0000FF">(ISNUMBER(E$2:E$11)*<font color="#FF0000">(COLUMN(E$2:E$11)-3<value(RIGHT(C14,1)))+(ISNUMBER(F$2:F$11)*(COLUMN(F$2:F$11)-3<value(RIGHT(C14,1)))>0,1,0),ISNUMBER(INDEX($D$2:$G$11,0,VALUE(RIGHT(C14,1))))*(H$2:H$11>100000))}</value</value

<tbody>
</tbody>
Formula Array:
Produce enclosing
{ } by entering
formula with CTRL+SHIFT+ENTER!

ps: copy the formula down to row17

<tbody>
</tbody>
 
Upvote 0
Try this.


ABCDEFGHIJ
1accacc namequartJAN-MARAPR-JUNJUL-SEPOCT-DECtotal
2A198Q1109,800xxx109,800.001
3A306Q1297,370332,980x12,500642,850.002
4B089Q180,564xxx80,564.00
5A419Q2 newx348,750xx348,750.003
6A424Q2 newx1,172,055335,60058,4301,566,085.004
7D148Q2 newx1,181,950xx1,181,950.005
8A429Q3 newxx174,870x174,870.006
9A442Q3 newxx10,518,090x10,518,090.007
10P329Q3 newxx1,522,5006,880,2508,402,750.008
11B050Q4 newxxx-32,100-32,100.00
12
13start Q1newrepeattotal
14Q12002
15Q20314
16Q30314
17Q40033

<tbody>
</tbody>

Spreadsheet Formulas
CellFormula
D14=SUMPRODUCT((C$2:C$11=C14)*(H$2:H$11>100000))
E14=SUMPRODUCT((C$2:C$11=C14&" new")*(H$2:H$11>100000))
F14{=SUMPRODUCT(IF<font color="#008000">(<font color="#0000ff">(ISNUMBER(D$2:D$11)*<font color="#ff0000">(COLUMN(D$2:D$11)-3<value<font color="#804000">(RIGHT(C14,1)))</value(ISNUMBER(E$2:E$11)*<font color="#ff0000">(COLUMN(E$2:E$11)-3<value(RIGHT(C14,1)))+(ISNUMBER(F$2:F$11)*(COLUMN(F$2:F$11)-3<value(RIGHT(C14,1)))>0,1,0),ISNUMBER(INDEX($D$2:$G$11,0,VALUE(RIGHT(C14,1))))*(H$2:H$11>100000))}</value</value

<tbody>
</tbody>
Formula Array:
Produce enclosing
{ } by entering
formula with CTRL+SHIFT+ENTER!

ps: copy the formula down to row17

<tbody>
</tbody>

Super ALVIN I am sorted , but I most import formula isn't working , that on cell F14, advice if the SYNTAX is exact
 
Upvote 0
F14:F17 are formula arrays, did you press ctrl+shift+enter instead of just enter after copy/paste the formula from this post to your spreadsheet?
 
Upvote 0
=SUMPRODUCT(IF((ISNUMBER(D$2:D$11)*(COLUMN(D$2:D$11)-3(RIGHT(C14,1)))(E$2:E$11)*(COLUMN(E$2:E$11)-3(RIGHT(C14,1)))+(ISNUMBER(F$2:F$11)*(COLUMN(F$2:F$11)-3(RIGHT(C14,1)))>0,1,0),ISNUMBER(INDEX($D$2:$G$11,0,VALUE(RIGHT(C14,1))))*(H$2:H$11>100000))

This is the formula and I am pressing CTRL SHIFT END exactly how it needs to be
 
Upvote 0
Its also highlighting the words D$2:D$11 in yellow , not sure what that means

(D$2:D$11)*(COLUMN(D$2:D$11)-
 
Upvote 0

Forum statistics

Threads
1,215,443
Messages
6,124,890
Members
449,194
Latest member
JayEggleton

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top