Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
Using auto sum feature
Hi, I know how to use auto sum feature using numbers,but I need it to pick up
a letter rather than numbers. Can this be done, as I need to use "H" for holiday,but need this to be deducted off a spread sheet every time it is used. Thanks |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
Using auto sum feature
Assuming you have days worked in column A with the odd "H" for holiday thrown
in. =SUM(A1:A30)-COUNTIF(A1:A30,"H") Gord Dibben MS Excel MVP On Tue, 25 Sep 2007 07:36:00 -0700, Dave wrote: Hi, I know how to use auto sum feature using numbers,but I need it to pick up a letter rather than numbers. Can this be done, as I need to use "H" for holiday,but need this to be deducted off a spread sheet every time it is used. Thanks |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
Using auto sum feature
Nope. You need something like=SUM(IF(H1:H3="H",1,H1:H3))
which is an array formula, it should be committed with Ctrl-Shift-Enter, not just Enter. Excel will automatically enclose the formula in braces (curly brackets), do not try to do this manually. When editing the formula, it must again be array-entered. -- HTH Bob (there's no email, no snail mail, but somewhere should be gmail in my addy) "Dave" wrote in message ... Hi, I know how to use auto sum feature using numbers,but I need it to pick up a letter rather than numbers. Can this be done, as I need to use "H" for holiday,but need this to be deducted off a spread sheet every time it is used. Thanks |
#4
Posted to microsoft.public.excel.misc
|
|||
|
|||
Using auto sum feature
Maybe you can use:
=countif(a1:a10,"h") to count the number of cells that contain H. I don't think that you'll be able to use the autosum icon to implement this. Dave wrote: Hi, I know how to use auto sum feature using numbers,but I need it to pick up a letter rather than numbers. Can this be done, as I need to use "H" for holiday,but need this to be deducted off a spread sheet every time it is used. Thanks -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Mouse controlled auto sum feature lost | Excel Worksheet Functions | |||
auto save feature in excel | Excel Worksheet Functions | |||
Excel's 2003 Auto Recover Feature | Excel Discussion (Misc queries) | |||
where can I find the Auto Sum feature on Excel | Excel Worksheet Functions | |||
How do I disable the auto hyperlink feature in Excel? | Excel Discussion (Misc queries) |