Search : in
By :

Checking a row of cells and reporting

Last answer on Mar 17, 2009 9:05:07 am GMT Martinwuff, on Mar 16, 2009 2:32:27 pm GMT 
 Report this message to moderators

Hello,

I have an audit spreadsheet listing rooms by the building its in, the room number and a series of answers to questions afterwards detaling if they passed a particular inspection point, or, if not, how many violations they had.

Example

Bldg102 Rm 241 yes yes yes 3 yes yes NA 1 yes yes yes NA NA NA NA


I would like to put a note in the A column that tells me if the room had issues. I figure it would be something like If(a4 = "yes","",if(a4= "NA","","Fail")) but I want it to check every cell in the row and as long as there are only "yes" and "NA" responses, then it prints nothing. But if there is even one single OTHER answer value, then it prints "Fail". (if it helps, the answers section takes up K2:AA2, and I have 250 rooms to check results on, hence making excel do it for me).

Thanks so much!

Configuration: Windows XP
Internet Explorer 7.0

Best answers for « Checking a row of cells and reporting » in :
Basic Excel Formulas ShowBasic Excel Formulas Below are some basic formulas for Microsoft excel: Basic formula : ADDITION cell A1 to A10 = sum (A1: A10) AVERAGE cell A1 to A10 = average (A1: A10) MAXIMUM cell A1 to A10 = max (A1: A10) MINIMUM...
Excel tips : How to insert date in a cell ShowExcel tips : How to insert date in a cell Below are some tips on how to insert date and time in an excel cell for a specific purpose:- To insert current date, press CTRL ¯+ ;¯ in the chosen cell. To insert current time, press CTRL¯+...
Colouring cells on conditions ShowColouring cells on conditions There are many pratical functions under Excel which is not commonly used. Example: If you wish a cell automatically turns red (or other formatting border, frame etc) under one condition: a result, a...
Download Source Code Spell Checker ShowSource Code Spell Checker is a program that offers to check your lines of code, highlight the errors and to report errors detected. You save valuable time by limiting the reading tedious programming codes. Advantage Via the context menu, you can...
Worksheet - Cells ShowThe Concept of a Cell A "cell" is the intersection between a line (horizontal) and a column (vertical) on a worksheet. Thus, the name of the line combined with the name of the column gives the cell's coordinates (the term address is sometimes also...
Error checking ShowError checking Binary encoding is very practical for use in electronic devices such as computers, in which information can be encoded based on whether an electrical signal is present or not. However, this electrical signal may suffer disturbances...
Spreadsheets - Cell Selection ShowCell Selection Spreadsheets are powerful tools for working with data. However, to work with data, it is necessary to have tools to rapidly choose the required cells. Line Selection An entire line can be chosen by clicking directly on the line...

1

 wonderpc, on Mar 17, 2009 9:05:07 am GMT
  • +1

Hi,
try this to see if it works for you:
If(a4:a<the last lettern in the row> = "yes","",if(a4:a<the last lettern in the row> = "NA","","Fail"))

Reply to wonderpc