Countifs help

eschrichj

New Member
Joined
Dec 8, 2016
Messages
7
I was looking up countifs to see if that formula would help me, and it seems to be close to what I need.
I found this example online, but what I'm looking for is a way to search the whole document, and find how many units each individual person sold. Could I have one formula per person that found every unit sold that specific person sold?
Thanks in advance.

5 = =COUNTIFS($A$2:$A$9, ">="&$F$1,$A$2:$A$9,"<="&$F$2)
1 = =COUNTIFS($A$2:$A$9,">="&$F$1,$A$2:$A$9,"<="&$F$2,B$2:B$9,"="&$F$4)

Date
Personnel
Sold
State Date:
11/7/2011
11/11/2011
Bill
87
End Date:
11/11/2011
11/11/2011
Susan
73
5
11/9/2011
Alexis
26
Personnel:
Alexis
11/12/2011
Alexis
75
1
11/8/2011
Kate
19
11/7/2011
Bill
33
11/13/2011
Susan
25
11/14/2011
Kate
82

<tbody>
</tbody>
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"

etaf

Well-known Member
Joined
Oct 24, 2012
Messages
7,019
Office Version
  1. 365
Platform
  1. MacOS
do you need to SUMIFS() to sum up the SOLD numbers

otherwise you are just counting how many times the name appears during those dates - is that what you are after ?
 
Upvote 0

SQUIDD

Well-known Member
Joined
Jan 2, 2009
Messages
2,090
Office Version
  1. 2019
  2. 2016
Platform
  1. Windows
i would think sumif or sumifs may be the way to go,

do you need an example?

Dave
 
Upvote 0

tpbond1

New Member
Joined
Oct 8, 2015
Messages
28
=SUMIFS(sold_column,personel_column,personel_name,date,">="&start_date,date,"<="&end_date)
 
Upvote 0

SQUIDD

Well-known Member
Joined
Jan 2, 2009
Messages
2,090
Office Version
  1. 2019
  2. 2016
Platform
  1. Windows
example anyway

=SUMIFS(C:C,B:B,F4,A:A,">="&F1,A:A,"<="&F2)

dave
 
Upvote 0

Anand Sharma

Board Regular
Joined
Nov 22, 2016
Messages
63
If you want total sale for a given period by a particular Person, then you should use sumifs as below

=SUMIFS(C2:C9,$A$2:$A$9,">="&$F$1,$A$2:$A$9,"<="&$F$2,B$2:B$9,"="&$F$4)
 
Upvote 0

eschrichj

New Member
Joined
Dec 8, 2016
Messages
7
Yes sumifs was the way to go. I had never used that formula before, thanks for the quick answer everyone!
 
Upvote 0

Forum statistics

Threads
1,191,349
Messages
5,986,147
Members
440,005
Latest member
tombamber

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
Top