Share via

Excel does not recognize data as numbers when trying to sort

Anonymous
2013-06-06T00:53:43+00:00

Hello Excel gurus... 

I have a question for Excel 2013.  I created a spreadsheet for organizing data from competitive events (i.e. to save times).  At the end, a handicap must be calculated based on the teams... this is done via a VLOOKUP.  It is also formatted to output a blank if the preceeding cells are blank.  Here's the equation for F3: =IF(D3="","",IF(E3="","",IF(D3="NT","",IF(E3="NT","",D3+E3+VLOOKUP(C3,Handicaps,2,FALSE)))))

The VLOOKUP table just adds seconds based on the handicap; the NT denotation (of the previous cells) indicates a no time - or a team that was disqualified thus does not need a final time calculated.

Excel is recognizing cells with this formula as letters when I try to sort; it asks if I want to sort A-Z.  I didn't think it would be a problem but it is... last time I tried to sort it skipped a few of the teams.

I'm not sure why the data is not recognized as numbers - any thoughts?

Thanks,

-Alex

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

4 answers

Sort by: Most helpful
  1. Anonymous
    2014-03-20T06:31:46+00:00

    When I login to windows with new user profile the problem was resolved and everything working fine.

    So, if your PC connected to domain try to move your data and remove you profile and login again with new profile.

    If your PC in workgroup create new profile than login with it and move your data from the old profile.

    You need administrator privilege to do this.

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2013-06-06T23:08:23+00:00

    Yes, It should give correct result once you have numbers in it.

    You are right, that excel default assume that data is not numeric unless numeric data exists.

    Try with some dummy data, and it should work,

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2013-06-06T20:08:51+00:00

    V_Agarwal thanks so much!

    That seemed to work when I tried it on an old spreadsheet (with data and numbers already in) but when I tried it on a blank sheet (for a new event) it went back to an A-Z sort.  Will this change once I have numbers in?  Does Excel default assume that data is not numeric unless numeric data exists?

    Thanks again,

    -Alex

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2013-06-06T03:42:59+00:00

    Try to change your formula to

    =IF(AND(ISNUMBER(D3),ISNUMBER(E3)),D3+E3+VALUE(VLOOKUP(C3,Handicaps,2,FALSE)),"")

    Was this answer helpful?

    0 comments No comments