LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 9
Default VLookup formula question

I want to populate cells on worksheet 2 from worksheet 1 with values that a
user selects from worksheet one. The user can select multiple values but I
only need those values selected to appear and not repeat.

For example there are two columns A1 through A8 and B1 through B8 on
worksheet one. Column B contains different values in each cell. Users will
choose the value(s) they want from Column B by typing an X in the
corresponding column A. For example, the user wants the value from cell B4
so types an "x" in cell A4 which then populates cell C1 in worksheet two.
Then they select Cell B5 and I have adjusted the range in C2 to omit values
from A1:B1 so cell C2 is populated with date from B5. I am using the formula
below in cells C1-C8 .

VLOOKUP("x",sheet1!A1:B8,2,FALSE)

This works but if the user only selects one or two values, lets say B4, it
populates all cells C1 through C8 with that value. Is there a way to
populate cell C1 in this instance and leave all other cells blank? Would
some sort of Macro work better for this or can it be one at all?
--
Tim at Alliant
 
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
VLookup question dvonj Excel Discussion (Misc queries) 3 March 31st 09 02:17 AM
VLOOKUP formula question Gmata Excel Worksheet Functions 3 November 26th 07 09:40 AM
vlookup question Mark Excel Worksheet Functions 2 October 13th 06 05:12 PM
A question about VLOOKUP / any other helpful formula [email protected] Excel Worksheet Functions 3 January 21st 06 03:33 PM
vlookup formula question Janice via OfficeKB.com Excel Discussion (Misc queries) 2 March 25th 05 07:00 PM


All times are GMT +1. The time now is 08:37 AM.

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

About Us

"It's about Microsoft Excel"