Link to home
Start Free TrialLog in
Avatar of macentrap
macentrapFlag for Australia

asked on

excel formula to format text date then display comment

G'day Experts
in attached file I have output from console in Column 'A' , trying if data in Column A is 'Yes' or 'is greater than 12/05/2017' then 'Latest Update' else 'Pending')

please help with excel formula

Thank you
Cheers
Mac
data_result.xlsx
ASKER CERTIFIED SOLUTION
Avatar of Rgonzo1971
Rgonzo1971

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I believe this will work fo you:
=IF(ISERROR(IF(A3="Yes","Latest Update",IF(MID(A3,FIND("/",A3,FIND("/",A3)+1)+1,4)>=2017,IF(MID(A3,FIND("/",A3)+1,2)>="05",IF(MID(A3,FIND("/",A3)-2,2)>"12","Latest Update","Pending"),"Pending")))),"Pending",IF(A3="Yes","Latest Update",IF(MID(A3,FIND("/",A3,FIND("/",A3)+1)+1,4)>=2017,IF(MID(A3,FIND("/",A3)+1,2)>="05",IF(MID(A3,FIND("/",A3)-2,2)>"12","Latest Update","Pending"),"Pending"))))

Open in new window


Just put it in C and then copy it down.
Avatar of macentrap

ASKER

thank you
thank you Mike, Apologies  as just accepted Rgonzo1971solution