Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Excel Error Handling 1

Status
Not open for further replies.

sandybam

Technical User
Mar 20, 2001
43
US
I have an Excel Spreadsheet with the following:

ScheduledTime(D):18900
ActualTime(G):17160
ScheduleAdherence(H):=IF(ISERROR(G6/D6)*100,"N/A",(G6/D6)*100)
MeetsGoal(I): I want to say if ScheduleAdherence is "N/A" or div/0! then "N/A", else if ScheduleAdherene is >= 98, "Yes", "No".

Any help would be greatly appreciated.

Thank you,
Sandy
 
If I understand you correctly then this should work for you;

=IF(OR(ISERROR(H2),H2="N/A"),"N/A",IF(H2>=98,"YES","NO"))

Hope this helps.

Regards,

Wray
 
Thank you so much for your quick response. I knew I had to use the And or Or but didn't know which or how to use.

Thank you!
Sandy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top