Frequency formula

Johnboy28

Board Regular
Joined
Jun 22, 2013
Messages
172
Office Version
  1. 365
  2. 2019
  3. 2016
  4. 2013
  5. 2010
Platform
  1. Windows
Hi,

Is it possible to use Indirect & frequency formula together?

Need a formula to count the score totals from sheet2 using Ref "Sheet2H:H"

Thank you.


Info from Sheet 2
Score totalsSheet2!H:H
ScoreNo.Data on sheet 2
0 Score
1101
2 1
3 1
4 1
5 1
6 1
7 6
8 1
9 1
Total102
1
1
<colgroup><col width="64" style="width: 48pt;" span="3"> <col width="114" style="width: 86pt; mso-width-source: userset; mso-width-alt: 4169;"> <col width="64" style="width: 48pt;" span="3"> <tbody> </tbody>
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
Isn't it just a COUNTIF?


Book1
AB
1Score totals
2Score totalsNo.
300
4110
521
630
740
850
961
1070
1180
1290
13Total12
Sheet1
Cell Formulas
RangeFormula
B3=COUNTIF(Sheet2!$H:$H,$A3)



Book1
H
1Score
21
31
41
51
61
71
86
91
101
112
121
131
Sheet2


WBD
 
Upvote 0
Isn't it just a COUNTIF?

AB
1Score totals
2Score totalsNo.
300
4110
521
630
740
850
961
1070
1180
1290
13Total12

<colgroup><col><col><col></colgroup><thead>
</thead><tbody>
</tbody>
Sheet1

Worksheet Formulas
CellFormula
B3=COUNTIF(Sheet2!$H:$H,$A3)

<thead>
</thead><tbody>
</tbody>

<tbody>
</tbody>



H
1Score
21
31
41
51
61
71
86
91
101
112
121
131

<colgroup><col><col></colgroup><thead>
</thead><tbody>
</tbody>
Sheet2


WBD
Thanks for your reply.

I wish it was that easy - I need it to reference to a single cell. The data gets refreshed and cells & columns get deleted. If I use that formula, it will come up with a error.
 
Upvote 0
If the cells on Sheet2 are getting moved around then try this instead:

Code:
=COUNTIF(INDEX(Sheet2!$A:$Z,,8),$A3)

WBD
 
Upvote 0
If the cells on Sheet2 are getting moved around then try this instead:

Code:
=COUNTIF(INDEX(Sheet2!$A:$Z,,8),$A3)

WBD

Thanks for the reply. No good - as soon as the data is refreshed and cell and columns are deleted, it comes up a error #REF !
 
Upvote 0
Is the entire sheet removed? With volatile data, you may need to use a volatile function:

Code:
=COUNTIF(INDIRECT("Sheet2!$H:$H"),$A3)

WBD
 
Upvote 0

Forum statistics

Threads
1,215,793
Messages
6,126,937
Members
449,349
Latest member
Omer Lutfu Neziroglu

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