Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 128
Default Using XP Operating System to Search for Numbers Values in Excel Files

Hi

I want to search for a numeric value (e.g. 283.57) in a large number of
Excel files stored in a directory.

While text seems to be stored as ASCII code and is visible in a file editor,
the numbers in Excel appear to be coded and certainly the XP file search
does not <do the business.

Are there any ways round this? (and, out of interest, can anyone tell me how
the numbers are stored?)

Many thanks

Tim

PS I have done some searches on the archive but not turned up anything
relevant/helpful.


  #2   Report Post  
Posted to microsoft.public.excel.misc
dlw dlw is offline
external usenet poster
 
Posts: 510
Default Using XP Operating System to Search for Numbers Values in Excel Fi

not sure what xp search is doing, but to find it, in excel:
file/open/tools/find will bring them up

"Tim Childs" wrote:

Hi

I want to search for a numeric value (e.g. 283.57) in a large number of
Excel files stored in a directory.

While text seems to be stored as ASCII code and is visible in a file editor,
the numbers in Excel appear to be coded and certainly the XP file search
does not <do the business.

Are there any ways round this? (and, out of interest, can anyone tell me how
the numbers are stored?)

Many thanks

Tim

PS I have done some searches on the archive but not turned up anything
relevant/helpful.



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default Using XP Operating System to Search for Numbers Values in Excel Files

Well, I remember reading a post very similar to this some time ago, so
your searching wasn't very thorough.

Excel stores numbers in a special binary format defined by IEEE. Part
of the bit pattern is used to represent the mantissa (the binary
fractional part), and another part is used for the exponent (the power
of 2 that the number should be multiplied by). As such, you will not
be able to search for (decimal) numbers like 283.57, as they don't
exist in that format in the file (unless entered as text values).

Hope this helps.

Pete

On Nov 13, 8:57 pm, "Tim Childs" wrote:
Hi

I want to search for a numeric value (e.g. 283.57) in a large number of
Excel files stored in a directory.

While text seems to be stored as ASCII code and is visible in a file editor,
the numbers in Excel appear to be coded and certainly the XP file search
does not <do the business.

Are there any ways round this? (and, out of interest, can anyone tell me how
the numbers are stored?)

Many thanks

Tim

PS I have done some searches on the archive but not turned up anything
relevant/helpful.



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 128
Default Using XP Operating System to Search for Numbers Values in Excel Fi

Hi

thanks for the response. However, I think that search will only look for
items within the FILE PROPERTIES (file last save date, Comments, Author etc)

I am looking for an item in a cell so it does not appear to work

Do you agree?

Thanks

Tim
"dlw" wrote in message
...
not sure what xp search is doing, but to find it, in excel:
file/open/tools/find will bring them up

"Tim Childs" wrote:

Hi

I want to search for a numeric value (e.g. 283.57) in a large number of
Excel files stored in a directory.

While text seems to be stored as ASCII code and is visible in a file

editor,
the numbers in Excel appear to be coded and certainly the XP file search
does not <do the business.

Are there any ways round this? (and, out of interest, can anyone tell me

how
the numbers are stored?)

Many thanks

Tim

PS I have done some searches on the archive but not turned up anything
relevant/helpful.





  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 128
Default Using XP Operating System to Search for Numbers Values in Excel Files

Hi

Thanks for response

Is it possible to find out the implied string by finding out the IEEE
conversion used and then search using that?

Tim

"Pete_UK" wrote in message
ups.com...
Well, I remember reading a post very similar to this some time ago, so
your searching wasn't very thorough.

Excel stores numbers in a special binary format defined by IEEE. Part
of the bit pattern is used to represent the mantissa (the binary
fractional part), and another part is used for the exponent (the power
of 2 that the number should be multiplied by). As such, you will not
be able to search for (decimal) numbers like 283.57, as they don't
exist in that format in the file (unless entered as text values).

Hope this helps.

Pete

On Nov 13, 8:57 pm, "Tim Childs" wrote:
Hi

I want to search for a numeric value (e.g. 283.57) in a large number of
Excel files stored in a directory.

While text seems to be stored as ASCII code and is visible in a file

editor,
the numbers in Excel appear to be coded and certainly the XP file search
does not <do the business.

Are there any ways round this? (and, out of interest, can anyone tell me

how
the numbers are stored?)

Many thanks

Tim

PS I have done some searches on the archive but not turned up anything
relevant/helpful.







  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 367
Default Using XP Operating System to Search for Numbers Values in Excel Fi

On Nov 14, 4:13 pm, "Tim Childs" wrote:
Hi

thanks for the response. However, I think that search will only look for
items within the FILE PROPERTIES (file last save date, Comments, Author etc)

I am looking for an item in a cell so it does not appear to work

Do you agree?

Thanks

Tim"dlw" wrote in message

...



not sure what xp search is doing, but to find it, in excel:
file/open/tools/find will bring them up


"Tim Childs" wrote:


Hi


I want to search for a numeric value (e.g. 283.57) in a large number of
Excel files stored in a directory.


While text seems to be stored as ASCII code and is visible in a file

editor,
the numbers in Excel appear to be coded and certainly the XP file search
does not <do the business.


Are there any ways round this? (and, out of interest, can anyone tell me

how
the numbers are stored?)


Many thanks


Tim


PS I have done some searches on the archive but not turned up anything
relevant/helpful.- Hide quoted text -


- Show quoted text -


You could code the whole thing in VBS or VBA.

Connect to the directory,
loop: open every excel
output when he find the number
and exit the loop

Maybe a little bit too much effort if you only need to do it once.
But i think you will find most of the code parts by searching
in google.

hth

Carlo

  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default Using XP Operating System to Search for Numbers Values in Excel Files

I don't know. Why do you want to use XP's Search tool anyway?

Pete

On Nov 14, 7:16 am, "Tim Childs" wrote:
Hi

Thanks for response

Is it possible to find out the implied string by finding out the IEEE
conversion used and then search using that?

Tim

"Pete_UK" wrote in message

ups.com...



Well, I remember reading a post very similar to this some time ago, so
your searching wasn't very thorough.


Excel stores numbers in a special binary format defined by IEEE. Part
of the bit pattern is used to represent the mantissa (the binary
fractional part), and another part is used for the exponent (the power
of 2 that the number should be multiplied by). As such, you will not
be able to search for (decimal) numbers like 283.57, as they don't
exist in that format in the file (unless entered as text values).


Hope this helps.


Pete


On Nov 13, 8:57 pm, "Tim Childs" wrote:
Hi


I want to search for a numeric value (e.g. 283.57) in a large number of
Excel files stored in a directory.


While text seems to be stored as ASCII code and is visible in a file

editor,
the numbers in Excel appear to be coded and certainly the XP file search
does not <do the business.


Are there any ways round this? (and, out of interest, can anyone tell me

how
the numbers are stored?)


Many thanks


Tim


PS I have done some searches on the archive but not turned up anything
relevant/helpful.- Hide quoted text -


- Show quoted text -



  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 128
Default Using XP Operating System to Search for Numbers Values in Excel Fi

Hi Carlo

Thansk for that. Will try that if necessary: am still hoping to find a less
onerous route (hopefully!)

Best wishes

Tim

"carlo" wrote in message
oups.com...
On Nov 14, 4:13 pm, "Tim Childs" wrote:
Hi

thanks for the response. However, I think that search will only look for
items within the FILE PROPERTIES (file last save date, Comments, Author

etc)

I am looking for an item in a cell so it does not appear to work

Do you agree?

Thanks

Tim"dlw" wrote in message

...



not sure what xp search is doing, but to find it, in excel:
file/open/tools/find will bring them up


"Tim Childs" wrote:


Hi


I want to search for a numeric value (e.g. 283.57) in a large number

of
Excel files stored in a directory.


While text seems to be stored as ASCII code and is visible in a file

editor,
the numbers in Excel appear to be coded and certainly the XP file

search
does not <do the business.


Are there any ways round this? (and, out of interest, can anyone

tell me
how
the numbers are stored?)


Many thanks


Tim


PS I have done some searches on the archive but not turned up

anything
relevant/helpful.- Hide quoted text -


- Show quoted text -


You could code the whole thing in VBS or VBA.

Connect to the directory,
loop: open every excel
output when he find the number
and exit the loop

Maybe a little bit too much effort if you only need to do it once.
But i think you will find most of the code parts by searching
in google.

hth

Carlo



  #9   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 128
Default Using XP Operating System to Search for Numbers Values in Excel Files

Hi

...because it works well and is very effective except for this specific area.
The functionality would help a lot on certain specific occasions.

best wishes

Tim
"Pete_UK" wrote in message
oups.com...
I don't know. Why do you want to use XP's Search tool anyway?

Pete

On Nov 14, 7:16 am, "Tim Childs" wrote:
Hi

Thanks for response

Is it possible to find out the implied string by finding out the IEEE
conversion used and then search using that?

Tim

"Pete_UK" wrote in message

ups.com...



Well, I remember reading a post very similar to this some time ago, so
your searching wasn't very thorough.


Excel stores numbers in a special binary format defined by IEEE. Part
of the bit pattern is used to represent the mantissa (the binary
fractional part), and another part is used for the exponent (the power
of 2 that the number should be multiplied by). As such, you will not
be able to search for (decimal) numbers like 283.57, as they don't
exist in that format in the file (unless entered as text values).


Hope this helps.


Pete


On Nov 13, 8:57 pm, "Tim Childs" wrote:
Hi


I want to search for a numeric value (e.g. 283.57) in a large number

of
Excel files stored in a directory.


While text seems to be stored as ASCII code and is visible in a file

editor,
the numbers in Excel appear to be coded and certainly the XP file

search
does not <do the business.


Are there any ways round this? (and, out of interest, can anyone

tell me
how
the numbers are stored?)


Many thanks


Tim


PS I have done some searches on the archive but not turned up

anything
relevant/helpful.- Hide quoted text -


- Show quoted text -





Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel FILES WILL NOT OPEN WITH NEW VISTA OPER SYSTEM Tracy Excel Discussion (Misc queries) 1 November 11th 07 02:21 AM
operating system not configured to run excel gmoty Excel Discussion (Misc queries) 1 April 14th 06 06:33 AM
Operating on Non Calculated Values Hubie Excel Discussion (Misc queries) 4 April 9th 06 01:49 AM
Microsoft should put operating system on hardware not software Greg Weller Excel Discussion (Misc queries) 0 September 15th 05 05:11 AM
Excel files transferred to XP system trp754 Excel Discussion (Misc queries) 2 March 30th 05 03:31 PM


All times are GMT +1. The time now is 02:01 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"