Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Lookup on worksheet return whole row

I'm not sure what to use, I want to have a dropdown box in let's say C
on Sheet1. It's data source is a column on a worksheet called shift
C4:C5. When the user selects the dropdwonbox selection, I want the dat
in cthe column next to the source worksheet to be returned. I actuall
want two columns returned.

THank

--
Message posted from http://www.ExcelForum.com

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default Lookup on worksheet return whole row

Hi
use something like
=VLOOKUP(C3,'shifts'!$C$4:$D$5,2,0)

--
Regards
Frank Kabel
Frankfurt, Germany

"hotherps " schrieb im
Newsbeitrag ...
I'm not sure what to use, I want to have a dropdown box in let's say

C3
on Sheet1. It's data source is a column on a worksheet called shifts
C4:C5. When the user selects the dropdwonbox selection, I want the

data
in cthe column next to the source worksheet to be returned. I

actually
want two columns returned.

THanks


---
Message posted from http://www.ExcelForum.com/


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Lookup on worksheet return whole row

Thanks Frank, but I still can't get it to work.

Let me explain it again

I have 3 cells on sheet "Montest"B10 H10 I10

I have 3 cells on sheet "Shifts" A2 D2 E2

I want to enter in a value in "Montest" I10
have it find a match in "Shifts A2:A109

and return "Shifts"D2:D109 to "Montest"B10:B109
and "Shifts"E2:E109 to H2:H109

Frustrating!

Thanks agai

--
Message posted from http://www.ExcelForum.com

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default Lookup on worksheet return whole row

Hi
try the following formulas
Montest B10:
=VLOOKUP(I10,'Shifts'!$A$2:$E$109,3,0)

Montest H10
=VLOOKUP(I10,'Shifts'!$A$2:$E$109,4,0)

copy both formulas down


--
Regards
Frank Kabel
Frankfurt, Germany


Thanks Frank, but I still can't get it to work.

Let me explain it again

I have 3 cells on sheet "Montest"B10 H10 I10

I have 3 cells on sheet "Shifts" A2 D2 E2

I want to enter in a value in "Montest" I10
have it find a match in "Shifts A2:A109

and return "Shifts"D2:D109 to "Montest"B10:B109
and "Shifts"E2:E109 to H2:H109

Frustrating!

Thanks again


---
Message posted from http://www.ExcelForum.com/

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Lookup on worksheet return whole row

Perfect!

Thanks You!

Now I will have something to refer to

--
Message posted from http://www.ExcelForum.com

Reply
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
Lookup/match value in a different worksheet, and just return a yes Chatnoir11 Excel Discussion (Misc queries) 4 January 5th 09 11:27 PM
lookup stock symbol on worksheet and return summary data Greg Purnell[_2_] Excel Worksheet Functions 7 April 4th 07 01:42 PM
LOOKUP and return the column heading for IF/THEN return for False NN Excel Discussion (Misc queries) 1 October 6th 06 11:24 AM
How do I lookup and return different values when the lookup value. kg Excel Discussion (Misc queries) 1 January 20th 05 12:53 AM
Lookup from first row, return last row value Sylvia[_3_] Excel Programming 1 September 24th 03 07:34 AM


All times are GMT +1. The time now is 11:46 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"