Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Conditional formula - dealing with < numbers as numeric fields

We have a set of data from a laboratory containing <values that we want to
prepare for importing to Access. We need to ensure that Access recognises the
values as numeric (for later graphing & calculations) but cannot simply
remove the < symbol - rather we want to remove the < symbol and multiply the
value by e.g. 0.99999 (to differentiate from values that were actually 'x'
not '<x'.

e.g. have

Sample ID, Parameter 1, Parameter 2,
abc, <0.001, 0.01

want

Sample ID, Parameter 1, Parameter 2
abc, 0.000999999, 0.01

Any help would be appreciated (maybe this can be done at the Access import
stage?).
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default Conditional formula - dealing with < numbers as numeric fields

Try this formula in D2:

=IF(LEFT(B2)="<",RIGHT(B2,LEN(B2)-1)*0.99999,B2)

Then you can copy this down as far as you need to. If you fix the
values from this formula, you could then copy/paste over the original
values and then you could delete column D.

Hope this helps.

Pete

On Feb 19, 11:45*pm, GulfLass
wrote:
We have a set of data from a laboratory containing <values that we want to
prepare for importing to Access. We need to ensure that Access recognises the
values as numeric (for later graphing & calculations) but cannot simply
remove the < symbol - rather we want to remove the < symbol and multiply the
value by e.g. 0.99999 (to differentiate from values that were actually 'x'
not '<x'.

e.g. have

Sample ID, Parameter 1, Parameter 2,
abc, <0.001, 0.01

want

Sample ID, Parameter 1, Parameter 2
abc, 0.000999999, 0.01

Any help would be appreciated (maybe this can be done at the Access import
stage?).


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
Concantenate numeric fields Pa Maher Excel Worksheet Functions 10 January 17th 07 01:50 PM
Dealing with minus numbers in formulas duubgina Excel Discussion (Misc queries) 6 May 27th 06 08:02 PM
Dealing with range of numbers in a cell Penny Excel Worksheet Functions 5 May 4th 06 08:20 PM
Dealing with numbers that begin with a 0 SueB Excel Worksheet Functions 3 November 22nd 05 08:31 PM
dealing with very long numbers 149047 Excel Discussion (Misc queries) 3 July 7th 05 01:45 PM


All times are GMT +1. The time now is 02:22 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"