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'
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
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