![]() |
![]() |
|
|||||||
| 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 |
|
Board Regular
Join Date: Mar 2002
Posts: 246
|
i have the following formula:
=IF(ISBLANK(AF59),0,1) i want it to say if AF59 or AE59 or AD59 is blank, return 0, else return 1. also, instead of using an OR function and using 10 references to 10 cells, can i use some kind of array that says if AA59 to AG59 is blank, return 0, else return 1? thanks in advance. mach3 |
|
|
|
|
|
#2 |
|
Board Regular
Join Date: Mar 2002
Location: Boston, MA
Posts: 105
|
Try this:
=IF(OR(ISBLANK(A1:A3)),0,1) after typing it in, hold down Ctrl+Shift and hit Enter. This will enter it as some sort of array function, and it should work. |
|
|
|
|
|
#3 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: Austin, Texas USA
Posts: 11,654
|
Quote:
Note: This is an array formula which is entered using the Control+Shift+Enter key combination. For more on array formulas see the Excel Help Index topic for "About array formulas and how to enter them". |
|
|
|
|
|
|
#4 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: The Hague
Posts: 50,317
|
Quote:
=COUNTBLANK(AA59:AG59)>0)+0 Amended: =CHOOSE((COUNTBLANK(A1:A4)>0)+1,1,0) which still allows avoiding an array formula. Aladin [ This Message was edited by: Aladin Akyurek on 2002-04-24 08:31 ] |
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|