Solved

Excluding specific cells from array formula

Posted on 2014-03-04
4
264 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 51

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 51

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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.

719 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