Jan 23, 2002 #1 chkote Technical User Nov 21, 2000 42 AU I want to obtain a row number from a lookup table after doing a vlookup ....is this possible? Thanks
Jan 23, 2002 #2 S SkipVought Programmer Dec 4, 2001 47,492 US Hi, Here's a way Code: TheRow = Range("MyLookupTable).Row + LookupIndex - 1 Depending upon whether your lookup table has headings, you may have to subtract 2. Hope this helps Skip, metzgsk@voughtaircraft.com Upvote 0 Downvote
Hi, Here's a way Code: TheRow = Range("MyLookupTable).Row + LookupIndex - 1 Depending upon whether your lookup table has headings, you may have to subtract 2. Hope this helps Skip, metzgsk@voughtaircraft.com
Jan 23, 2002 1 #3 JVFriederick IS-IT--Management Mar 19, 2001 517 US I'm all for cheating. Add the formula =CELL("row",L2) onto the righthand side of your lookup table and copy for as many records as needed. (L2 is just an example) Use the same criteria as in your first vlookup, but look at the new column containing the row rumbers. Upvote 0 Downvote
I'm all for cheating. Add the formula =CELL("row",L2) onto the righthand side of your lookup table and copy for as many records as needed. (L2 is just an example) Use the same criteria as in your first vlookup, but look at the new column containing the row rumbers.
Jan 23, 2002 #4 JVFriederick IS-IT--Management Mar 19, 2001 517 US Sorry Skip, didn't see your reply!! Upvote 0 Downvote
Jan 23, 2002 Thread starter #5 chkote Technical User Nov 21, 2000 42 AU Many Thanks......couldn't see the wood for the trees C4N Upvote 0 Downvote