Working with an IF statement in Excel when the divisor might be -0-

I have numeric values in L34, L35, L36, L37 & L38.

Which generate values in P34...P37, unless L38, L37, etc. is -0-, then N/A is generated.  This works.
But, In R34...R37, the values of P34...P37 are used for calculation.  When the divisor is N/A, obviously I am getting an error.  I want to generate another N/A in the R series cells when the divisor is N/A.
T34..T38 generate %'s based on the values of L34...L38, with L38 being the base year (divisor).  When L38 is -0-, I want the base year to be L37 and on up.  
I have attached a small portion of the spreadsheet with the exact formulas.
LVL 1
Bill GoldenExecutive Managing MemberAsked:
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.

helpfinderIT ConsultantCommented:
could you attach the sample please?
0
Bill GoldenExecutive Managing MemberAuthor Commented:
Thought I did.  Let me try again...
AREA1forEEsubmission.xls
0
ProfessorJimJamCommented:
BluSKyBill

in your RO column you can wrap your formula with IFERROR

example R34 like this  =IFERROR(SUM(($P34+P35+P36+P37)/4),"N/A")

to fix the item in Column T then you can use the IF function with offset

so for example in T34 you can put the formula =SUM(($L34-$L38)/IF($L38=0,OFFSET(L38,-1,0,1,1))/4)
0

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
Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Rgonzo1971Commented:
HI,

see example

Regards
AREA1forEEsubmission--1-.xls
0
Bill GoldenExecutive Managing MemberAuthor Commented:
Still Testing
0
Martin LissOlder than dirtCommented:
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0
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.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.