Applying sample weights and calculating frequencies based on various conditions

KatK6

New Member
Joined
May 21, 2011
Messages
15
Hello, I abandoned SPSS a few months ago and have been using excel to do most of my thesis analysis.

The one thing I can't work worked out how to replicate in Excel is apply sample weights before running frequencies/counts. Can they be calculated within a COUNTIFS formula using a SUMPRODUCT function?

I'm working mostly with simple formulas like:
=(COUNTIFS(DATA!$A$3:$A$10,1,DATA!$B$3:$B$10,1))


How can I adapt this so the figure calculated take into accounts the various weights assigned to respondents 3 through 10? They are held in DATA!$C$3:$C$10 (as an example).

Any help would be appreciated.
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.

Forum statistics

Threads
1,223,231
Messages
6,170,885
Members
452,364
Latest member
springate

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