#VALUE error

A

an

Hi!

I have a time table with:

A B
1 11:55:00 AM 2:20:00 PM

If aplied the formulae =(B1-A1) return #VALUE error, because there are one
space before first digit.

If erased the space, work fine.
With Find and Replace don't solve the problem.

Is possible to solve this problem automaticly, please?
Thanks in advance.
an
 
A

an

Thanks for reply.
Don't result.

The original format cell is General

After change to Custom h:hh:mm AM/PM or Time format don't result too.

Thanks more one time.
an
 
A

an

Thanks for reply.
Don't result.

The original format cell is General.
After change to Time format or h:mm:ss AM/PM don't result too.

Thanks you.
an
 
G

Gord Dibben

From where do you get the data?

If imported. perhaps the space is a non-breaking space.

TRIM or CLEAN functions will not remove those.

Select and Edit>Replace

What: Alt + 0160(using NumPad)

With: leave blank

Replace all

Does that compute any better?


Gord Dibben MS Excel MVP
 
G

Gord Dibben

Thanks for the feedback.

I should have said "if imported or copied from a web-site" because that's the
usual place to collect non-breaking HTML character(( )

Happy to help.


Gord
 
A

an

Yes, indeed was copied of the Web.
Thanks
an

Gord Dibben said:
Thanks for the feedback.

I should have said "if imported or copied from a web-site" because that's the
usual place to collect non-breaking HTML character(( )

Happy to help.


Gord
 
Top