ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   adding letters in a payroll calendar (https://www.excelbanter.com/excel-discussion-misc-queries/2129-adding-letters-payroll-calendar.html)

ryanjh79

adding letters in a payroll calendar
 
I would like to total all of the "v" for vacation, "s" for sick and "p" for
personal days in a excel worksheet. So, if I had a total of 10 "v" in
different cells each representing a different day of the month I would like
to total those. Is this possible?

Frank Kabel

Hi
have a look at COUNTIF and SUMIF

--
Regards
Frank Kabel
Frankfurt, Germany
"ryanjh79" schrieb im Newsbeitrag
...
I would like to total all of the "v" for vacation, "s" for sick and "p" for
personal days in a excel worksheet. So, if I had a total of 10 "v" in
different cells each representing a different day of the month I would
like
to total those. Is this possible?




tjtjjtjt

Use the COUNTIF Function.
If your letters are in A1:A25,
=COUNTIF(A1:A25,"v")
would return the total number of times v had been entered in that range.

tj

"ryanjh79" wrote:

I would like to total all of the "v" for vacation, "s" for sick and "p" for
personal days in a excel worksheet. So, if I had a total of 10 "v" in
different cells each representing a different day of the month I would like
to total those. Is this possible?


ryanjh79

For some reason it only work with a single range. I need to have it
seperated. So, I tried this and it does not
work:=COUNTIF(B7:X11,B15:X19,B23:X27,B31:X35, "V")
do you have any suggestions?

Thanks,
Brandon
"Frank Kabel" wrote:

Hi
have a look at COUNTIF and SUMIF

--
Regards
Frank Kabel
Frankfurt, Germany
"ryanjh79" schrieb im Newsbeitrag
...
I would like to total all of the "v" for vacation, "s" for sick and "p" for
personal days in a excel worksheet. So, if I had a total of 10 "v" in
different cells each representing a different day of the month I would
like
to total those. Is this possible?





ryanjh79

can you tell me why this formula does not work?
=COUNTIF(B7:X11,B15:X19,B23:X27,B31:X35, "V")
thanks,

Brandon

"tjtjjtjt" wrote:

Use the COUNTIF Function.
If your letters are in A1:A25,
=COUNTIF(A1:A25,"v")
would return the total number of times v had been entered in that range.

tj

"ryanjh79" wrote:

I would like to total all of the "v" for vacation, "s" for sick and "p" for
personal days in a excel worksheet. So, if I had a total of 10 "v" in
different cells each representing a different day of the month I would like
to total those. Is this possible?


Frank Kabel

Hi
just add multiple COUNTIFS. e.g.
=COUNTIF(B7:X11,"V")+COUNTIF(B15:X19,"V")+....


--
Regards
Frank Kabel
Frankfurt, Germany
"ryanjh79" schrieb im Newsbeitrag
...
For some reason it only work with a single range. I need to have it
seperated. So, I tried this and it does not
work:=COUNTIF(B7:X11,B15:X19,B23:X27,B31:X35, "V")
do you have any suggestions?

Thanks,
Brandon
"Frank Kabel" wrote:

Hi
have a look at COUNTIF and SUMIF

--
Regards
Frank Kabel
Frankfurt, Germany
"ryanjh79" schrieb im Newsbeitrag
...
I would like to total all of the "v" for vacation, "s" for sick and "p"
for
personal days in a excel worksheet. So, if I had a total of 10 "v" in
different cells each representing a different day of the month I would
like
to total those. Is this possible?







Frank Kabel

Hi
simple. This type of syntax is just not supported :-)
See your other post

--
Regards
Frank Kabel
Frankfurt, Germany
"ryanjh79" schrieb im Newsbeitrag
...
can you tell me why this formula does not work?
=COUNTIF(B7:X11,B15:X19,B23:X27,B31:X35, "V")
thanks,

Brandon

"tjtjjtjt" wrote:

Use the COUNTIF Function.
If your letters are in A1:A25,
=COUNTIF(A1:A25,"v")
would return the total number of times v had been entered in that range.

tj

"ryanjh79" wrote:

I would like to total all of the "v" for vacation, "s" for sick and "p"
for
personal days in a excel worksheet. So, if I had a total of 10 "v" in
different cells each representing a different day of the month I would
like
to total those. Is this possible?





All times are GMT +1. The time now is 05:07 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com