Help on countif

JJPPP

New Member
Joined
Apr 6, 2017
Messages
6
Hello there-

I am trying to do a countif function on a series of data that isn't working properly. The data is organized in three columns:

[TABLE="width: 500"]
[TR]
[TD]$ HR[/TD]
[TD]$ Biz Dev[/TD]
[TD]$ Marketing[/TD]
[TD]Total[/TD]
[TD]Days to Pay[/TD]
[/TR]
[TR]
[TD]25[/TD]
[TD][/TD]
[TD][/TD]
[TD]25[/TD]
[TD]100[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]50[/TD]
[TD][/TD]
[TD]50[/TD]
[TD]50[/TD]
[/TR]
[TR]
[TD]25[/TD]
[TD]25[/TD]
[TD]50[/TD]
[TD]100[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]60[/TD]
[TD]60[/TD]
[TD]120[/TD]
[TD]20[/TD]
[/TR]
[/TABLE]

Basically I want the count if to show me how many payments there are per column based on the days to pay. I tried doing a countifs based on the "Days to Pay" so formula would go something like "Count column A if the days to pay are 0-50, 51-100, etc." However, I keep getting #VALUE ! errors.

Any tips?

Thanks so much!!
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
something like 0-50 is a text entry, not a numeric, excel would not be able to compare that wit any real values.

Caving said that, I think you need to look at the COUNTIFs() function instead.

=countifs(A:A, ">0", E:E,">=0", E:E, "<=50")
 
Upvote 0

Forum statistics

Threads
1,223,711
Messages
6,174,028
Members
452,542
Latest member
Bricklin

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