Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I have set up a spread sheet where each cell represents an employee covering
a half hr shift during a certain time of day and want it to sum up how many cells contain each person's name. Therefore if their name is listed 80 times that week I know we have them scheduled to cover 40 hrs (or whatever they need that week). Can anyone tell me how I can set up an equation to automatically sum/total the number of times that a specific word/name is found in a cell or just in the spread sheet in general? It would be most helpful! |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
There are several ways. I am a fan of SUMPRODUCT.
If your schedule contains the names in B2:B81, use =SUMPRODUCT(--(B2:B81="name")) where "name" is the person's name in quotes or a reference to the person's name without quotes. "Tidejwe" wrote: I have set up a spread sheet where each cell represents an employee covering a half hr shift during a certain time of day and want it to sum up how many cells contain each person's name. Therefore if their name is listed 80 times that week I know we have them scheduled to cover 40 hrs (or whatever they need that week). Can anyone tell me how I can set up an equation to automatically sum/total the number of times that a specific word/name is found in a cell or just in the spread sheet in general? It would be most helpful! |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Assume the names are in the range A1:A100.
=COUNTIF(A1:A100,"Joe") Or, use a cell to hold the name: C1 = Joe =COUNTIF(A1:A100,C1) -- Biff Microsoft Excel MVP "Tidejwe" wrote in message ... I have set up a spread sheet where each cell represents an employee covering a half hr shift during a certain time of day and want it to sum up how many cells contain each person's name. Therefore if their name is listed 80 times that week I know we have them scheduled to cover 40 hrs (or whatever they need that week). Can anyone tell me how I can set up an equation to automatically sum/total the number of times that a specific word/name is found in a cell or just in the spread sheet in general? It would be most helpful! |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
That's excellent! It worked Great! I later tried to export it to Google
Docs' Spreadsheet to share with others to be able to check from home, and apparently Google has disabled this feature or something. :( People online mentioned it used to work for them and then suddenly stopped. Sadness! Oh well, at least it works in Excel. Great answer! It was EXACTLY what I was looking for. If you know how to get it to also work in Google Doc's Spread Sheet, then that would be doubly awesome. "sb1920alk" wrote: There are several ways. I am a fan of SUMPRODUCT. If your schedule contains the names in B2:B81, use =SUMPRODUCT(--(B2:B81="name")) where "name" is the person's name in quotes or a reference to the person's name without quotes. "Tidejwe" wrote: I have set up a spread sheet where each cell represents an employee covering a half hr shift during a certain time of day and want it to sum up how many cells contain each person's name. Therefore if their name is listed 80 times that week I know we have them scheduled to cover 40 hrs (or whatever they need that week). Can anyone tell me how I can set up an equation to automatically sum/total the number of times that a specific word/name is found in a cell or just in the spread sheet in general? It would be most helpful! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
total of cells that are next to a cell that contains specific text | Excel Worksheet Functions | |||
Is it possible to count specific words in a number of cells? | Excel Discussion (Misc queries) | |||
i need a number total derived from words | Excel Worksheet Functions | |||
How do i total cells in excel that contain specific text? | Excel Discussion (Misc queries) | |||
how do I find an average number of specific words in a column | New Users to Excel |