Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22
Default Rounding, List, Compare, Match

How do I compare two lists of figures to match the same item? The hard
part is that some figures are results of rounding, like 12345 vs 12346
vs 12343, they all have the same order number but the different data
sources make them look different.

Thanks in advance (always, I have learned a lot from you guys)
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,441
Default Rounding, List, Compare, Match

wisemax,

Try setting up a column of formulas, along the lines of

=ROUND(A2/5,0)*5

Which rounds to the nearest five, as in your example, and then match on that
value along with the order number. A lot depends on what you want to pull
out:

Just the fact that it matches something uniquely:
=SUMPRODUCT((orderNumber = OrdeNumbers)*(RoundedVal = Rounded Values))=1

=SUMPRODUCT((H2 = $A$2:$A$10000)*(I2 = $B$2:$B$10000))=1
will return true if H2 matches something in column A, and I2 matches the
value in the same row, but in column B...

More specific descriptions of your layout would help us help you.


HTH,
Bernie
MS Excel MVP




"Curious" wrote in message
...
How do I compare two lists of figures to match the same item? The hard
part is that some figures are results of rounding, like 12345 vs 12346
vs 12343, they all have the same order number but the different data
sources make them look different.

Thanks in advance (always, I have learned a lot from you guys)



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
Compare List A to List B, Return List B Items Not in List A zwestbrook Excel Programming 4 September 18th 08 10:32 PM
Compare, Match & Sum HELP Fredw Excel Discussion (Misc queries) 3 April 30th 08 07:04 AM
Compare Value in Cell 1 to a List, Return Value if Match otherwise Return Null Ben Excel Discussion (Misc queries) 2 March 15th 07 01:02 AM
rounding numbers for match function erc_blair Excel Worksheet Functions 2 February 14th 06 03:12 PM
rounding numbers for match function erc_blair Excel Worksheet Functions 1 February 14th 06 01:21 AM


All times are GMT +1. The time now is 05:35 PM.

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"