closest

  1. P

    Number lookup match

    I am trying to look in A1:A100 for the number that is the closest to D1 and then return the value from the corresponding cell from B1:B100. If there are 2 numbers in A1:A100 that are the closest to D1 then return the corresponding number from B1:B100 from the first one it comes to. Hope that...
  2. D

    Highlight Closest Over/Under Values in Horizontal Range

    I have searched and searched on this and if there is an answer, I've either not found the magic combination of words to conjure the solution from the depths of the internet or cannot understand my own search result. As such, apologies for any redundancies. I have a dynamic table in which I want...
  3. G

    Finding Date Closest to Today but Not in the Future

    Hello all, I'm trying to use conditional formatting to highlight the row of data with a date that is closest to today but not in the future. I am currently using =$A2=TODAY() in conditional formatting, but this will not highlight the date if today's date is not on the list. I would like to...
  4. Z

    Find closest match, excluding current row

    I've been browsing the forum, and found several relevant examples but can't quite adapt them for my fairly simple need. I am looking to set up a formula in column C, to return the closest matching store (column A) of previous 3 months sales (column B). For example, Store 1 (A2) closest match...
  5. M

    INDEX & MATCH with multiple criteria

    Hi, I have an INDEX & MATCH problem I'm having trouble solving. The first part works ok, shown below; return a value from B4:B49 where J4 is greater than or equal to C4:C49, J4 is less that or equal to D4:D49, J3 is greater than or equal to E4:E49, J3 is less that or equal to G4:G49. I'd...
  6. R

    Matching closest Lat and Lon

    Hello, I have two tables. Both have Lat and Lon values in them along with other data. For each row in table A I need to find the index of table B where the Lat and Lon is the closest. I have a formula for working out the distance but I don't know how to incorperate it into a match type...
  7. C

    Vlookup on minimum difference - VBA loop

    Hey All, This is my first post on the website. I'm looking to get a vlookup value based on the closest value. I have 3 different buckets with their different numbers. They do not exactly match the list on the left so i'm looking for a formula / VBA loop to automatically show the bucket name...
  8. S

    Lookup and Down

    Good Morning, Here is what I cannot figure out. I have a column of dates (Column A), then I have a much shorter column of dates (Column B). What I am trying to do is create a formula that looks at the date in Column A; but returns the closest date in Column B (however, cannot be a previous...
  9. M

    Closest Value in a array

    Good day to all, I have a set of fix variables Dim arr1 = Array [{1, 2000,3000,.....}] and was looking for the closest value, so when i input a certain number in Range("A1"), the closest value will appear in Range("B2") for example. vlookup works but was trying to learn coding and stuffs so...
  10. S

    Closest match insert value

    Hi all, Need formula in B2 that compares A2 cell value with column H values and find closest match that are either equal or lower than A2 value. Then it need to return value from corresponding column G which in this case is text (Orange). Thanks. <tbody> A B C D E F G H I J 1 Unit size...
  11. L

    Lookup of User ID with 2 criteria: 1) Item ID match in ranges 2) Closest date and time in the past.

    Good day, I have the following issue: Table 1: Column A: dateTime Column B: Item ID Table 2: (another worksheet) Column D: dateTime 2 Column E: Item ID Column F: User ID I have to find the User ID for the related Item ID and dateTime 1 in Table 1 with the following criteria: 1. item ID from...
  12. B

    look up text with closest match

    I've been trying to look up the closest match in excel.. for example: sheet1 in column A: Red carpets blue cheese Sheet2 in Column A: Fast carpets Free carpets Red carpets for free blue pen is there a formula that looks up the closest match in this case... "Red carpet" in sheet 1 should...
  13. K

    Match and inext multiple criteria

    Im struggling with a formula, one match is an exact match the other is the closest less than. I can get the formular to work with the individual matches but I am struggling to get it to combine the 2 together, I end up wit the REF error...
  14. R

    Find Closest Value to Specific Value in a Range.

    I have something that looks like this: <tbody> A B C D E F G H I J 1 0.05 <<Target 2 Data1 Data2 Data3 Data4 Data5 Data6 Closest 3 0.031 0.0482 0.0503 0.0523 0.091 1.45 0.0503 4 </tbody> And I trying to figure out a formula that I could put in J3 that will give...
  15. K

    Find closest value with a condition

    Hi, so say I have this table: <tbody> Type Number Closest difference (in %) Apple 12 Apple 16 Apple 22 Banana 24 Banana 26 Banana 42 </tbody> I need to fill the third column, so for example in first row it should give me % difference between 12 and 16, in second - same, in...
  16. J

    highlight three closest values, higher or lower

    hello all, I have tried to tweak some of these formulas that are similar to what i am searching for but with no luck. I have values in A1:A19 with a reference in B1. I would like conditionally format the three rows A:D that hold the closest values, with higher or lower not being relevant...
  17. B

    Trying to find the next closest date, only if the other column is "NO"

    It's had to word exactly what I am trying to do, but in short I have billers in the I column, and each biller has a due date in column N, and I have whether or not the biller is paid ("YES", or "NO") in column H. I simply want to use today's date and tell me what biller is due next, but only if...
  18. K

    Find the Closest Date Match

    I have been tasked to help with a tax project for my company and I am stuck. We have a worksheet that lists multiple trucks, the date they filled their truck with fuel, gallons of fuel and various other data. The dilemma is we need to find the line for each Truck out of 21467 Lines that is...
  19. M

    Select closest date to a month ago

    Hi all, Any idea how I can select the closest date to a 30 days ago ? Vlookup & Co only deliver the largest date that is smaller then the selection, not necessarily the closest. Here is an example: Col A Col B Col C "DATE" "DATA" "Last 30 day Average of Data" 25/10/2009...
  20. R

    formula for closest match

    hello guys, i am new in this site and i am mot sure if this has been asked before, here's my problem. The first column is the invoice number and the second column is the value of the invoice. A1200 2,525.25 A1250 4,234.21 A1750 3,135.22 C2150...

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top