![]() |
![]() |
|
|||||||
| 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 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: The Hague
Posts: 50,317
|
Quote:
|
|
|
|
|
|
|
#2 |
|
New Member
Join Date: Feb 2002
Posts: 27
|
I asked it wrong before, so I'll try again.
I need a formula that will count how many NS are in E20 thru M20 also, I need in the same formula to enter a N/A if there are Quit or Inj in the same E20 thru M20. is that possible? (Also, I need it to return a blank cell if there aren't any NS, Quit or Inj entered. Thanks! [ This Message was edited by: justine on 2002-01-14 16:23 ] |
|
|
|
|
|
#3 |
|
New Member
Join Date: Feb 2002
Posts: 27
|
Yes.. Is that possible?
|
|
|
|
|
|
#4 |
|
Board Regular
Join Date: Mar 2002
Location: London, UK
Posts: 167
|
=IF(COUNTIF(E20:M20,"Quit")>0,"N/A",IF(COUNTIF(E20:M20,"Inj")>0,"N/A",IF(COUNTIF(E20:M20,"NS")>0,COUNTIF(E20:M20,"NS"),"")))
__________________
<table style="background-color:#0e54be" cellspacing="1" cellpadding="2"><td style="background-color:#ceffff;font-family:arial;color:#072c63;font-size:8pt;">***DALEY** :P**</td></table> |
|
|
|
|
|
#5 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: The Hague
Posts: 50,317
|
Quote:
when CountOf(NS)>0, Quit and NJ do not occur in the range. Aladin |
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|