Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / January 2007

Tip: Looking for answers? Try searching our database.

Lookup row, dependant on cell value?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Simon - 11 Jan 2007 11:10 GMT
I have a sheet,  as per the example. I need to insert into column A the
quantities, depending on the value a specfic cell.

I.e if week 2 is entered, the column A should read, 12,5,2,3,3,3 and if Week
1 is entered 5,3,2,3,2,2 etc

I have looked at using HLOOKUP, however this does not replicate the
reference cell corrected unless each line is configured serperately.

What is the easiest way to acheive this. At the moment I need to select the
column manually, and replicate down the sheet, rather than just enter the
required week number into a cell, and let excel adjust automatically.

     1 2 3 4 5
     x Location 5 12 1 3 2
     x Alabama 3 5 6 2 2
     x Denver 2 2 3 4 2
     x Boston 3 3 5 9 2
     x New York 2 3 9 5 2
     x Seattle 2 3 4 6 9

     Week Number 2
Pete_UK - 11 Jan 2007 12:55 GMT
With your data set occupying B2:G7 and with the week number entered
into cell C9, enter this formula in A2:

=INDEX(C2:G2,C$9)

and copy down to A7.

Hope this is what you wanted.

Pete

> I have a sheet,  as per the example. I need to insert into column A the
> quantities, depending on the value a specfic cell.
[quoted text clipped - 18 lines]
>
>       Week Number 2
Simon - 11 Jan 2007 14:19 GMT
Perfect!!

thanks

> With your data set occupying B2:G7 and with the week number entered
> into cell C9, enter this formula in A2:
[quoted text clipped - 31 lines]
>>
>>       Week Number 2

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.