I need to update an excel formula

I need to update the following formula:

=IF($D249="M",IFERROR(INDEX('[Report 7-14-15.xlsx]Projects'!$D$10:$D$199,MATCH($R10,'[Report 7-14-15.xlsx]Projects'!$R$10:$R$199,0))&"",""),IFERROR(IF(F10="","",LEFT(F10,FIND("(E)",F10)+2))&IFERROR(CHAR(10)&IF(AP10="","",TEXT(AP10,"M/D/YY")&" (A)"),""),""))

The formula works great...However, when it finds a blank value in AP10, it returns "1/00/00 (A)" as if it found an actual date.

Is there a way to update the formula that if it finds a blank in AP 10, it returns a blank and not "1/00/00 (A)"

I understand that the formula is saying that its essentially blank, I just don't need it to display "1/00/00 (A)"
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

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.

Missus Miss_SellaneusCommented:
=IF(ISBLANK(AP10),"",IF($D249="M",IFERROR(INDEX('[Report 7-14-15.xlsx]Projects'!$D$10:$D$199,MATCH($R10,'[Report 7-14-15.xlsx]Projects'!$R$10:$R$199,0))&"",""),IFERROR(IF(F10="","",LEFT(F10,FIND("(E)",F10)+2))&IFERROR(CHAR(10)&IF(AP10="","",TEXT(AP10,"M/D/YY")&" (A)"),""),""))))
wrt1meaAuthor Commented:
OK, I tried your formula and its still returning the "1/00/00 (A)"

I forgot to mention that there is a formula in AP10. The formula returns a blank in AP10. Not sure if excel sees this as "it's not really blank, but it's blank..." kinda thing.

Thank you for your help

can we have the formula in Ap10

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.

wrt1meaAuthor Commented:
It's a big one...

Also an array formula:

=IF($D249="M",IFERROR(INDEX('[Report 7-14-15.xlsx]Projects'!$D$10:$D$199,MATCH($R10,'[Report 7-14-15.xlsx]Projects'!$R$10:$R$199,0))&"",""),IFERROR(IF(F10="","",LEFT(F10,FIND("(E)",F10)+2))&IFERROR(CHAR(10)&IF(AP10=0,"",TEXT(AP10,"M/D/YY")&" (A)"),""),""))

Open in new window

wrt1meaAuthor Commented:

I tried your formula, but its the same exact one as my original...?????

=0 instead of =""
wrt1meaAuthor Commented:
ok.....getting closer....for cells that have a value in R10, it works perfectly.

For cells where there is no value in R10, lets say r11, r12, r13, etc, the formula returns (A). I would need that to return blank...
then try
=IF($D249="M",IFERROR(INDEX('[Report 7-14-15.xlsx]Projects'!$D$10:$D$199,MATCH($R10,'[Report 7-14-15.xlsx]Projects'!$R$10:$R$199,0))&"",""),
IFERROR(IF(F10="","",LEFT(F10,FIND("(E)",F10)+2))&IFERROR(CHAR(10)&IF(OR(AP10="",AP10=0),"",TEXT(AP10,"M/t/jj")&" (A)"),""),""))

Open in new window

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
wrt1meaAuthor Commented:

Thanks for the help. The solution is perfect....
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.