View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Shane Devenshire[_2_] Shane Devenshire[_2_] is offline
external usenet poster
 
Posts: 3,346
Default ISBLANK and OR Function

Hi,

Something the following array formula:

=IF(COUNTA(S5:BY5),INDEX($S$4:$BY$4,1,MATCH(TRUE,( S5:BY5=0)+(S5:BY5="")0,)),"None!")

Array - you need to enter it by pressing Shift+Ctrl+Enter

--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"Bec G (Oz)" wrote:

I have the formula below which I am using to find the first blank cell in a
row and return the header of that row but I've now been told that the cell
might be blank or might be zero and we want the header returned

=IF(COUNTA(S5:BY5)=0,"None!",INDEX($S$4:$BY$4,MATC H(TRUE,ISBLANK(S5:BY5),0)))

Any ideas on how to amend this to work?

Thanks