Is there a sum inverse function?

Hi All:

Is there a function that will sum the inverse of a range of cells, which also allows for zeros as some of the values?  The same as: 1/A1 + 1/B1 + ... +1/H1  and allow for a 0 value in B1 & E1.

Bob
LVL 9
lynx20Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

UINVDJMCommented:
=SUM(IF(ISERROR(1/A1:A10),0,1/A1:A10))

This is an array formula, so enter with Ctrl + Shift + Enter

HTH
Darren
UINVDJMCommented:
or more suitably...

=SUM(IF(ISERROR(1/A1:H1),0,1/A1:H1))

Entering as an array formula should insert the formula in {}

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
lynx20Author Commented:
I get an error when I enter.  It highlite the 0 in the formula.

Bob
PMI ACP® Project Management

Prepare for the PMI Agile Certified Practitioner (PMI-ACP)® exam, which formally recognizes your knowledge of agile principles and your skill with agile techniques.

UINVDJMCommented:
could you upload a sample?
lynx20Author Commented:
I cannot upload the entire workbook so I created a value only version of the sheet.  I am attempting to enter the formula in U5.
Test.xls
UINVDJMCommented:
You've missed a ")"

Should be   =SUM(IF(ISERROR(1/BC5:BJ5),0,1/BC5:BJ5))
lynx20Author Commented:
Thanks.  I guess I've been staring at this thing for too many days.
UINVDJMCommented:
No problem, I know the feeling, I assure you!

Cheers for the grade!
Darren

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.