if function within excel
The UK's Number 1 for Microsoft Office Training Add this page to your favourites/bookmarksBookmark page
 
View printable version of pagePrintable version
Plus One Google
Customer: Sign in
Delegate: Sign in
Trainer: Log in

Forum home » Delegate support and help forum » Microsoft Excel Training and help » If function within Excel

If function within Excel

resolvedResolved · High Priority · Version 2003

replyReply Tue 3 Nov 2009, 10:10Delegate Michelle said...

Michelle has attended:
Excel Advanced course

If function within Excel

I have a spreadsheet that has alpha in each cell. I am trying to calculate the total of 'H' & the total of 'S' on each of 10 lines on the spreadsheet. Please can you tell me how I can do this so that I can get the total of 'H' seperate to the total of 'S'?
Thank you

For upcoming training course dates see: Pricing & availability

replyReply Tue 3 Nov 2009, 15:04Trainer Amanda said...

RE: If function within Excel

Hello Michelle

Thank you for your question.

I think that COUNTIF would work for this.

To count the number of times H appears:
=COUNTIF("H",range) where range refers to the cell range within which you would like Excel to count the number of times H occurs.

The same should work for counting the number of times S appears, if you replace "H" with "S" in the above formula.


Kind regards
Amanda

Tue 10 Nov 2009: Automatically marked as resolved.

 

Please browse our web site to find out more about
microsoft excel courses in london and other Microsoft training courses.

Excel tip:

Autosum shortcut key

press ALT + =

View all Excel hints and tips


Microsoft Certified Partner Accredited Training Provider: Institute of IT Training Institute of Leadership and Management - Certified Courses Security Seal verified by visa, mastercard securecard