Prev Previous Post   Next Post Next
  #3   Report Post  
Alan Beban
 
Posts: n/a
Default

JulieD wrote:
Hi Kara

sounds like a VLOOKUP should do what you want, assuming your table
containing the department, code & description is on Sheet3 range A2:C100.

and the cell that the Help Desk is filling in the department on is cell A2
on sheet1, and you want the appropriate code & description filled in in
cells A2 and A3 respectively on Sheet2.

the formula for Sheet2 A2 would be
=VLOOKUP(Sheet1!$A$2,Sheet2!$A$2:$C$100,2,0)
and for Sheet 2 A3
=VLOOKUP(Sheet1!$A$2,Sheet2!$A$2:$C$100,3,0)

hope this helps


The above description seems to be confusing the sheets, and
unnecessarily using Sheet2!$A$2:$C$100 for a formula on Sheet2, where
the reference to Sheet2! is redundant. In any event, assuming as stated
above that the table is on Sheet3 range A2:C100 and that the formulas
are to be on Sheet2 in ranges A2 and A3 (and, although it didn't so
state but the formula provided suggests, that the lookup value is on
Sheet1 range A2), you can also do this with a single formula, without
array entering (see my previous response in this thread, although to
return the code and description to two adjoining cells in the same
column you would use a semicolon instead of a comma as the separator of
the column references):

=INDEX(VLOOKUP(Sheet1!$A$2,Sheet3!$A$2:$C$100,{2,3 },0),ROW(A1)) in
Sheet2 A2 and copy down to A3

The above confusion illustrates how helpful it can be when the original
poster gives a little more detail about where the data resides and where
the output is desired. The responder then can use the data furnished
rather than making up a little test case and trying to keep it all
straight as the solution is tested.

Alan Beban
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Array Function with VLOOKUP CoRrRan Excel Worksheet Functions 15 April 8th 05 05:54 PM
make a vlookup using a variable path Alex St-Pierre Excel Worksheet Functions 1 March 2nd 05 11:54 PM
vlookup data hidden within worksheet Excel Worksheet Functions 0 January 26th 05 12:09 PM
Vlookup info being used without vlookup table attached? Excel Worksheet Functions 0 January 25th 05 10:43 AM
VLOOKUP not working Scott Excel Worksheet Functions 3 November 12th 04 08:06 PM


All times are GMT +1. The time now is 06:38 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"