+ Reply to Thread
Results 1 to 13 of 13

Vlookup formula question

  1. #1
    Forum Contributor
    Join Date
    11-10-2013
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    229

    Vlookup formula question

    Hi all,

    Could you help me out to create the Vlookup formula for the attached excel doc?

    We are interested in the 2 last tabs on the right : " processed survey data " and " working Plough Log Data " which have a column in common, the " KP "

    what I need to do, is to have the values of " burial depth" and " plough tow force " values from the " working plough log data " tab imported in the " processed survey data" tab , when the KP is the same .

    the result should be a grapgh on the first tab

    any input is very welcome, thank you!
    Alex
    Attached Files Attached Files

  2. #2
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,499

    Re: Vlookup formula question

    I would think that, for your burial depth this would work... =VLOOKUP(D2,'Working (Plough Log Data)'!B:E,3,FALSE) and for plough tow force this should work... =VLOOKUP(D2,'Working (Plough Log Data)'!B:E,4,FALSE)
    both dragged down (on your processed survey data sheet).
    it does give matches but a lot of #N/As and that is likely because they aren't exact matching numbers i suspect.
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  3. #3
    Forum Expert boopathiraja's Avatar
    Join Date
    07-12-2013
    Location
    Coimbatore,TamilNadu, India
    MS-Off Ver
    Excel 2007, 2013, 2016, 365
    Posts
    1,455

    Re: Vlookup formula question

    Try with the below formulas if the lookup value not available the result will be o

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Click just below left if it helps, Boo?ath?

  4. #4
    Forum Contributor
    Join Date
    11-10-2013
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    229

    Re: Vlookup formula question

    thank you boopathiraja and Sambo Kid, i just tried to paste both the formula but they are not working.... is there a way to round up to say the 4th decimal on the lookup value?

    in fact did you try to use the formula on the spreadsheet?
    if i apply the formula on the burial depth, at kp 3.3956 I have a burial depth of 97.2 , I used the formula =VLOOKUP(D2,'Working (Plough Log Data)'!B:E,3,FALSE) in E:2 on the "processed survey data" tab, but I got an N/A ... but this is not possible, as I should have gotten the actual value, 97.2
    Last edited by cat3appr; 08-29-2014 at 08:52 AM.

  5. #5
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,499

    Re: Vlookup formula question

    if you are ok with resorting your working worksheet to have the values in col B ascending then you can use this vlookup for each...
    burial depth =VLOOKUP($D2,'Working (Plough Log Data)'!$B:$D,3,TRUE)
    Plough tow force =VLOOKUP($D2,'Working (Plough Log Data)'!$B:$E,4,TRUE)
    the TRUE part works to give approximations but the reference group has to be sorted ascending.
    how accurate it is for your results i don't know, you'll have to check that.

  6. #6
    Forum Expert boopathiraja's Avatar
    Join Date
    07-12-2013
    Location
    Coimbatore,TamilNadu, India
    MS-Off Ver
    Excel 2007, 2013, 2016, 365
    Posts
    1,455

    Re: Vlookup formula question

    Try

    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Formula: copy to clipboard
    Please Login or Register  to view this content.

  7. #7
    Forum Expert boopathiraja's Avatar
    Join Date
    07-12-2013
    Location
    Coimbatore,TamilNadu, India
    MS-Off Ver
    Excel 2007, 2013, 2016, 365
    Posts
    1,455

    Re: Vlookup formula question

    Try

    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Formula: copy to clipboard
    Please Login or Register  to view this content.

  8. #8
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,499

    Re: Vlookup formula question

    now that i really look at your data, the problem is that any vlookup will return the first value it finds, so for example you have on your "working" sheet multiple instances of one KP value such as -1964.7697 but more than one burial depth and plough tow force. A vlookup will always return the first instance it finds so using my recommendation to sort columns B D and E ascending on B will always return the first burial depth of 99.4 and 12.5 and no others.
    You may have to better define what you want.

  9. #9
    Forum Contributor
    Join Date
    11-10-2013
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    229

    Re: Vlookup formula question

    guys , all the formula are not working, could you please post the spreadsheet with the working formula on it? because I pasted all the suggested ones, no one worked....

    thank you!

  10. #10
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,499

    Re: Vlookup formula question

    here is yours back with values and formulas...

    I had to delete some data so i could upload it but the concept is there.

  11. #11
    Forum Contributor
    Join Date
    11-10-2013
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    229

    Re: Vlookup formula question

    Thank you Sambo Kid,

    we are getting closer to the solution but still not there. In the doc you attached, please note that all the KP values on the "working Plough Log Data" tab has been altered and now they are all -1964.77 , and the inital tab has been removed, I think this didn't help. In fact I tried to copy and apply the formula on my spreadsheet and it didn't work.

    I'm attaching again the spreadsheet, could you apply the formula on this one, without altering anything at all in the spreadsheet?

    The reason why I'm doing this is because on the first tab, the one that has been removed, it should appear a graph, if the procedure has been done correctly, I'm attaching a screenshot of the graph.

    If the Vlookup routine will be done correctly, this graph will appear on the first tab.

    many thanks!!
    Alex
    Attached Images Attached Images
    Attached Files Attached Files
    Last edited by cat3appr; 08-29-2014 at 11:01 AM.

  12. #12
    Forum Contributor
    Join Date
    11-10-2013
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    229

    Re: Vlookup formula question

    please let me know if anyone will manage to solve this.
    thank you!
    Alex

  13. #13
    Forum Expert boopathiraja's Avatar
    Join Date
    07-12-2013
    Location
    Coimbatore,TamilNadu, India
    MS-Off Ver
    Excel 2007, 2013, 2016, 365
    Posts
    1,455

    Re: Vlookup formula question

    Hi, Check out the attachment

    1) Helper1 to reduce the lookup value to 4 digit
    2) Helper2 to find the diff between the lookupvalue and the result value
    3) I have reduced the rows to 1000 and remove the chart since the file exceeds 1mb,

    Hope it helps

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Question about whether this would need a VLOOKUP formula. I'm not so sure.
    By bmiranda in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 01-08-2013, 02:50 PM
  2. Complex vlookup formula question
    By dta1984 in forum Excel General
    Replies: 54
    Last Post: 11-18-2011, 12:23 AM
  3. Replies: 2
    Last Post: 10-08-2009, 09:51 PM
  4. Vlookup/If Formula Question
    By meggles in forum Excel General
    Replies: 4
    Last Post: 06-02-2008, 02:10 PM
  5. [SOLVED] vlookup formula question
    By Janice via OfficeKB.com in forum Excel General
    Replies: 3
    Last Post: 03-25-2005, 03:06 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1