babaso_tawase
Board Regular
- Joined
- Feb 5, 2017
- Messages
- 73
- Office Version
- 2007
- Platform
- Windows
Hi, I have large data (about 7000 rows) like below format in excel 2007 version. I want to count no of batches (data in number and text format with repeated value) in column 2nd with corresponding name in 1st column. like how many batches corresponding to name ABC and answer should be 3.
I using Arrey formula as below
in first step listing unique list
{=IFERROR(INDEX($B$3:$B$15, MATCH(0, IF($A$1=$A$3:$A$15, COUNTIF($F$1:$F2, $B$3:$B$15), ""), 0)),"-")}
in second step counting
=COUNTIF(F2:F19,"<>*-*")
This step gives correct answer but excel sheet becomes very slow and unresponsive for large data.
please suggest is there any other solution or formula.
A1 cell = ABC
I using Arrey formula as below
in first step listing unique list
{=IFERROR(INDEX($B$3:$B$15, MATCH(0, IF($A$1=$A$3:$A$15, COUNTIF($F$1:$F2, $B$3:$B$15), ""), 0)),"-")}
in second step counting
=COUNTIF(F2:F19,"<>*-*")
This step gives correct answer but excel sheet becomes very slow and unresponsive for large data.
please suggest is there any other solution or formula.
A1 cell = ABC
Name | Batch No. |
ABC | 121(1123)123 |
AB | 12456 |
AC | 125(1256)456 |
ABC | B1245 |
ABC | 4568 |
ABC | B1245 |