Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I need
S = 1 M= 1 Ex: S meaning sick M meaning missing but excell still multiply a certain nummer with 1, when i write S or M All the best Grenaa Music school -- Grenaa Music School Denmark |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
=SUM(COUNTIF(A:A,{"S","M"}))
-- HTH Bob Phillips (remove nothere from the email address if mailing direct) "Grenaa Music school" wrote in message ... I need S = 1 M= 1 Ex: S meaning sick M meaning missing but excell still multiply a certain nummer with 1, when i write S or M All the best Grenaa Music school -- Grenaa Music School Denmark |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Sounds like this may be a formula question. Not sure.
If "S" and "M" entries are in column B and you're trying to get a total number of "S" and "M", try these formulas. In C1 or other Cell: =COUNTIF(B:B,"M") In another cell: =COUNTIF(B:B,"S") If this is not what you're looking for, please repost. HTH, Paul "Grenaa Music school" wrote in message ... I need S = 1 M= 1 Ex: S meaning sick M meaning missing but excell still multiply a certain nummer with 1, when i write S or M All the best Grenaa Music school -- Grenaa Music School Denmark |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
I don't fully understand your question so can you give an example? "Grenaa Music school" wrote: I need S = 1 M= 1 Ex: S meaning sick M meaning missing but excell still multiply a certain nummer with 1, when i write S or M All the best Grenaa Music school -- Grenaa Music School Denmark |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi
I´ll try A teacher teaches a student. Every lesson is 25 min. If the student appears he just write 1 in a columm. At the end of the month he has written a certain amount 1´s ..! =SUM(C6:N6)*B6 B6 is 25 and from C6 to N6 you can put in 1 BUT If the student doesn´t appear get sick or whatever we need to know, but we need to still pay the teacher aka we need to collect minuts. So S (meaning Sick) M (meaning missing) just have the same effect as if you write 1 aka S = 1 M = 1 and it multiplies into ex. 10 (llessons)* 25 min. = 250 min. I´m not and expert at all, so I have to explain it in a very "nonexpert" way. All the Best SBX Grenaa Music Shcool I´ll try out the other suggestions! -- Grenaa Music School Denmark "Toppers" wrote: Hi, I don't fully understand your question so can you give an example? "Grenaa Music school" wrote: I need S = 1 M= 1 Ex: S meaning sick M meaning missing but excell still multiply a certain nummer with 1, when i write S or M All the best Grenaa Music school -- Grenaa Music School Denmark |
#6
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
=sum(countif(C6:N6,{"S","M",1}))*B6
-- Regards, Tom Ogilvy "Grenaa Music school" wrote in message ... Hi I´ll try A teacher teaches a student. Every lesson is 25 min. If the student appears he just write 1 in a columm. At the end of the month he has written a certain amount 1´s ..! =SUM(C6:N6)*B6 B6 is 25 and from C6 to N6 you can put in 1 BUT If the student doesn´t appear get sick or whatever we need to know, but we need to still pay the teacher aka we need to collect minuts. So S (meaning Sick) M (meaning missing) just have the same effect as if you write 1 aka S = 1 M = 1 and it multiplies into ex. 10 (llessons)* 25 min. = 250 min. I´m not and expert at all, so I have to explain it in a very "nonexpert" way. All the Best SBX Grenaa Music Shcool I´ll try out the other suggestions! -- Grenaa Music School Denmark "Toppers" wrote: Hi, I don't fully understand your question so can you give an example? "Grenaa Music school" wrote: I need S = 1 M= 1 Ex: S meaning sick M meaning missing but excell still multiply a certain nummer with 1, when i write S or M All the best Grenaa Music school -- Grenaa Music School Denmark |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
can I make cell "yes" equal 1, "no" equal 0 | Excel Discussion (Misc queries) | |||
CountIF(A9:A20, B9 not equal B10, B10 not equal B11, etc.) | Excel Worksheet Functions | |||
lower and upper case equal on spreadsheet but not equal in VB | Excel Programming | |||
Getting 0 to equal 1 | Excel Worksheet Functions | |||
Like or Equal | Excel Programming |