Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
steev_jd
 
Posts: n/a
Default Comparing displayed values


Hi,

I have to compare a very large worksheet, some of the numbers are only
acurate to 3 decimal places, some of the others are accurate to about
10 d.p.

I need to somehow shorten the numbers that are 10 dp down to 3 dp so
they will compare properly. If I go into format cells and adjust the
settings there all this does is shorten the amount of numbers shown on
the worksheet, the full number is still in the background and as such
the MATCH formula returns a false.

Any ideas would be greatly appreciated.

Regards,
Steve


--
steev_jd
------------------------------------------------------------------------
steev_jd's Profile: http://www.excelforum.com/member.php...o&userid=33107
View this thread: http://www.excelforum.com/showthread...hreadid=529643

  #2   Report Post  
Posted to microsoft.public.excel.misc
Kevin B
 
Posts: n/a
Default Comparing displayed values

Changing formats merely modifies how the number is displayed, you can use
Round(Value,x...xx) to modify the actual value.

The following might be a possible solution, but save a copy of your original
file just in case:

Insert a helper column to the right of the column containing value with 3 or
more decimal positions

Assuming that the data is in column B row 1, enter the formula =ROUND(B1,3)
at the top of the new column and copy as far down as necessary

Copy the entire column of formulas

Select EDIT in the meny and select PASTE SPECIAL, and in the PASTE panel of
the dialog box, click the VALUES option button and click OK

Delete the column containing your formulas
--
Kevin Backmann


"steev_jd" wrote:


Hi,

I have to compare a very large worksheet, some of the numbers are only
acurate to 3 decimal places, some of the others are accurate to about
10 d.p.

I need to somehow shorten the numbers that are 10 dp down to 3 dp so
they will compare properly. If I go into format cells and adjust the
settings there all this does is shorten the amount of numbers shown on
the worksheet, the full number is still in the background and as such
the MATCH formula returns a false.

Any ideas would be greatly appreciated.

Regards,
Steve


--
steev_jd
------------------------------------------------------------------------
steev_jd's Profile: http://www.excelforum.com/member.php...o&userid=33107
View this thread: http://www.excelforum.com/showthread...hreadid=529643


  #3   Report Post  
Posted to microsoft.public.excel.misc
steev_jd
 
Posts: n/a
Default Comparing displayed values


Top man, thanks!


--
steev_jd
------------------------------------------------------------------------
steev_jd's Profile: http://www.excelforum.com/member.php...o&userid=33107
View this thread: http://www.excelforum.com/showthread...hreadid=529643

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
filtered values can displayed in certain cell Morphyus C via OfficeKB.com Excel Worksheet Functions 0 August 19th 05 08:50 PM
Min values in a list of numbers Traima Excel Worksheet Functions 1 August 5th 05 01:32 PM
Counting values and comparing them to a single cell Tbentsen Excel Discussion (Misc queries) 3 August 4th 05 10:47 PM
Excel Comparing Values Paul Feltham Excel Discussion (Misc queries) 0 February 8th 05 05:21 PM
Second serie doesn't use X-as values JackRnl Charts and Charting in Excel 1 January 20th 05 01:04 AM


All times are GMT +1. The time now is 10:37 AM.

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

About Us

"It's about Microsoft Excel"