IF Function and Specific Sum Entry

O

OC

I'm stumped...I am trying to have Excel calculate specific entries in a cell,
for example, if I enter the letter "S" in a cell, I want it to add it up in
another cell -- I am attempting to use it to track sick days in a vacation
planner, i.e.: an employee has 5 sick days and uses 1 sick day, the formula
would recognize the letter "S" in a cell and add it up in the summary box,
i.e.: 1 of 5 days taken. I copied the planner from a previous one I was
using and this feature is used to calculate vacation days this days (using
the IF function) but I can't figure out where or how to have it recognize the
letter I want it to add up. CAN ANYONE HELP????? Please and thank
you!!!!!!!!

PS: I'm using Microsoft Office 2000 Premium.
 
M

Mike H

Hi,

This isn't clear what you want but if your trying to coune S in a range try
this

=COUNTIF(A1:A20,"S")

Mike
 
O

OC

Wow...that was simple enought --- thanks for your quick reply - it worked!!!!

Thanks a million :eek:)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top