excel 2003 Countif 3 to 4 criteria

Status
Not open for further replies.

DerekWooley

New Member
Joined
May 1, 2018
Messages
34
Hello, I am trying to rank my items in the below table in excel 2003 so I can't use countifs. I want to rank the items by quarter (Column E), then by month (Column F), then by material and size. the below formula I am using works for 2 criteria but I need to add 2 more.

Formula that works for 2 criteria:
=(COUNTIF($E$3:$E$45,"<"&E3)&"."&COUNTIF($F$3:$F$45,"<"&F3))*1

I thought about using the below formula to add another criteria column but I get the #Value error.
=(COUNTIF($E$3:$E$45,"<"&E3)&"."&COUNTIF($F$3:$F$45,"<"&F3)&"."&COUNTIF($G$3:$G$45,"<"&G3))*1



ABCDEFGHJ
ItemActual DateQuarter TextMonth TextQuarter ValueMonth ValueMaterialSizeRanking
2228/11/201820183201882018320188Brass0.06251.20
66611/26/20182018420181120184201811Brass0.06254.33
3415/10/201920192201952019220195Brass0.062513.90
4088/14/201920193201982019320198Brass0.062519.16
10611/10/20212021420211120214202111Brass0.062538.41
5812/2/20242024420241220244202412Brass0.062542.42
47212/2/20182018420181220184201812Brass0.093754.36
4541/24/201920191201912019120191Brass0.0937510.40
5047/12/201920193201972019320197Brass0.0937519.13
56/8/202020202202062020220206Brass0.0937529.23
8654/6/201920192201942019220194Poly0.12513.70
6885/3/201920192201952019220195Poly0.12513.90
77012/22/20192019420191220194201912Poly0.12526.38
1011/19/202020201202012020120201Poly0.12528.20
1710/8/20182018420181020184201810Plastic0.18754.31
56910/18/20182018420181020184201810Plastic0.18754.31
8017/5/201920193201972019320197Plastic0.187519.13
3492/14/202220221202222022120222Plastic0.187539.28
24811/8/20182018420181120184201811Brass0.218754.33
5311/10/20182018420181120184201811Brass0.218754.33
3536/16/201920192201962019220196Brass0.2187513.12
8474/6/201920192201942019220194Brass0.2187513.70
2217/17/201920193201972019320197Brass0.2187519.13
1948/4/201920193201982019320198Brass0.2187519.16
9278/10/201920193201982019320198Brass0.2187519.16
4368/18/201920193201982019320198Brass0.2187519.16
67210/20/20192019420191020194201910Brass0.2187526.37
55/2/202020202202052020220205Brass0.2187529.21
3116/26/202020202202062020220206Brass0.2187529.23
147/7/202020203202072020320207Brass0.2187533.25
2512/14/202120211202122021120212Brass0.2187536.26
3864/5/202120212202142021220214Brass0.2187537.27
1718/21/202220223202282022320228Brass0.2187540.29
3499/6/202220223202292022320229Brass0.2187540.30
9015/28/201820182201852018220185Hydex0.250.00
4585/25/202020202202052020220205Hydex0.2529.21
1285/18/201920192201952019220195Paper0.2513.90
9211/27/20202020420201120204202011Paper0.2534.39
1678/17/201820183201882018320188Plastic0.251.20
8542/5/201920191201922019120192Plastic0.2510.60
8867/20/201820183201872018320187Wood0.251.10
3941/7/201920191201912019120191Wood0.2510.40
41811/11/20202020420201120204202011Wood0.2534.39
6044/26/202520252202542025220254Wood0.2543.31

<colgroup><col><col><col span="2"><col><col><col><col><col></colgroup><tbody>
</tbody>
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
Last edited:
Upvote 0
Status
Not open for further replies.

Forum statistics

Threads
1,216,033
Messages
6,128,427
Members
449,450
Latest member
gunars

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