![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: Apr 2002
Posts: 6
|
have a questionnaire response form with n/a where the person did not want to respond, how can i replace this so i can then use all the answers ie averages, means etc.....
cannot have zero |
|
|
|
|
|
#2 |
|
Board Regular
Join Date: Mar 2002
Posts: 175
|
If N/A is text rather than a number, the functions should work.
__________________
Regards, Mike. |
|
|
|
|
|
#3 |
|
New Member
Join Date: Apr 2002
Posts: 6
|
yes it is text, but with solver and pivot table seems not to function
|
|
|
|
|
|
#4 |
|
Board Regular
Join Date: Mar 2002
Posts: 175
|
sorry, i meant text rather than the #N/A error. i'm afraid i'm stumped.
__________________
Regards, Mike. |
|
|
|
|
|
#5 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: The Hague
Posts: 50,317
|
Quote:
=COUNTIF(B2:E2,"<>#N/A") [for counting] =SUMIF(B2:E2,"<>#N/A")/MAX(1,COUNTIF(B2:E2,"<>#N/A")) [for average/mean] where B2:E2 houses response values which can be summed, counted, or averaged. I assumed excel's #N/A is used as a response type and not just N/A. For the latter, see Mike's reply. [ This Message was edited by: Aladin Akyurek on 2002-05-24 02:01 ] |
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|