![]() |
![]() |
|
|||||||
| 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: 13
|
I want to use an 'if' statement on a list of values to then create another column of vlaues from which a graph is drawn. If the 'if' statement is not satisfied then I want to leave the cell blank. I can do this but the problem is that Excel treats the blank as a zero and plots it. The syntax I'm using is =if(a5>0,a5/2,"") - it's the "" that I probably need to replace so that the graph doesn't plot a zero although trying text also doesn't work
|
|
|
|
|
|
#2 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: The Hague
Posts: 50,317
|
Quote:
=if(a5>0,a5/2,ISNA()) Aladin |
|
|
|
|
|
|
#3 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Austin, Texas USA
Posts: 11,654
|
=IF(A5>0,A5/2,#N/A)
|
|
|
|
|
|
#4 |
|
New Member
Join Date: Apr 2002
Posts: 13
|
Thanks, works a treat.
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|