montyfern
Board Regular
- Joined
- Oct 12, 2017
- Messages
- 65
Good Day All!
Close but no cigar? VBA? Pivots? I have a list with labels where I need to count every instance of ^ or exponents that's embedded in individual cells. It will constantly change. I tried the following formulas: [TABLE="width: 64"]
<tbody>[TR]
[TD="align: right"]=COUNTIFS(A2:D2,"*^*") =SUMIF(A2:D2,"*^*",$E$2:$E$11)
=MATCH("^",A2:D11,0)-MATCH("^",A2:D11,0)-3 which gives the dreaded N/A error.
[/TD]
[/TR]
</tbody>[/TABLE]
For example:
[TABLE="width: 576"]
<tbody>[TR]
[TD]SO
[/TD]
[TD]Support
[/TD]
[TD]Type of Meeting
[/TD]
[TD]Mechanic
[/TD]
[TD]Count
[/TD]
[TD]Total
[/TD]
[/TR]
[TR]
[TD]Reginald Smith^2
[/TD]
[TD]B. Lawford ^
[/TD]
[TD]F2F
[/TD]
[TD]R13
[/TD]
[TD="align: right"]2
[/TD]
[TD="align: right"][/TD]
[/TR]
[TR]
[TD]Patricia Jones ^1
[/TD]
[TD]P. Redland
[/TD]
[TD]Tele.
[/TD]
[TD]U19
[/TD]
[TD="align: right"]1
[/TD]
[TD="align: right"]2
[/TD]
[/TR]
[TR]
[TD]Sidney Poitier ^2
[/TD]
[TD]P. Newton
[/TD]
[TD]F2F
[/TD]
[TD]R02
[/TD]
[TD="align: right"]1
[/TD]
[TD="align: right"]2
[/TD]
[/TR]
[TR]
[TD]Elizabeth Taylor ^2
[/TD]
[TD]E. Hernandez
[/TD]
[TD]Tele.
[/TD]
[TD]U19
[/TD]
[TD="align: right"]1
[/TD]
[TD="align: right"]2
[/TD]
[/TR]
[TR]
[TD]Paul Newman ^2
[/TD]
[TD]S. DeLorean
[/TD]
[TD]Tele.
[/TD]
[TD]R13
[/TD]
[TD="align: right"]1
[/TD]
[TD="align: right"]2
[/TD]
[/TR]
[TR]
[TD]Robert Redford
[/TD]
[TD]T. Manilow
[/TD]
[TD]F2F
[/TD]
[TD]U19
[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[/TR]
[TR]
[TD]Cecily Tyson ^2
[/TD]
[TD]J. Johnson
[/TD]
[TD]F2F
[/TD]
[TD]U19
[/TD]
[TD="align: right"]1
[/TD]
[TD="align: right"]2
[/TD]
[/TR]
[TR]
[TD]Robert Redford
[/TD]
[TD]W. Washington
[/TD]
[TD]Tele.
[/TD]
[TD]R02
[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[/TR]
[TR]
[TD]Paul Newman ^2
[/TD]
[TD]K. Kowalski
[/TD]
[TD]F2F
[/TD]
[TD]U19 ^
[/TD]
[TD="align: right"]2
[/TD]
[TD="align: right"]2
[/TD]
[/TR]
[TR]
[TD]Barry Jones ^3
[/TD]
[TD]S. DeLorean ^
[/TD]
[TD]Tele. ^
[/TD]
[TD]R13
[/TD]
[TD="align: right"]3
[/TD]
[TD="align: right"][/TD]
[/TR]
[TR]
[TD]Aggregate Sum
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]12
[/TD]
[TD="align: right"]12
[/TD]
[/TR]
[TR]
[TD]Then, I have simple sums which both denote 12 as you can see. Thanks so much.
[/TD]
[TD][/TD]
[TD="align: center"][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Close but no cigar? VBA? Pivots? I have a list with labels where I need to count every instance of ^ or exponents that's embedded in individual cells. It will constantly change. I tried the following formulas: [TABLE="width: 64"]
<tbody>[TR]
[TD="align: right"]=COUNTIFS(A2:D2,"*^*") =SUMIF(A2:D2,"*^*",$E$2:$E$11)
=MATCH("^",A2:D11,0)-MATCH("^",A2:D11,0)-3 which gives the dreaded N/A error.
[/TD]
[/TR]
</tbody>[/TABLE]
For example:
[TABLE="width: 576"]
<tbody>[TR]
[TD]SO
[/TD]
[TD]Support
[/TD]
[TD]Type of Meeting
[/TD]
[TD]Mechanic
[/TD]
[TD]Count
[/TD]
[TD]Total
[/TD]
[/TR]
[TR]
[TD]Reginald Smith^2
[/TD]
[TD]B. Lawford ^
[/TD]
[TD]F2F
[/TD]
[TD]R13
[/TD]
[TD="align: right"]2
[/TD]
[TD="align: right"][/TD]
[/TR]
[TR]
[TD]Patricia Jones ^1
[/TD]
[TD]P. Redland
[/TD]
[TD]Tele.
[/TD]
[TD]U19
[/TD]
[TD="align: right"]1
[/TD]
[TD="align: right"]2
[/TD]
[/TR]
[TR]
[TD]Sidney Poitier ^2
[/TD]
[TD]P. Newton
[/TD]
[TD]F2F
[/TD]
[TD]R02
[/TD]
[TD="align: right"]1
[/TD]
[TD="align: right"]2
[/TD]
[/TR]
[TR]
[TD]Elizabeth Taylor ^2
[/TD]
[TD]E. Hernandez
[/TD]
[TD]Tele.
[/TD]
[TD]U19
[/TD]
[TD="align: right"]1
[/TD]
[TD="align: right"]2
[/TD]
[/TR]
[TR]
[TD]Paul Newman ^2
[/TD]
[TD]S. DeLorean
[/TD]
[TD]Tele.
[/TD]
[TD]R13
[/TD]
[TD="align: right"]1
[/TD]
[TD="align: right"]2
[/TD]
[/TR]
[TR]
[TD]Robert Redford
[/TD]
[TD]T. Manilow
[/TD]
[TD]F2F
[/TD]
[TD]U19
[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[/TR]
[TR]
[TD]Cecily Tyson ^2
[/TD]
[TD]J. Johnson
[/TD]
[TD]F2F
[/TD]
[TD]U19
[/TD]
[TD="align: right"]1
[/TD]
[TD="align: right"]2
[/TD]
[/TR]
[TR]
[TD]Robert Redford
[/TD]
[TD]W. Washington
[/TD]
[TD]Tele.
[/TD]
[TD]R02
[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[/TR]
[TR]
[TD]Paul Newman ^2
[/TD]
[TD]K. Kowalski
[/TD]
[TD]F2F
[/TD]
[TD]U19 ^
[/TD]
[TD="align: right"]2
[/TD]
[TD="align: right"]2
[/TD]
[/TR]
[TR]
[TD]Barry Jones ^3
[/TD]
[TD]S. DeLorean ^
[/TD]
[TD]Tele. ^
[/TD]
[TD]R13
[/TD]
[TD="align: right"]3
[/TD]
[TD="align: right"][/TD]
[/TR]
[TR]
[TD]Aggregate Sum
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]12
[/TD]
[TD="align: right"]12
[/TD]
[/TR]
[TR]
[TD]Then, I have simple sums which both denote 12 as you can see. Thanks so much.
[/TD]
[TD][/TD]
[TD="align: center"][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]