+ Reply to Thread
Results 1 to 3 of 3

Ignoring entries when not in the correct format

  1. #1
    Forum Contributor
    Join Date
    08-20-2009
    Location
    Plymouth, England
    MS-Off Ver
    Excel 2013
    Posts
    149

    Ignoring entries when not in the correct format

    I have a spreadsheet which calculates average delays of flights departing airports. If in the time departed cell there is an entry not in the time format ie flight delayed, this corrupts the data. Is there a way of getting the spreadsheet to ignore this entry if it does not match the correct format.

    Thanks,

    Luke
    Last edited by lukela85; 09-26-2010 at 04:34 AM.

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2504 Win 11
    Posts
    24,700

    Re: Ignoring entries when not in the correct format

    Quote Originally Posted by lukela85 View Post
    I have a spreadsheet which calculates average delays of flights departing airports. If in the time departed cell there is an entry not in the time format ie flight delayed, this corrupts the data. Is there a way of getting the spreadsheet to ignore this entry if it does not match the correct format.

    Thanks,

    Luke
    Suggest you use the =isnumber function. Here is the syntax

    http://www.techonthenet.com/excel/formulas/isnumber.php

    then couple it with an =if function.

    ie. =if(isnumber(your cell), action if true, action if false)

    Alan

  3. #3
    Forum Contributor
    Join Date
    08-20-2009
    Location
    Plymouth, England
    MS-Off Ver
    Excel 2013
    Posts
    149

    Re: Ignoring entries when not in the correct format

    Thanks, perfect result.

    Marking as solved.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1