Search : in
By :

IF statements in Excel

Last answer on Jun 10, 2009 5:56:03 pm BST twister, on May 14, 2009 7:02:05 pm BST 
 Report this message to moderators

Hello,

I'm looking for some help with conditional coding in excel. If text is entered in one of eight specified cells, then I would like 1 added to a "total" cell. It is being used to track total number of patients present at a given time.

For example, if patient names are entered in cells a1, a5 and a9, then a40 would give a value of 3. If no names were entered in the specified cells, a40 would show a value of 0.

Any ideas? I know generally how to use IF and THEN statements, but this is a bit over my head...

Thanks in advance for your help!

Configuration: Windows XP Internet Explorer 6.0

Best answers for « IF statements in Excel » in :
Delete duplicates in an Excel column ShowDelete duplicates in an Excel column To remove duplicates in an Excel column: Click on the Data menu Filter Advanced Filter In this menu, select the column where the duplicates Check the box "Extract without duplication"...
[Excel] – Countif Formula Show[Excel] – Countif Formula Issue Solution Note Issue I have one excel file in that Column "B" has the "pending or Closed" Status and Column "C" has "Severity 1, Severity 2 and Severity 3" I want to count in one cell with "Pending...
[Excel] Adding a fixed date in a cell Show[Excel] Adding a fixed date in a cell If you want to insert the current date in a cell in following format DD /MM/YYYY, and that it remains unchanged, without being updated each time the file is opened. Simply type "ctrl" + ";" in the...
Spreadsheets - Conditional expressions ShowWhat is a Conditional Structure? Conditional structures are instructions that allow to test if a condition is true or not. Conditional structures may be associated together. To successfully execute these tests using logical functions, spreadsheets...
Spreadsheets - The Excel Interface ShowExcel Introduction Microsoft Excel is the spreadsheet in the Microsoft Office office suite. To start it, simply click on the appropriate icon in the Start menu (in Windows) or click on an Excel file (that has an .xls file extension). A Excel...

1

Excelguru, on May 15, 2009 4:40:42 am BST
  • +1

Use =COUNTIF(a1:a9,"<>" & "")


--------------------
Winners are losers who got up and gave it one more try. -Dennis DeYoung

Reply to Excelguru

2

 excelpert, on Jun 10, 2009 5:56:03 pm BST
  • +3

=Count(a1:a9)

Reply to excelpert