Results 1 to 6 of 6

Thread: [RESOLVED] Been away to long, need help

  1. #1
    New Member
    Join Date
    Jun 10
    Posts
    5

    Resolved [RESOLVED] Been away to long, need help

    I have been away for programming Excel spreadsheets for so long I cannot remember how to programmically make the spreadsheet compare to cells. I am looking to do what I think is a VLOOKUP, I just do not know how to do it.

    I have a very simple spreadsheet that is laid out as such.

    column 'A' holds numerical values as texts (I did it this way in order to show the '0' that some values have as the first digit).
    column 'B' holds names that correspond to the values of column 'A'

    I am looking to speed the data entry part of this spreadsheet, therefore, I want to just enter the values into column 'A' and have the name auto populate column 'B'. In columns 'F' and 'G' beginning at row 2000 I have listed all the values and names. I am looking to compare the value I enter into column 'A' row whatever with that of column 'F' rows 2000-2703 and if a match is found enter the name from column 'G' into column 'B'.

    Here is an example:
    If at 'A:3' I enter the value '12345'
    I than want to programmically compare the value of 'A:3' with that of 'F:2000 - F:2703', If a match is found at 'F:2504'
    Then I want the name from 'G:2504' to be entered into 'B:3'

    I hope this is understandable.

  2. #2
    Super Moderator Hack's Avatar
    Join Date
    Aug 01
    Location
    Searching for mendhak
    Posts
    58,283

    Re: Been away to long, need help

    Welcome to the forums

    Does this help?
    Please use [Code]your code goes in here[/Code] tags when posting code.
    When you have received an answer to your question, please mark it as resolved using the Thread Tools menu.
    Before posting your question, did you look here?
    Got a question on Linux? Visit our Linux sister site.
    I dont answer coding questions via PM or EMail. Please post a thread in the appropriate forum section.

    Creating A Wizard In VB.NET
    Paging A Recordset
    What is wrong with using On Error Resume Next
    Good Article: Language Enhancements In Visual Basic 2010
    Upgrading VB6 Code To VB.NET
    Microsoft MVP 2005/2006/2007/2008/2009/2010/2011/2012/Defrocked

  3. #3
    Super Moderator koolsid's Avatar
    Join Date
    Feb 05
    Location
    Mumbai, India
    Posts
    11,415

    Re: Been away to long, need help

    Welcome to the forums

    Vlookup is explained very clearly with an example in your Excel Help
    A good exercise for the Heart is to bend down and help another up...
    Please Mark your Thread "Resolved", if the query is solved

    Microsoft MVP: 2011 - Till Date IMP Links : Acceptable Use Policy, FAQ

    MyGear:
    Sony VGN-FZ27G with a triple boot between (XP+Office 2003+VB6), (VISTA+Office 2007+VS2008) and (Win7+Office 2010+VS2010) || Sony VPCCB-45FN with a Win7+Office 2010+VS2010. VM: (XP+Office 2003+VB6), (VISTA+Office 2007+VS2008), (Win8+Office 2010+VS2012) || Mac Book Pro (10.6.8) with Office 2011

  4. #4
    New Member
    Join Date
    Jun 10
    Posts
    5

    Re: Been away to long, need help

    I do not have access to microsoft online help, I am on a secure server that has that blocked.

  5. #5
    Super Moderator koolsid's Avatar
    Join Date
    Feb 05
    Location
    Mumbai, India
    Posts
    11,415

    Re: Been away to long, need help

    It is an offline help. If you press F1 then it will automatically appear
    A good exercise for the Heart is to bend down and help another up...
    Please Mark your Thread "Resolved", if the query is solved

    Microsoft MVP: 2011 - Till Date IMP Links : Acceptable Use Policy, FAQ

    MyGear:
    Sony VGN-FZ27G with a triple boot between (XP+Office 2003+VB6), (VISTA+Office 2007+VS2008) and (Win7+Office 2010+VS2010) || Sony VPCCB-45FN with a Win7+Office 2010+VS2010. VM: (XP+Office 2003+VB6), (VISTA+Office 2007+VS2008), (Win8+Office 2010+VS2012) || Mac Book Pro (10.6.8) with Office 2011

  6. #6
    New Member
    Join Date
    Jun 10
    Posts
    5

    Re: Been away to long, need help

    Thank you

Posting Permissions

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