To add 30mins to the folowing formula

Hi Experts,
I have the following formula below that an expert helped me with.
What I need to do now is if E5 = 1 then add 30mins to the answer from the below formula.
I have been trying for a while and cant seem to work it out. The formula below copies a time from another sheet if certin cells match by date etc.

=IFERROR(IF(INDEX('FP Reader'!$H:$H,MATCH(C$4&"|"&INT($A6)&"|"&$B5,'FP Reader'!$K:$K,0))="","",INDEX('FP Reader'!$H:$H,MATCH(C$4&"|"&INT($A6)&"|"&$B5,'FP Reader'!$K:$K,0))),"")


Cheers
Rob.
RobJanineAsked:
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.

HainKurtSr. System AnalystCommented:
try

=A2+IF(E5=1, (1/(24*60))*30,0)

where A2 is the result for your formula above...
Book1.xlsx
0
Saqib Husain, SyedEngineerCommented:
simply add

+(e5=1)*30/24/60 to the end of the given formula
0
RobJanineAuthor Commented:
Correct, but the formula and your formula need to be in the same cell eg C5.
I need to add 30mins to the formula result in that same cell.

Any ideas?
0
Build an E-Commerce Site with Angular 5

Learn how to build an E-Commerce site with Angular 5, a JavaScript framework used by developers to build web, desktop, and mobile applications.

RobJanineAuthor Commented:
Sorry, too slow on my part.....Thanks
0
HainKurtSr. System AnalystCommented:
then just add

(...existing formula...)+IF(E5=1, (1/(24*60))*30,0)
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
RobJanineAuthor Commented:
when my formula returns a "" will it still try and add 30mins??
because once i inseerted your formula it returns "#####"
0
Saqib Husain, SyedEngineerCommented:
Add the given addition before the LAST comma (,)
0
RobJanineAuthor Commented:
thanks to both of you....im having a bad day sorry.

Cheers
Rob.
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.