Consulting

Results 1 to 10 of 10

Thread: Solved: Formula Repeats itself??

  1. #1
    VBAX Mentor Hoopsah's Avatar
    Joined
    Nov 2007
    Posts
    303
    Location

    Solved: Formula Repeats itself??

    Hi,

    I am utilising a formula that was provided to me by XLD that worked perfectly in a previous program.

    However, when I use it in this sheet it keeps giving me back the same result.

    I have attached a copy to show what I mean.
    I am playing all the right notes, but not necessarily in the right order.
    Eric Morecambe

  2. #2
    VBAX Mentor MaximS's Avatar
    Joined
    Sep 2008
    Location
    Stoke-On-Trent
    Posts
    360
    Location
    vlookup formula will always bring you up the first row meeting your criteria.

  3. #3
    VBAX Mentor MaximS's Avatar
    Joined
    Sep 2008
    Location
    Stoke-On-Trent
    Posts
    360
    Location
    please remove that post - that's browser error.
    Last edited by MaximS; 11-13-2008 at 06:51 AM.

  4. #4
    VBAX Mentor Hoopsah's Avatar
    Joined
    Nov 2007
    Posts
    303
    Location
    Sorry, your right, I will have to try and find another search method then?
    I am playing all the right notes, but not necessarily in the right order.
    Eric Morecambe

  5. #5
    VBAX Mentor Hoopsah's Avatar
    Joined
    Nov 2007
    Posts
    303
    Location
    OK,

    sorry for being so dumb (It is near the end of the week)

    I have changed it by putting in a counter in column A to make unique finds and now it works.

    D'oh!
    I am playing all the right notes, but not necessarily in the right order.
    Eric Morecambe

  6. #6
    VBAX Mentor MaximS's Avatar
    Joined
    Sep 2008
    Location
    Stoke-On-Trent
    Posts
    360
    Location
    Unique ID is the bast idea but if you have repeating records to find you can use INDEX(MATCH) function.

  7. #7
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    Try this
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

  8. #8
    VBAX Mentor Hoopsah's Avatar
    Joined
    Nov 2007
    Posts
    303
    Location
    Cheers for that, I think I will stick with a unique identifier.

    Thanks for your help though

    Cheers

    Hoops
    I am playing all the right notes, but not necessarily in the right order.
    Eric Morecambe

  9. #9
    VBAX Mentor Hoopsah's Avatar
    Joined
    Nov 2007
    Posts
    303
    Location
    Hi Bob,

    you always manage to make this look easy.

    That is much better than what I was trying - Thank you

    Gerry
    I am playing all the right notes, but not necessarily in the right order.
    Eric Morecambe

  10. #10
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    Gerry,

    Just noticed something you were doing on thw workbook, and using that approach we can be more efficient
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

Posting Permissions

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