LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
MSJ MSJ is offline
external usenet poster
 
Posts: 3
Default Match worksheet Function displays wrong data on calculation

On Sep 17, 12:48*pm, MSJ wrote:
I am looking for some assistance on a way to get around what I believe
is an error in excel of some sort.

I am attempting to do aMatchbased off of a calculated field as thedatain myworksheetis in percentages and thedatain anotherworksheetis in whole numbers.

Cell: N35 = 1.7500%
Cell: Q36 = *=MATCH(N35*100, CRF!E56:E67, -1)

I need this to be a -1 as I want to show the largest number if there
is no exact value that is closest to the original number.

SheetMatch:
Cell E56: 3
Cell E57: 2.75
Cell E58: 2.5
Cell E59: 2.25
Cell E60: 2
Cell E61: 1.75
Cell E62: 1.5
Cell E63: 1.25
Cell E64: 1
Cell E65: .75
Cell E66: .5
Cell E67: .25

It works properly for every single number except 1.75 and I can't
figure out why. *It keeps displaying Row 5 which correlates to 2.

If I change Q36 to be =MATCH(1.75, CRF!E56:E67, -1) it works fine, but
when I do (1.7500%*100) it doesn't which leads me to believe that
excel is viewing those as two different numbers. *I have tried using
round to just bring it to 4 digits, I even tried displaying 30 digits
to see if there was some sort ofcalculationbug within excel.

Please help.


Okay I found a solution myself, but I would still like to get a better
understanding of why the error is occuring. I have now changed the
match formula to =MATCH(Trunc(N35*100,4), CRF!E56:E67, -1) and it
works fine. However, the number in that field is really 1.75% and it
should not need to be trucated to match.
 
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
Wrong results from MATCH function Imladrian Excel Worksheet Functions 4 April 25th 23 09:02 AM
Displays wrong result FirstVette52 Excel Worksheet Functions 2 July 21st 09 11:18 PM
Getting wrong answer with Match Function CB1215 Excel Worksheet Functions 3 April 24th 09 03:21 AM
Vlookup displays wrong result Melbridge Excel Worksheet Functions 10 November 9th 07 12:37 AM
IF function displays wrong amount JAnderson Excel Worksheet Functions 4 November 6th 04 06:41 PM


All times are GMT +1. The time now is 08:55 AM.

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"