count # of orders in a range

avandever

Board Regular
Joined
Dec 7, 2010
Messages
83
i want to count how many times the order shows up in the entire column. so for example, for the "A243381" order, column B for each one of the lines it would say 5 since there are 5 of them in this list. thanks.


sonum
261370
A242860-1
A243118R
A243379
A243380
A243381
A243381
A243381
A243381
A243381
A243382
A243382
A243382
A243382
A243382
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
How about this:
Excel Workbook
AB
1sonum
22613701
3A242860-11
4A243118R1
5A2433791
6A2433801
7A2433815
8A2433815
9A2433815
10A2433815
11A2433815
12A2433825
13A2433825
14A2433825
15A2433825
16A2433825
Sheet1
 
Upvote 0
to expand off this one i am looking to count if the date is equal or less than X date.

right now i have:

=COUNTIF(Master!$AS$5:$AS$21967,Report!D5)

but i want it to be less than or equal to Report!D5 and just adding <=Report!D5 did not work. thanks.
 
Upvote 0
to expand off this one i am looking to count if the date is equal or less than X date.

right now i have:

=COUNTIF(Master!$AS$5:$AS$21967,Report!D5)

but i want it to be less than or equal to Report!D5 and just adding <=Report!D5 did not work. thanks.
Try it like this...

=COUNTIF(Master!$AS$5:$AS$21967,"<="&Report!D5)
 
Upvote 0

Forum statistics

Threads
1,224,600
Messages
6,179,834
Members
452,947
Latest member
Gerry_F

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