COUNITS or SUMIFS total the entries not the amount - please help

cb123

New Member
Joined
Jul 1, 2016
Messages
34
Hi there,

Need a little help if anyone can please.

One column holds data of names of staff who try to make appointments, for this instance "Dave" "John" and "Trevor"
Another column holds a list of appointments made set to a simple "Yes" or "No"
A 3rd column lists a value of sales that result from those appointments (entered manually as a figure e.g. 100 for £100)

I have used a SUMIF TO give me a total amount of sales if set to "Dave" and "Yes" for example but i also want to see the number of sales. So for the attachment i would like it to show me a figure of 2 as 2 sales have resulted from "Dave" and "Yes".

Many thanks in advance.
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
Use

=countifs(count range, criteria, count range, criteria)


Thanks, have tried that but it doesn't give me quite enough, apologies it's my fault for not explaining fully but sometimes the 3rd column may have no data entered into it and when it does have data it's different every time.

So i need a count of all the times Dave is set to Yes and there's an entry into the 3rd column. It's the fact the 3rd column has random data that is hampering me because my criteria can be hugely different so i can enter the criteria as "dave" and "Yes" but don't know how to do that for the 3rd column?
 
Upvote 0

Forum statistics

Threads
1,223,236
Messages
6,170,912
Members
452,366
Latest member
TePunaBloke

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