Help to Index unique records in Multiple columns

darrenmccoy

New Member
Joined
Mar 26, 2019
Messages
21
Hi Experts, Could you help me with formulas to index data where there are duplicates in multiple columns?
I am trying to find counts of all unique records and tabulate it.
Here is a sample of the data to be indexed. The found records are UID from a CRM.

<style type="text/css"><!--td {border: 1px solid #ccc;}br {mso-data-placement:same-cell;}--></style>
NAMEPHONEEMAIL
NOT FOUND0036F00003EAyMl0036F00003EAyMl
NOT FOUNDNOT FOUND0036F00003KKCCU
NOT FOUNDNOT FOUND0036F00003KKCCU
NOT FOUNDNOT FOUNDNOT FOUND
NOT FOUND0036F00002wW3QR0036F00002wW3QR
0036F000036skXPNOT FOUNDNOT FOUND
0036F00002FauAq0036F00002FauAq0036F00002FauAq
0036F00002FauAq0036F00002FauAq0036F00002FauAq
0036F00003GdlKu0036F00003Gcm5Z0036F00003Gcm5Z
0036F00003GdlKu0036F00003Gcm5Z0036F00003Gcm5Z
0036F00003GdlKu0036F00003Gcm5Z0036F00003Gcm5Z
NOT FOUNDNOT FOUNDNOT FOUND
NOT FOUND0036F00003AJI3r0036F00003AJI3r
NOT FOUND0036F00003AJI3r0036F00003AJI3r
NOT FOUND0036F00003AJI3r0036F00003AJI3r
NOT FOUND0036F00001vygDz0036F00001vygDz
NOT FOUND0036F00001vygDz0036F00001vygDz
NOT FOUNDNOT FOUND0036F000034F4Fm
NOT FOUNDNOT FOUND0036F000034F4Fm
NOT FOUNDNOT FOUND0036F000034F4Fm
NOT FOUNDNOT FOUND0036F00003KKCCU
NOT FOUNDNOT FOUND0036F00003KKCCU

<colgroup><col style="width: 110px"><col width="122"><col width="100"></colgroup><tbody>
</tbody>

I should have an output that has the unique UID records and a total count.

<style type="text/css"><!--td {border: 1px solid #ccc;}br {mso-data-placement:same-cell;}--></style>
Unique RecordCOUNTA
0036F00001pBJXO1
0036F00001pi66U1
0036F00001qh8951
0036F00001rCzpf3
0036F00001rZmIN4
0036F00001rZmY43
0036F00001skFEx1
0036F00001skOB53
0036F00001tDV251
0036F00001tfjcl1
0036F00001uhvkY3
0036F00001uhzz83
0036F00001uiz9f3

<colgroup><col style="width: 161px"><col width="100"></colgroup><tbody>
</tbody>

Thank you for being helpful!
 

Some videos you may like

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).

Peter_SSs

MrExcel MVP, Moderator
Joined
May 28, 2005
Messages
44,787
Office Version
365
Platform
Windows
Have you investigated Excel's built-in Pivot Table feature (on the Insert ribbon tab)?

I wasn't more specific because your sample data has 3 columns but your sample results only has one & I can't correlate anything. For example 0036F00001pBJXO appears in the results but not in the data.
 
Last edited:

sandy666

Well-known Member
Joined
Oct 24, 2015
Messages
5,477
is that what you want?

NAMEPHONEEMAILColumn1
NOT FOUND0036F00003EAyMl0036F00003EAyMl0036F000036skXP
NOT FOUNDNOT FOUND0036F00003KKCCU0036F00002FauAq
NOT FOUNDNOT FOUND0036F00003KKCCU0036F00003GdlKu
NOT FOUNDNOT FOUNDNOT FOUND0036F00003EAyMl
NOT FOUND0036F00002wW3QR0036F00002wW3QR0036F00002wW3QR
0036F000036skXPNOT FOUNDNOT FOUND0036F00003Gcm5Z
0036F00002FauAq0036F00002FauAq0036F00002FauAq0036F00003AJI3r
0036F00002FauAq0036F00002FauAq0036F00002FauAq0036F00001vygDz
0036F00003GdlKu0036F00003Gcm5Z0036F00003Gcm5Z0036F00003KKCCU
0036F00003GdlKu0036F00003Gcm5Z0036F00003Gcm5Z0036F000034F4Fm
0036F00003GdlKu0036F00003Gcm5Z0036F00003Gcm5Z
NOT FOUNDNOT FOUNDNOT FOUND
NOT FOUND0036F00003AJI3r0036F00003AJI3r
NOT FOUND0036F00003AJI3r0036F00003AJI3r
NOT FOUND0036F00003AJI3r0036F00003AJI3r
NOT FOUND0036F00001vygDz0036F00001vygDz
NOT FOUND0036F00001vygDz0036F00001vygDz
NOT FOUNDNOT FOUND0036F000034F4Fm
NOT FOUNDNOT FOUND0036F000034F4Fm
NOT FOUNDNOT FOUND0036F000034F4Fm
NOT FOUNDNOT FOUND0036F00003KKCCU
NOT FOUNDNOT FOUND0036F00003KKCCU

or

Column1Count
0036F000036skXP
1​
0036F00002FauAq
6​
0036F00003GdlKu
3​
0036F00003EAyMl
2​
0036F00002wW3QR
2​
0036F00003Gcm5Z
6​
0036F00003AJI3r
6​
0036F00001vygDz
4​
0036F00003KKCCU
4​
0036F000034F4Fm
3​
 
Last edited:

darrenmccoy

New Member
Joined
Mar 26, 2019
Messages
21
Ideally I would like it to be:


[COLOR=[URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FFFFFF]#FFFFFF[/URL] ]NAME[/COLOR][COLOR=[URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FFFFFF]#FFFFFF[/URL] ]PHONE[/COLOR][COLOR=[URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FFFFFF]#FFFFFF[/URL] ]EMAIL[/COLOR][COLOR=[URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FFFFFF]#FFFFFF[/URL] ]Column1[/COLOR]
NOT FOUND0036F00003EAyMl0036F00003EAyMl0036F000036skXP1
NOT FOUNDNOT FOUND0036F00003KKCCU0036F00002FauAq5
NOT FOUNDNOT FOUND0036F00003KKCCU0036F00003GdlKu6
NOT FOUNDNOT FOUNDNOT FOUND0036F00003EAyMl5
NOT FOUND0036F00002wW3QR0036F00002wW3QR0036F00002wW3QR2
0036F000036skXPNOT FOUNDNOT FOUND0036F00003Gcm5Z3
0036F00002FauAq0036F00002FauAq0036F00002FauAq0036F00003AJI3r3
0036F00002FauAq0036F00002FauAq0036F00002FauAq0036F00001vygDz3
0036F00003GdlKu0036F00003Gcm5Z0036F00003Gcm5Z0036F00003KKCCU1
0036F00003GdlKu0036F00003Gcm5Z0036F00003Gcm5Z0036F000034F4Fm1
0036F00003GdlKu0036F00003Gcm5Z0036F00003Gcm5Zetc..
NOT FOUNDNOT FOUNDNOT FOUND
NOT FOUND0036F00003AJI3r0036F00003AJI3r
NOT FOUND0036F00003AJI3r0036F00003AJI3r
NOT FOUND0036F00003AJI3r0036F00003AJI3r
NOT FOUND0036F00001vygDz0036F00001vygDz
NOT FOUND0036F00001vygDz0036F00001vygDz
NOT FOUNDNOT FOUND0036F000034F4Fm
NOT FOUNDNOT FOUND0036F000034F4Fm
NOT FOUNDNOT FOUND0036F000034F4Fm
NOT FOUNDNOT FOUND0036F00003KKCCU
NOT FOUNDNOT FOUND0036F00003KKCCU

<tbody>
</tbody>







****** id="cke_pastebin" style="position: absolute; top: 0px; width: 1px; height: 1px; overflow: hidden; left: -1000px;">
[COLOR=[URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FFFFFF]#FFFFFF[/URL] ]NAME[/COLOR][COLOR=[URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FFFFFF]#FFFFFF[/URL] ]PHONE[/COLOR][COLOR=[URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FFFFFF]#FFFFFF[/URL] ]EMAIL[/COLOR][COLOR=[URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=FFFFFF]#FFFFFF[/URL] ]Column1[/COLOR]
NOT FOUND0036F00003EAyMl0036F00003EAyMl0036F000036skXP
NOT FOUNDNOT FOUND0036F00003KKCCU0036F00002FauAq
NOT FOUNDNOT FOUND0036F00003KKCCU0036F00003GdlKu
NOT FOUNDNOT FOUNDNOT FOUND0036F00003EAyMl
NOT FOUND0036F00002wW3QR0036F00002wW3QR0036F00002wW3QR
0036F000036skXPNOT FOUNDNOT FOUND0036F00003Gcm5Z
0036F00002FauAq0036F00002FauAq0036F00002FauAq0036F00003AJI3r
0036F00002FauAq0036F00002FauAq0036F00002FauAq0036F00001vygDz
0036F00003GdlKu0036F00003Gcm5Z0036F00003Gcm5Z0036F00003KKCCU
0036F00003GdlKu0036F00003Gcm5Z0036F00003Gcm5Z0036F000034F4Fm
0036F00003GdlKu0036F00003Gcm5Z0036F00003Gcm5Z
NOT FOUNDNOT FOUNDNOT FOUND
NOT FOUND0036F00003AJI3r0036F00003AJI3r
NOT FOUND0036F00003AJI3r0036F00003AJI3r
NOT FOUND0036F00003AJI3r0036F00003AJI3r
NOT FOUND0036F00001vygDz0036F00001vygDz
NOT FOUND0036F00001vygDz0036F00001vygDz
NOT FOUNDNOT FOUND0036F000034F4Fm
NOT FOUNDNOT FOUND0036F000034F4Fm
NOT FOUNDNOT FOUND0036F000034F4Fm
NOT FOUNDNOT FOUND0036F00003KKCCU
NOT FOUNDNOT FOUND0036F00003KKCCU

<tbody>
</tbody>

</body>
 

darrenmccoy

New Member
Joined
Mar 26, 2019
Messages
21
Sorry if im not explaining it correct.

I am trying to count and show the totals for each unique SKU

I have tried pivot tables, but cannot work it out.
 

sandy666

Well-known Member
Joined
Oct 24, 2015
Messages
5,477
so use Power Query and M-code

Code:
[SIZE=1]// Table1
let
    T2C = Table.ToColumns(Excel.CurrentWorkbook(){[Name="Table1"]}[Content]),
    C2T = Table.FromList(T2C, Splitter.SplitByNothing(), null, null, ExtraValues.Error),
    Expand = Table.ExpandListColumn(C2T, "Column1"),
    Filter = Table.SelectRows(Expand, each ([Column1] <> "NOT FOUND")),
    Group = Table.Group(Filter, {"Column1"}, {{"Count", each Table.RowCount(_), type number}})
in
    Group[/SIZE]
and you'll get the second green table result
 

Peter_SSs

MrExcel MVP, Moderator
Joined
May 28, 2005
Messages
44,787
Office Version
365
Platform
Windows
Two other approaches.
Formulas as shown copied down or this macro. Macro results shown in columns J:K

Rich (BB code):
Sub UniqueAndCount()
  Dim d As Object
  Dim a As Variant, itm As Variant
  
  Set d = CreateObject("Scripting.Dictionary")
  a = Range("A2", Range("C" & Rows.Count).End(xlUp)).Value
  For Each itm In a
    If itm <> "NOT FOUND" Then d(itm) = d(itm) + 1
  Next itm
  Range("J2:K2").Resize(d.Count) = Application.Transpose(Array(d.Keys, d.Items))
  Range("J1:K1").Value = Array("List", "Count")
End Sub
<b>Sheet1</b><br /><br /><table border="1" cellspacing="0" cellpadding="0" style="font-family:Arial,Arial; font-size:8pt; background-color:#ffffff; padding-left:2pt; padding-right:2pt; "> <colgroup><col style="font-weight:bold; width:30px; " /><col style="width:130px;" /><col style="width:140px;" /><col style="width:140px;" /><col style="width:17px;" /><col style="width:140px;" /><col style="width:53px;" /><col style="width:17px;" /><col style="width:17px;" /><col style="width:17px;" /><col style="width:140px;" /><col style="width:53px;" /></colgroup><tr style="background-color:#cacaca; text-align:center; font-weight:bold; font-size:8pt; "><td > </td><td >A</td><td >B</td><td >C</td><td >D</td><td >E</td><td >F</td><td >G</td><td >H</td><td >I</td><td >J</td><td >K</td></tr><tr style="height:21px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >1</td><td style="font-size:10pt; ">NAME</td><td style="font-size:10pt; ">PHONE</td><td style="font-size:10pt; ">EMAIL</td><td style="font-size:10pt; "> </td><td style="font-size:10pt; ">List</td><td style="font-size:10pt; text-align:right; ">Count</td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td><td style="font-size:10pt; ">List</td><td style="font-size:10pt; text-align:right; ">Count</td></tr><tr style="height:21px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >2</td><td style="font-size:10pt; ">NOT FOUND</td><td style="font-size:10pt; ">0036F00003EAyMl</td><td style="font-size:10pt; ">0036F00003EAyMl</td><td style="font-size:10pt; "> </td><td style="font-size:10pt; ">0036F00003GdlKu</td><td style="font-size:10pt; text-align:right; ">3</td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td><td style="font-size:10pt; ">0036F000036skXP</td><td style="font-size:10pt; text-align:right; ">1</td></tr><tr style="height:21px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >3</td><td style="font-size:10pt; ">NOT FOUND</td><td style="font-size:10pt; ">NOT FOUND</td><td style="font-size:10pt; ">0036F00003KKCCU</td><td style="font-size:10pt; "> </td><td style="font-size:10pt; ">0036F00002FauAq</td><td style="font-size:10pt; text-align:right; ">6</td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td><td style="font-size:10pt; ">0036F00002FauAq</td><td style="font-size:10pt; text-align:right; ">6</td></tr><tr style="height:21px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >4</td><td style="font-size:10pt; ">NOT FOUND</td><td style="font-size:10pt; ">NOT FOUND</td><td style="font-size:10pt; ">0036F00003KKCCU</td><td style="font-size:10pt; "> </td><td style="font-size:10pt; ">0036F000036skXP</td><td style="font-size:10pt; text-align:right; ">1</td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td><td style="font-size:10pt; ">0036F00003GdlKu</td><td style="font-size:10pt; text-align:right; ">3</td></tr><tr style="height:21px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >5</td><td style="font-size:10pt; ">NOT FOUND</td><td style="font-size:10pt; ">NOT FOUND</td><td style="font-size:10pt; ">NOT FOUND</td><td style="font-size:10pt; "> </td><td style="font-size:10pt; ">0036F00001vygDz</td><td style="font-size:10pt; text-align:right; ">4</td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td><td style="font-size:10pt; ">0036F00003EAyMl</td><td style="font-size:10pt; text-align:right; ">2</td></tr><tr style="height:21px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >6</td><td style="font-size:10pt; ">NOT FOUND</td><td style="font-size:10pt; ">0036F00002wW3QR</td><td style="font-size:10pt; ">0036F00002wW3QR</td><td style="font-size:10pt; "> </td><td style="font-size:10pt; ">0036F00003AJI3r</td><td style="font-size:10pt; text-align:right; ">6</td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td><td style="font-size:10pt; ">0036F00002wW3QR</td><td style="font-size:10pt; text-align:right; ">2</td></tr><tr style="height:21px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >7</td><td style="font-size:10pt; ">0036F000036skXP</td><td style="font-size:10pt; ">NOT FOUND</td><td style="font-size:10pt; ">NOT FOUND</td><td style="font-size:10pt; "> </td><td style="font-size:10pt; ">0036F00003Gcm5Z</td><td style="font-size:10pt; text-align:right; ">6</td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td><td style="font-size:10pt; ">0036F00003Gcm5Z</td><td style="font-size:10pt; text-align:right; ">6</td></tr><tr style="height:21px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >8</td><td style="font-size:10pt; ">0036F00002FauAq</td><td style="font-size:10pt; ">0036F00002FauAq</td><td style="font-size:10pt; ">0036F00002FauAq</td><td style="font-size:10pt; "> </td><td style="font-size:10pt; ">0036F00002wW3QR</td><td style="font-size:10pt; text-align:right; ">2</td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td><td style="font-size:10pt; ">0036F00003AJI3r</td><td style="font-size:10pt; text-align:right; ">6</td></tr><tr style="height:21px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >9</td><td style="font-size:10pt; ">0036F00002FauAq</td><td style="font-size:10pt; ">0036F00002FauAq</td><td style="font-size:10pt; ">0036F00002FauAq</td><td style="font-size:10pt; "> </td><td style="font-size:10pt; ">0036F00003EAyMl</td><td style="font-size:10pt; text-align:right; ">2</td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td><td style="font-size:10pt; ">0036F00001vygDz</td><td style="font-size:10pt; text-align:right; ">4</td></tr><tr style="height:21px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >10</td><td style="font-size:10pt; ">0036F00003GdlKu</td><td style="font-size:10pt; ">0036F00003Gcm5Z</td><td style="font-size:10pt; ">0036F00003Gcm5Z</td><td style="font-size:10pt; "> </td><td style="font-size:10pt; ">0036F00003KKCCU</td><td style="font-size:10pt; text-align:right; ">4</td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td><td style="font-size:10pt; ">0036F00003KKCCU</td><td style="font-size:10pt; text-align:right; ">4</td></tr><tr style="height:21px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >11</td><td style="font-size:10pt; ">0036F00003GdlKu</td><td style="font-size:10pt; ">0036F00003Gcm5Z</td><td style="font-size:10pt; ">0036F00003Gcm5Z</td><td style="font-size:10pt; "> </td><td style="font-size:10pt; ">0036F000034F4Fm</td><td style="font-size:10pt; text-align:right; ">3</td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td><td style="font-size:10pt; ">0036F000034F4Fm</td><td style="font-size:10pt; text-align:right; ">3</td></tr><tr style="height:21px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >12</td><td style="font-size:10pt; ">0036F00003GdlKu</td><td style="font-size:10pt; ">0036F00003Gcm5Z</td><td style="font-size:10pt; ">0036F00003Gcm5Z</td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td></tr><tr style="height:21px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >13</td><td style="font-size:10pt; ">NOT FOUND</td><td style="font-size:10pt; ">NOT FOUND</td><td style="font-size:10pt; ">NOT FOUND</td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td></tr><tr style="height:21px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >14</td><td style="font-size:10pt; ">NOT FOUND</td><td style="font-size:10pt; ">0036F00003AJI3r</td><td style="font-size:10pt; ">0036F00003AJI3r</td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td></tr><tr style="height:21px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >15</td><td style="font-size:10pt; ">NOT FOUND</td><td style="font-size:10pt; ">0036F00003AJI3r</td><td style="font-size:10pt; ">0036F00003AJI3r</td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td></tr><tr style="height:21px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >16</td><td style="font-size:10pt; ">NOT FOUND</td><td style="font-size:10pt; ">0036F00003AJI3r</td><td style="font-size:10pt; ">0036F00003AJI3r</td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td></tr><tr style="height:21px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >17</td><td style="font-size:10pt; ">NOT FOUND</td><td style="font-size:10pt; ">0036F00001vygDz</td><td style="font-size:10pt; ">0036F00001vygDz</td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td></tr><tr style="height:21px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >18</td><td style="font-size:10pt; ">NOT FOUND</td><td style="font-size:10pt; ">0036F00001vygDz</td><td style="font-size:10pt; ">0036F00001vygDz</td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td></tr><tr style="height:21px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >19</td><td style="font-size:10pt; ">NOT FOUND</td><td style="font-size:10pt; ">NOT FOUND</td><td style="font-size:10pt; ">0036F000034F4Fm</td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td></tr><tr style="height:21px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >20</td><td style="font-size:10pt; ">NOT FOUND</td><td style="font-size:10pt; ">NOT FOUND</td><td style="font-size:10pt; ">0036F000034F4Fm</td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td></tr><tr style="height:21px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >21</td><td style="font-size:10pt; ">NOT FOUND</td><td style="font-size:10pt; ">NOT FOUND</td><td style="font-size:10pt; ">0036F000034F4Fm</td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td></tr><tr style="height:21px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >22</td><td style="font-size:10pt; ">NOT FOUND</td><td style="font-size:10pt; ">NOT FOUND</td><td style="font-size:10pt; ">0036F00003KKCCU</td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td></tr><tr style="height:21px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >23</td><td style="font-size:10pt; ">NOT FOUND</td><td style="font-size:10pt; ">NOT FOUND</td><td style="font-size:10pt; ">0036F00003KKCCU</td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td><td style="font-size:10pt; "> </td></tr></table><br /><table style="font-family:Arial; font-size:10pt; border-style: groove ;border-color:#00ff00;background-color:#fffcf9; color:#000000; "><tr><td ><b>Spreadsheet Formulas</b></td></tr><tr><td ><table border = "1" cellspacing="0" cellpadding="2" style="font-family:Arial; font-size:9pt;"><tr style="background-color:#cacaca; font-size:10pt;"><td >Cell</td><td >Formula</td></tr><tr><td >E2</td><td >=IFERROR(IFERROR<span style=' color:008000; '>(LOOKUP<span style=' color:#0000ff; '>(2, 1/<span style=' color:#ff0000; '>(COUNTIF<span style=' color:#804000; '>($E$1:E1,$A$2:$A$23)</span>=0)</span>/<span style=' color:#ff0000; '>(A$2:A$23<>"NOT FOUND")</span>, $A$2:$A$23)</span>,IFERROR<span style=' color:#0000ff; '>(LOOKUP<span style=' color:#ff0000; '>(2, 1/<span style=' color:#804000; '>(COUNTIF<span style=' color:#ff7837; '>($E$1:E1, $B$2:$B$23)</span>=0)</span>/<span style=' color:#804000; '>(B$2:B$23<>"NOT FOUND")</span>, $B$2:$B$23)</span>,LOOKUP<span style=' color:#ff0000; '>(2, 1/<span style=' color:#804000; '>(COUNTIF<span style=' color:#ff7837; '>($E$1:E1, $C$2:$C$23)</span>=0)</span>/<span style=' color:#804000; '>(C$2:C$23<>"NOT FOUND")</span>, $C$2:$C$23)</span>)</span>)</span>,"")</td></tr><tr><td >F2</td><td >=IF(E2="","",COUNTIF<span style=' color:008000; '>(A$2:C$23,E2)</span>)</td></tr></table></td></tr></table>
 

darrenmccoy

New Member
Joined
Mar 26, 2019
Messages
21
Thank you. FYI, I did get this to work using spreadsheet formulas in Ecel. (I couldnt get it to work in google sheets)

Thanks Again!
 

Watch MrExcel Video

Forum statistics

Threads
1,100,191
Messages
5,473,046
Members
406,843
Latest member
David_Welland

This Week's Hot Topics

Top