Excel 2010 :: Find Closest Match For Business Name?

Mar 15, 2012

I have Excel 2010 & Window 7. I have 2 sheets of business names, some businesses in sheet 1 may be named slightly different in sheet 2 and not all businesses in sheet 1 are included in sheet 2. I would like to be able to find the closest match (from sheet 2) for the businesses on sheet 1 and return the closest matched business name.

View 2 Replies


ADVERTISEMENT

Excel 2010 :: Lookup Single Closest Match?

Apr 17, 2013

I am using Excel 2010 and need to create something like a histogram that will have large regions of null values. In other words, my histogram might look like this...

x
x
x x
x x x
__x_________x___________x______
100 250 420

[My laboriously drawn histogram does not display correctly. It is supposed to have 3 x's above 100, 2 x's above 250, and 5 x's above 420]

I have data in the form of:
Value Prob.
100 30%
250 20%
420 50%

I have Excel giving me a histogram that looks like this...
x
x
x x
xxx
xxx
[This histogram also didn't turn out. Again, it is supposed to be 3 vertical x's, 2 vertical x's, and 5 vertical x's]

What I have tried to do is to create a list based on the lowest and highest numbers (e.g., 100 and 420) and split that into equal increments. I then intended to use a VLOOKUP or something to pull back the probability associated with the number in my list nearest the data value I have.

I couldn't get VLOOKUP to work correctly, so was happy when I found the following thread on Ozgrid. [URL]

However, in each of the solutions listed in that thread, I get faulty results. I am attaching a file that shows the errors and what I am trying to get : Example.xlsx

Perhaps there is some easier way to do what I am attempting to do. This architecture makes sense to me, but sometimes the perfect solution doesn't make sense until I see it...

View 5 Replies View Related

Find Closest Match To A Given Value

May 6, 2009

In the attached sheet, I am using !Staff times columns N and O to nominate a mid point break time relevant to the start,lunch break and finish times of a shift.

What I would like to do is match the result to the closest time from !Race Times Column D (highlighted green). So if for example the mid point of the shift is 10:37 (as in !Staff Times cell N23), it actually comes back with the !Race Times result of 10:35 which is the closest actual race.

Ideally I would like it to look both sides of the midpoint time until it came to the closest match, rather than always looking at an earlier time, or always a later time (eg the cell N79 has a value of 11:36, however the 2 race times are 11:35 and 11:40. Preference is it shows 11:35). If however the N79 result was 11:38 or 11:39, I would prefer it went to 11:40).

However if this is not possible then picking the next time in either direction will do.

View 4 Replies View Related

Find Closest Match Unsorted Data

Jun 26, 2008

I am wondering if it is possible to search a column full of assorted values which is unsorted, and then return the closest value.

I have written a previous thread which was similar, but misleading, i feel this thread is more to the point.

Currently i use this code, but it only finds the closest highest value if the data is sorted in ascending order.

View 14 Replies View Related

Find The Closest Match To A Reference Number

May 24, 2006

I needed to know how to find the closest match to a reference number
regardless of whether its larger or smaller. I did a search and found a post
back in March that said to use the following:

=SUMPRODUCT(((ABS(list-target))=MIN(ABS(list-target)))*list)

I applied it to my application and it works, I just have no idea why. Can
anyone explain this formula to me or tell me where I can find a good
resource.

View 11 Replies View Related

Find Closest Match To Group Of Items?

Oct 4, 2011

I have a database where I have groups defined. For example, Parent 0001 is called Bag1. It contains an apple, orange, grape, and a pear. Parent 0002 is called Bag2, containing an apple, orange, and a peach. So on and so on...

Below is an illustration of what I explained above:

Parent
Level
Description 0001
1
Bag1 0001
2
apple 0001
2
orange 0001

[code]....

I need a way to input items that are in the groups and find the groups have all of the items or the group with the best match. I need to know if the match is 100% or if it is only a partial match.

The bag might have 2 items or it could have 20 items and they can be in any order.

View 4 Replies View Related

Looping Macro On Find Closest Match

Jun 19, 2014

I have modified some code I found in these forums that once I enter a value in a cell I can have it find the closest match to that value and scroll down the list and paste that value as an offset. The code works perfectly, but my data will often contain the same values repeated and these aren't duplicates and I need to know how to loop the code to ensure it doesn't just find the first value but also the second (if the first is already populated) Code is:

Sub findclose()
Dim rng As Range, Dn As Range, Mx As Single, oAd As String
Dim num As Range

Set num = ActiveSheet.Range("B1")

[Code] .......

---- What I need to do is insert a loop of some sort that basically says IF my offset cell has a value then to find the next closest amount and continue the macro.

So if my list was:

700
50
500
600
500

And I wanted to find 499 then my list would look like:

700
50
500 499
600
500

BUT if I wanted to match off another amount of 501 it would keep the 499 it found and then find the 501 making the completed list look like:

700
50
500 499
600
500 501

Right now the amounts are being overidden as I don't know how to loop it...

View 6 Replies View Related

Find Closest Match Based On Two Criteria

May 12, 2009

I have a sheet of pump test results, placed in rows, where the test rig is set at a specific speeds and flow and it records pressure. At each stage of the test a number of snapshots will be taken (Usually between 3-5 at each stage), so I have 3-5 rows of very similar data. I only need to use the best row from the selection available, so I am hoping to find a formula or code (Don't care which) that can look at the results and select the row of readings where the speed AND the flow are closest to the targetted data.

For example: In cells G6:G8 I have flow result values 0.129, 0.151, 0.156 and in H6:H8 I have speed result values 72.536, 71.82, 72.13. These are actuals. In cell N6 I have the target speed (75) and in O6 I have flow target (0.15), but these could be moved anywhere to suit really. What I was hoping to do, but am struggling big time, was to just flag up the row of readings where these two values are closest to the targets by placing a check mark in column L:L which I have formatted in monotype sorts and would like to place a "4" (Which gives me a check mark) on the 'best' row. From that I can do more with some simple IF statements.

Is this feasible, or am I trying to do something beyond Excels capability, it is certainly beyond mine at the moment. I was looking at the check mark method, but that is not essential, so if anyone has any suggestions on an alternative means of identifying the best row of data, that might make it easier to do, then I am listening.

View 9 Replies View Related

Find The Closest Match To Given Latitude / Longitude From Data Stored In 2 Columns?

Feb 2, 2014

I have 2 different sets of data: temperature data recorded at meteo-stations defined by latitude / longitude, and major world cities also defined by latitude / longitude.

After the user chooses the station's coordinates, temperature data is pulled out from the first data set; this works! However, I would like to be able to provide information about the closest city to the chosen meteo-station from the second data set.

File attached with sample data sets.

View 14 Replies View Related

Find Closest Match Data On Worksheet1 And Pull Data From It To Worksheet2

Jan 8, 2013

I have an excel workbook with 2 worksheets. One worksheet shows the MASTER LIST of COMPLETE Customer Names (e.g. ABB Supplies Incorporated). The other worksheet has information on customers but the customer names typed in are incomplete (e.g. ABC Supplies). I need a macro that would look do a comparison of the customer names in the 2nd worksheet to the Master List worksheet and pull the data (complete name, address, etc.) for those that would match (partial match since company name is 2nd worksheet is usually incomplete).

View 2 Replies View Related

Match Upper Closest Value Using Index-Match

Jan 15, 2013

I couldn't resolve the formula of Index-Match for getting the values that matches the following criteria

1) Match the "Category" of Table 1 to Table 2

2) Match the "value" of Table 1 to Table 2, if value is not present in Table 2 take the upper closest value.

Once the above conditions are met, Take the Result from Table 2

Table 1 is for Input and Table 2 is for Database.

Please note that Data in Table 2 should not be sorted in any way. I tried to use the -1 option of the Match function for upper closest value but it didn't work out.

Have a look at the file attached : IndexMatchUpperClosestValue_AlongwithExactMatch.xlsx

View 3 Replies View Related

Closest Match

Jan 29, 2010

I have about 10000 datas in column A which are items' description.

Now I have an Item description in B2 & I want the closest match in C2 with B2 from Column A.

View 9 Replies View Related

Lookup Closest Match

Nov 3, 2006

I am looking for a fourmla to return a value in a column next to the closest value. Yes, this would normally be a vlookup example however in my application the numbers will not match exact as such in an client lookup application. I need to find the closest value to the value compared in the range and return the value to the right of it.

I have made up a small table attached with comparing what vlookup gives me and what I am looking for.

Example.xls

View 7 Replies View Related

VLOOKUP To Closest Match

Jun 17, 2009

I've got a vlookup function driven by the result of a simple equation.

=IF(C36="","---",VLOOKUP(C18/C39,'Engine & Configuration'!D1:G24,2,TRUE))

The issue I have is that I want the result to return the CLOSEST match, not an exact or rounded up match. For example, is my "C18/C39" equation returns a value of 1.000039, I want it to match with "1" in the array and not with 1.25. The FALSE option will not work because exact matches will be very rare.

The values in the array are not whole numbers, so I don't believe a ROUNDUP type code will help.

View 9 Replies View Related

Lookup Closest Match

Nov 3, 2006

I am looking for a fourmla to return a value in a column next to the closest value. Yes, this would normally be a vlookup example however in my application the numbers will not match exact as such in an client lookup application. I need to find the closest value to the value compared in the range and return the value to the right of it. I have made up a small table attached with comparing what vlookup gives me and what I am looking for.

View 6 Replies View Related

Vlookup Returning The Closest Match Down

Dec 8, 2009

I'm using vlookup to get a price for a unit of measure and it passes the value of the lesser not the greater. Is there anyway to get vlookup to pick the closest match as the greater value not the lesser one?

For example:
1000 units costs $8,000
4000 units cost $23,000
12000 units cost $68,000

If someone wants to buy 2500 units, I'd like the vlookup to pass the price based on 4000 units, but it passes 8,000 the value on 1000 units.

Can I use vlookup to give me the result of the greater unit not the lesser?

View 4 Replies View Related

Formula To Return Closest Match

May 30, 2014

I am trying to find a closest match for a given value comparing to values in a chart. I got it to work..but it will only return a closest value that less than it. I need it to also look "up", and return a value higher than it if it is closer. I have attached the worksheet. The vlookup part is for choosing which row to use, based on the value in B1. The column index portion of the vlookup is where the trouble lies....I am comparing the value found it B2 to chose the column...and that column should be the closest value...but like I said before, it will only return a lower value. The formula is in cell B11 (Correction Factor). it SHOULD return 1.26....instead, its giving me 1.18. (200 is closer to 192 than 175 is)

temp press exp.xlsx

View 1 Replies View Related

VLOOKUP Closest Match Not Close Enough

Dec 13, 2005

I'm comparing one string array with another using VLOOKUP. About half
the list matches exactly if I use FALSE in the Range_Lookup. On the
items that don't match I used TRUE in the Range_Lookup but found it
doesn't get the closest match. See example:

Test Table Array
AAABBBCCC
AAACCCCCC
AAACCCDDD

Lookup Value = AAACCCCC

VLOOKUP returns 1st item in Table (AAABBBCCC) ????????????

Of course item 2 (AAACCCCCC) is the better match but VLOOKUP doesn't
see it that way.

Does anyone know of a way around this problem? Maybe a character by
character match function that returns the item that matchs the most
number of correct characters?

View 14 Replies View Related

Searching On Dropdowns For Closest Match

Feb 6, 2012

Is there a way to set up drop downs so that you can type in the drop down box and it searches for the closest match?

View 1 Replies View Related

Closest Match: Unsorted Data

Oct 26, 2006

problem is the data I receive does not always have the same time stamps

21:59:50
22:00:05
22:00:20

next time maybe

21:59:55
22:00:00
22:00:05

What I was doing originially in my userform was allowing form the user to input the starting time (without having to know the exact time) example 22:00. This works but the problem is when they enter the approximate end time 3:00. Without sorting the data how do I get the ending time to match the approximate time if the time doesn't exist in the data. I was using the Match function and the defined data range with 1 (i.e. Match(value, range, 0)). This works for the starting time but not the stop time since the data is not in ascending order.

View 5 Replies View Related

Percentage Based On Closest Match Of Scale

Mar 20, 2008

I'm looking for a solution that could automatically return a value from a predefined named range depending on a given value. eg. I have 3 discount groups:

1) Discount A
Above quantity 5 = 3%
Above quantity 10 = 4%
Above quantity 15 = 5%
Else = 0%

2) Discount B
Above quantity 30 = 2%
Above quantity 60 = 9%
Else = 0%

3) Discount C
Above quantity 15 = 5%
Else = 0%

I have assigned all products to the various groups using vlookup. All discountgroups are named ranges (respectively DISCOUNT A, DISCOUNT B, ...)
ALL OF THE ABOVE IS DONE. How can I make excel look into a named range and return the correct percentage depending on the quantity that is written elsewhere (Keep in mind, most discount groups have a different amount of applied scales as you can see above). So far I can make it look into the correct named range and return a value when a quantity is exactly the same as the minimum quantity. The 'between' or scale functionality ... I have no idea how to work that out within a named range, whilest keep on looking for next scale if condition is not met.

View 2 Replies View Related

Excel 2010 :: Index / Match Duplicate

Jul 18, 2014

I have a victim of the Index-Match duplication problem in Excel (2010). Basically, I have three columns of data, all daily input for the year.

Column 1 = Date
Column 2 = Actual (Units Sold)
Column 3 = Scheduled (Units Sold)

The Date is filled out through the end of the year as is the Scheduled values.
The Actual values are filled out daily.

I need to generate a summary box that reports Actual, Scheduled, and Variance (Actual - Scheduled) for the time periods Daily, Month to Date, and YTD.

My problem is that when I try to return the Schedule value that corresponds with the date of the last entry, I don't know if I am pulling the correct Schedule value since I do not know if the Actual value (that is pulled from the last value in the Actual column) is unique. So I tried using an Index-Match formula to return the latest value (that is the last record occurrence of the value) to my function in order to retrieve the correct Schedule value, but, sadly, it did not work.

I by no means am an Excel expert like many of you, so I may have some questions along the way.

I've attached a sample extraction from my worksheet and included an example of the Summary panel I'm creating.

ActualVsScheduled_problem - Copy.xlsx

View 14 Replies View Related

Excel 2010 :: Index Match Using Array?

Sep 13, 2012

The context of this problem is that I am pulling sales data from different outlets to analyse monthly sales. The data from the various outlets are in various formats and the products, even though they are the same throughout all the stores, are named differently. For example, Mushroom Soup can be named as "Soup Mushroom", "Mushroom Soup" or "Cream of Mushroom". This makes analysis really tough.

I first created a table with a list (K6:P6) that had the varying names of the products. This is shown as the first table with 3 rows.

Then I tried to match this list to a range of products sold by an outlet e.g. Electric. (shown in the next bigger table $D$10:$D$254, ) Next, I used Index to call up and display the sales of that product next to table with list A ($G$10:$G$254)

This works for some entries but not for all. I get mostly #NA answers even though I do ctrl-shift-enter. Also, the bigger table is in a separate file and I am using excel 2010.

=INDEX('[GON-JUN 2012.xls]gon-jun'!$G$10:$G$254,MATCH(K6:P6,'[GON-JUN 2012.xls]gon-jun'!$D$10:$D$254,0))

[URL]

View 8 Replies View Related

Excel 2010 :: VLookup Will Not Match Unless Use Sendkeys F2

Sep 24, 2013

We have a business system which has some very disjointed reporting. To fix this I have multiple extracts that are then combined into a single report. I then add Year & Period from a lookup of a date in a particular field. Unfortunately most values are returned as #N/A but if I manually go into the sheet and select an offending cell and click then magically the formula then corrects itself.

So I thought I would be clever and use Sendkeys {F2} as part of my code. Unfortunately this is a bit hit & miss as it works on some but not on others. Also the Sendkeys piece repeats itself leaving my frontsheet a 1000 rows from the start. This is easily fixed by selecting cell A1as the last step.

My question is there methods in VBA by not using sendkeys that will achieve the same result and is consistent. I am using Excel 2010.

Code:
Sub Add_Calendar()
Dim cell As Object, c As Range

'setup for calendar data population
' Range("H1") = "Created Date"
Range("N1") = "Year"
Range("O1") = "Period"
'copy the format

[Code] ........

View 1 Replies View Related

Excel 2010 :: Column And Row Match And Index

Oct 3, 2013

Whatever formula I try is returning an error of #N/A

I have two worksheets the first with transport data - customer,collection point, delivery point, haulier and number of pallets - all this information is in columns; the second sheet with the rates show haulier, customer, validity, delivery point in columns and then pallet numbers run across a row with rates tying in underneath. i have simplified this below.

I am just trying to reference all the data and work out what the cost for the variables would be in the example the cell i'm trying to find is H8 (320) -

I have already tried the following and several modified versions:
=INDEX('RATE LOOKUPS'!$E$6:$I$9,MATCH(1,('MASTER DATA'!A:A='RATE LOOKUPS'!C:C)*('MASTER DATA'!B:B='RATE LOOKUPS'!B:B)*('MASTER DATA'!C:C='RATE LOOKUPS'!D:D)*('MASTER DATA'!D:D='RATE LOOKUPS'!A:A)*('MASTER DATA'!E:E='RATE LOOKUPS'!E5:I5),0))

[Code] ..........

View 6 Replies View Related

Excel 2010 :: Index / Match With Reference?

Dec 24, 2013

I am currently using the below formula to add values (D6:D225 on sheets Mon, Tue, ...) given the criteria is met in any cells within the two columns across the five sheets (E6:E225 & N6:N225 on sheets Mon, Tue, ...).

When the references to the columns do not randomly change themselves to #REF! it works fine however, it does this often, forcing my to rewrite the formula.

**Why does it do that and is there a way to stop it?

Also, when I do have to rewrite I am forced to do each cell individually to change the number within the quotes. I have tried to use a cell reference there but when I do Excel just gives me a "0" as if there is no data to be retrieved.

I am using Excel 2010 on a company computer with the macros blocked so no VBA.

Code:
=SUM(IFERROR(INDEX(Mon!$D$6:$D$225,MATCH("2000",Mon!$E$6:$E$225,0)),0),
IFERROR(INDEX(Mon!$D$6:$D$225,MATCH("2000",Mon!$N$6:$N$225,0)),0),
IFERROR(INDEX(Tue!$D$6:$D$225,MATCH("2000",Tue!$E$6:$E$225,0)),0),
IFERROR(INDEX(Tue!$D$6:$D$225,MATCH("2000",Tue!$N$6:$N$225,0)),0),
IFERROR(INDEX(Wed!$D$6:$D$225,MATCH("2000",Wed!$E$6:$E$225,0)),0),
IFERROR(INDEX(Wed!$D$6:$D$225,MATCH("2000",Wed!$N$6:$N$225,0)),0),

Excel 2010

View 9 Replies View Related

Excel 2010 :: Lookup For Match Function

Jul 17, 2014

I think I need some version of a lookup for match function. Here is essentially what I need: I have a column of data points. I need to output every position at which the data point changes to a different value (going from top to bottom). See below for an example.

Here is some sample data (with column headers)

Position
Data Pt

1
-7.5

2
-8.0

[Code] .......

Here is the result I need (I want to put a consistent formula into the second column below that returns the results shown in the second column below):

split 1 position
2

split 2 position
4

[Code] ........

Is what I am describing possible? Because I am inserting this into a template, I ideally need to do this outside of any sort of VBA work.

View 2 Replies View Related

Match All Text And Closest Number In Alphanumeric String?

Feb 21, 2014

Formula to match all text and closest number in alphanumeric string

View 1 Replies View Related

Hlookup Against Multiple Array Display Closest Match

Jan 4, 2013

I used a Fuzzy lookup to match the data that was shared between my two tables. I was able to run 3 different Fuzzy attempts to increase my accuracy because the source data had a lot of spelling errors and such.

Now I am at a point where I need to analyze the 3 possible Fuzzy matches. I am kinda stumped on the best route to do this and thought that an approximate match Hlookup would be the best route but I can't seem to get it to work.

Here is a pic of my table:[URL]

I am trying to match the cell outlined in red against the 3 cells outlined in green, when the best suited match is found I need to copy the green cell and the orange adjacent cells to it's left and right (ID# and Similarity). It would be best if the match threshold was in the low 90% range.

View 1 Replies View Related

Excel 2010 :: Index - Match With Data In Rows

Jan 7, 2013

Using Excel 2010.

Rows 1 and 2 (range: A1:CM2) within Spreadsheet X contain the range of data that I need.

Within Spreadsheet Y, Row 6 will change monthly and will be input by the user. The value in Row 6 equals the data in Row 2 in worksheet X.

I need to put a formula in row 4 of spreadsheet Y that returns the value of Row 1 in Spreadsheet X.

Unfortunately, I cannot change the spreadsheet layout, otherwise I could do an HLOOKUP formula using Spreadsheet Y Row 6 and Spreadsheet X Row 2 and be done with it. I assume that I need to use an Index-Match formula, which I am not as familiar with. In addition, all of the online support I have found explains Index-Match with data in columns, not rows.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved