Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / March 2008

Tip: Looking for answers? Try searching our database.

Formula

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Bryan De-Lara - 08 Mar 2008 19:49 GMT
Can anyone help please with this formula.
=COUNTIF(B208:AE208,"H")
This works fine to count the number of H's in a row. What I need is to also
count HD as .5 in the same row and add it to the final total.

For instance in the first row H     H     HD   H = 3.5. I may at a later
date also need to add to it again with a S also to count 1.
Can anyone help with the formula please. Maybe COUNTIF isn't the correct one
to use.

Thanks.

Bryan.
Barb Reinhardt - 08 Mar 2008 21:24 GMT
=COUNTIF(B208:AE208,"H") -  COUNTIF(B208:AE208,"HD")
Signature

HTH,
Barb Reinhardt

> Can anyone help please with this formula.
> =COUNTIF(B208:AE208,"H")
[quoted text clipped - 9 lines]
>
> Bryan.
Tyro - 08 Mar 2008 21:43 GMT
Perhaps: =COUNTIF(B208:AE208,"H")+COUNTIF(B208:AE208,"HD")/2
You might want to add the ROUND function to the second COUNTIF to round up.

Tyro

> Can anyone help please with this formula.
> =COUNTIF(B208:AE208,"H")
[quoted text clipped - 9 lines]
>
> Bryan.
Bryan De-Lara - 09 Mar 2008 02:11 GMT
Thank you both, works just fine...:)

Bryan.

> Perhaps: =COUNTIF(B208:AE208,"H")+COUNTIF(B208:AE208,"HD")/2
> You might want to add the ROUND function to the second COUNTIF to round
[quoted text clipped - 15 lines]
>>
>> Bryan.
Tyro - 09 Mar 2008 02:22 GMT
Both formulas cannot work "Just fine" the two formulas produce different
answers.

Tyro

> Thank you both, works just fine...:)
>
[quoted text clipped - 19 lines]
>>>
>>> Bryan.
Bryan De-Lara - 09 Mar 2008 02:33 GMT
Yes agreed, yours works fine, but I was thanking both for taking the trouble
to answer, sorry for the confusion.

Bryan.

> Both formulas cannot work "Just fine" the two formulas produce different
> answers.
[quoted text clipped - 24 lines]
>>>>
>>>> Bryan.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.