#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 47
Default need your help

i am creating Mess management sheet and has format that if someone is present
for the particular time i put "p" as present and "a" and count all presents
and absents by using COUNTIF(C17:BL17,"p") but the problem is that how to
count 2p as twice if someone has guest with him etc

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default need your help

If you enter 2p to represent a guest, do it like this:

=COUNTIF(C17:BL17,"p") + COUNTIF(C17:BL17,"2p")*2

Hope this helps.

Pete

On Feb 16, 7:55*pm, malik wrote:
i am creating Mess management sheet and has format that if someone is present
for the particular time i put "p" as present and "a" and count all presents
and absents by using COUNTIF(C17:BL17,"p") but the problem is that how to
count 2p as twice if someone has guest with him etc


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 08:01 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"