Match, sort and calculate

Issie_52

New Member
Joined
Jul 22, 2013
Messages
33
Good day,

Hope you can help me.

I have been using the following formula for years, the the last couple of months it is not working and I have to do it manually. Maybe I've copied something incorrectly or the formula is no longer valid.?

{=INDEX($R$10:$R$2800,MATCH(SMALL(IF(COUNTIF($U234:U$235, $R$10:$R$2800)=0, COUNTIF($R$10:$R$2800, "<"&$R$10:$R$2800), ""), 1), COUNTIF($R$10:$R$2800, "<"&$R$10:$R$2800), 0))}

I am calculating 122 extension number calls per quarter - each month separately and then the total.

It would really really be appreciated if someone can help me.

Thank you.
Windows 11 - Office 365
 

Attachments

  • Ref 1.jpg
    Ref 1.jpg
    43.7 KB · Views: 21
  • Ref 2.jpg
    Ref 2.jpg
    21.1 KB · Views: 21
  • Ref 3.jpg
    Ref 3.jpg
    43.8 KB · Views: 26

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
Hi,
Please consider to upload sample data using XL2BB add-on. (see my signature for the link).
It beats pictures. And really simplifies our effort to help you.

PS: If you are on 365, there is no longer a need to use CONTROL+SHIFT+ENTER to confirm array formulas. It's the default behaviour now.
 
Upvote 0
Good day @GraH.
Hi,
Please consider to upload sample data using XL2BB add-on. (see my signature for the link).
It beats pictures. And really simplifies our effort to help you.

PS: If you are on 365, there is no longer a need to use CONTROL+SHIFT+ENTER to confirm array formulas. It's the default behaviour now.
Good day GraH,

Apologies for the late reply but hoping you can still help me.

I have changed the formula, and it now pick up all the units and amounts, however, column T does not sort from 1 to 122.

Herotel VoIP 2024.xlsx
ABCDEFGHIJKLMNOPQRSTU
4312024-08-1617:47:00828724575Mobile Vodacom00:00:2245R 0.35105R 0.19097R 8.32
4322024-08-0707:44:00833179658Mobile Vodacom00:00:0947R 0.14106R 0.42099R 4.32
4332024-08-1615:08:00833179658Mobile Vodacom00:00:0947R 0.14107R 0.250101R 4.22
4342024-08-1712:00:00833179658Mobile Vodacom00:00:0747R 0.11109R 1.120102R 1.89
4352024-07-2708:27:00832872057Mobile Vodacom00:00:3748R 0.58110R 0.130104R 3.76
4362024-08-0108:53:00832872057Mobile Vodacom00:00:1448R 0.23111R 2.120105R 0.81
4372024-08-2108:29:00833819866Mobile Vodacom00:00:1148R 0.18112R 0.890106R 1.51
4382024-08-2209:15:00833819866Mobile Vodacom00:00:1148R 0.18114R 0.250107R 3.75
4392024-08-2209:16:00833819866Mobile Vodacom00:00:1448R 0.23115R 1.780108R 0.72
4402024-08-2311:40:00832872057Mobile Vodacom00:00:1948R 0.30116R 0.830109R 3.61
4412024-07-2518:03:00823297759Mobile Vodacom00:00:1949R 0.30117R 0.430110R 0.61
4422024-07-3015:39:00823297759Mobile Vodacom00:00:0749R 0.11118R 0.060111R 3.06
4432024-08-1111:10:00823297759Mobile Vodacom00:00:1249R 0.19120R 1.840112R 1.93
4442024-08-1315:28:00823297759Mobile Vodacom00:00:0949R 0.14122R 0.630115R 2.97
4452024-07-2619:16:00783936599Mobile Vodacom00:00:1750R 0.270R -116R 1.60
4462024-08-0209:13:00783936599Mobile Vodacom00:00:2050R 0.32118R 0.61
4472024-08-0718:31:00783936599Mobile Vodacom00:00:1250R 0.19122R 1.24
4482024-08-1715:48:00783936599Mobile Vodacom00:00:1250R 0.1922R 0.62
4492024-08-1918:01:00783936599Mobile Vodacom00:00:1150R 0.1830R 0.91
4502024-08-2117:58:00783936599Mobile Vodacom00:00:1650R 0.2551R 1.23
4512024-08-2212:31:00783936599Mobile Vodacom00:00:1150R 0.1867R 1.22
4522024-08-2214:34:00828210823Mobile Vodacom00:00:1951R 0.3069R 0.20
4532024-08-0616:24:00829227375Mobile Vodacom00:00:1053R 0.1679R 1.53
4542024-08-2112:32:00829227375Mobile Vodacom00:00:0753R 0.1180R 0.01
4552024-08-2211:57:00829227375Mobile Vodacom00:00:1353R 0.2084R 0.64
3Q
Cell Formulas
RangeFormula
Q431:Q445Q431=INDEX($I$330:$I$597,MATCH(0, COUNTIF($Q$362:Q430, $I$330:$I$597), 0))
R431:R445R431=SUMIF($I$330:$I$596,Q431,$K$330:$K$596)
T431:T455T431=INDEX($Q$10:$Q$1092,MATCH(0, COUNTIF($T$360:T430, $Q$10:$Q$1092), 0))
U431:U455U431=SUMIF($Q$10:$Q$1065,T431,$R$10:$R$1065)
Cells with Conditional Formatting
CellConditionCell FormatStop If True
Q356:Q445Cellcontains an errortextNO
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,182
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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