split answers in 1 cell

rjmdc

Well-known Member
Joined
Apr 29, 2020
Messages
708
Office Version
  1. 365
Platform
  1. Windows
hi
original formula is =SUM(COUNTIFS(M:M,{650,713,733},O:O,"<>TERM",O:O,"<>PEND"))
i really need a sum that looks like this ex:
11 | 3 | 0
or even better 650:11|713:3|733:0
is that possible?
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
Hello! You can provide a fragment of your data to understand what you want?
 
Upvote 0
How about such form (it's a spill formula so make sure you have one column on right and 2 rows below the cell empty):
Excel Formula:
=GROUPBY(M:M,M:M,COUNT,0,0,,(O:O<>"TERM")*(O:O<>"PEND")*ISNUMBER(MATCH(M:M,{650;713;733},0)))
 
Upvote 0
Hi, in lieu of a clear set of example data and expected results, here's my guess at what you want.

Book1
MNOP
165011 | 3 | 0
2650650:11|713:3|733:0
3713
4713
5650
6650
7713
8650
9650
10650
11650
12650
13650
14650
Sheet1
Cell Formulas
RangeFormula
P1P1=TEXTJOIN(" | ",,COUNTIFS(M:M,{650,713,733},O:O,"<>TERM",O:O,"<>PEND"))
P2P2=LET(Arr,{650,713,733},TEXTJOIN("|",,Arr&":"&COUNTIFS(M:M,Arr,O:O,"<>TERM",O:O,"<>PEND")))
 
Upvote 0
i think P2 is what i am aiming for
lets see if i can make it work
 
Upvote 0

Forum statistics

Threads
1,224,827
Messages
6,181,194
Members
453,021
Latest member
pingpong7117

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