Solved

Excluding specific cells from array formula

Posted on 2014-03-04
4
261 Views
Last Modified: 2014-03-04
I am using this array formula to get the total number of minutes:
{=SUM(IF(ISERROR(Y2:BI2),"",Y2:BI2))}

I need to revise the above formula to exclude the following 3 cells: AV2, AY2, BB2

Thanks,
Andrea
0
Comment
Question by:Andreamary
  • 2
4 Comments
 
LVL 50

Expert Comment

by:Rgonzo1971
ID: 39903297
HI,

pls try

{=SUM(IF(ISERROR(Y2:AU2);"";Y2:AU2))+SUM(IF(ISERROR(AW2:AX2);"";AX2:AX2))+SUM(IF(ISERROR(AZ2:BB2);"";AZ2:BB2))}

Open in new window

Regards
0
 
LVL 43

Accepted Solution

by:
Saqib Husain, Syed earned 500 total points
ID: 39903310
Try

=SUM(IF(ISERROR(Y2:BI2)+NOT(ISERROR(FIND((ADDRESS(ROW(Y2:BI2),COLUMN(Y2:BI2))),"$AV$2,$AY$2,$BB$2"))),"",Y2:BI2))
0
 
LVL 50

Expert Comment

by:Rgonzo1971
ID: 39903323
With commas instead of semicolons

{=SUM(IF(ISERROR(Y2:AU2),"",Y2:AU2))+SUM(IF(ISERROR(AW2:AX2),"",AX2:AX2))+SUM(IF(ISERROR(AZ2:BB2),"",AZ2:BB2))}

Open in new window

Regards
0
 

Author Closing Comment

by:Andreamary
ID: 39903389
I tested all the solutions offered and this is the solution that worked properly. Thanks very much!
0

Featured Post

Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Microsoft Office Picture Manager was included in Office 2003, 2007, and 2010, but not in Office 2013. Users had hopes that it would be in Office 2016/Office 365, but it is not. Fortunately, the same zero-cost technique that works to install it with …
Excel can be a tricky bit of software to get your head around. Whilst you’ll be able to eventually get to grips with the basic understanding of how to get by, there are a few Excel tips that not everybody will even know about let alone know how to d…
An overview on how to enroll an hourly employee into the employee database and how to give them access into the clock in terminal.
XMind Plus helps organize all details/aspects of any project from large to small in an orderly and concise manner. If you are working on a complex project, use this micro tutorial to show you how to make a basic flow chart. The software is free when…

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question