# Excel help

#### sleepless

##### New Member
Hi all, please need help.

I have an excel example below, how do i create a formula to count the number of full days, holiday, unplanned etc to a person only like tom.

I have done a countif formula which counts all if it matches holiday but cannot get it down to count holidays to only tom's or tien's row.

Thanks for your help

### Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
Welcome to the board.

Explain a little more what you are looking for here. What number are you wanting the formula to give you given the above data. Thanks.

Also, in the future, please put more details in the topic line, it will help people understand your question better.

Thanks buxtongt and will do.

Am trying to find the count of lets say full day in the rows that have the name tom and so on. It's basically an attendence spreadsheet and i need to find the count number of attendence to a person.

So:
Tom - count number of full days
Tien - count number of full days
etc.

Last edited:
So for Tom you want it to display 24? and 19 for Tien?

ADVERTISEMENT
No, i need it to count full day only for the person.

So 19 for Tien and 22 for Tom.

Thanks

=countif(needed.range,"Full Day") will give you the number of times that next shows up in the range you tell it. Is this something you can do manually or are you wanting to put a single formula in that J column and fill it in all the way down? It's going to be a little tough to not have some manual input for the range.

ADVERTISEMENT
I have like a thousand names down one column and need a formula that i can just drag down to count the number of full days for that name.

Does each name have the same number of rows associated with it?

No it does not.

I need a formula like lookup (name) and count (full day) in that row for that name.

Replies
3
Views
184
Replies
4
Views
89
Replies
3
Views
265
Replies
5
Views
290
Replies
1
Views
175

Threads
1,196,116
Messages
6,013,563
Members
441,771
Latest member
clamnets

### 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

### 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