A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

LOOKUP or Offeset



 
 
Thread Tools Display Modes
  #1  
Old September 17th, 2003, 11:58 AM
SFrick
external usenet poster
 
Posts: n/a
Default LOOKUP or Offeset

I did an earlier post but I guess I was not clear enough in what I
need in a formula.

In cols J through Z rows 6 through 81 is data.

Row 6, J through Z are the numbers 1 through 17, i.e. J6=1, K6=2
through Z6=17

The remaining rows, strating at row 8 have random numbers

In Cell B83 is a formula that returns a number between 1 and 17

Col D, rows 8 through 81 is my target area.

What I need is a formula that based on the number in B83 (1 through
17) will copy the data in the matching column (for example if B83 were
2, then the data set would be all data in col K) into column D.

As example;

B83 = 2
K6=2 Therefore all Col K is the data set needed.

D8 through D81 (were the formula is) returns the values from Col K

D8 Formula based on B83 = 2 returns number from col K 8
D9 Formula based on B83 = 2 returns number from col K9
D10 Formula based on B83 = 2 returns number from col K10
and so on down to D81

So whatever the value is in B83, Col D will find the matching col from
Col's J through Z, row 6 and return the corresponding value.

Hope this is clearer then my earlier post
  #2  
Old September 17th, 2003, 03:55 PM
Will
external usenet poster
 
Posts: n/a
Default LOOKUP or Offeset

Put this in D8 and fill down to D81
=HLOOKUP($B$83,$J$6:$Z$81,ROW()-5,FALSE)

Godd luck.......Will

-----Original Message-----
I did an earlier post but I guess I was not clear enough

in what I
need in a formula.

In cols J through Z rows 6 through 81 is data.

Row 6, J through Z are the numbers 1 through 17, i.e.

J6=1, K6=2
through Z6=17

The remaining rows, strating at row 8 have random numbers

In Cell B83 is a formula that returns a number between 1

and 17

Col D, rows 8 through 81 is my target area.

What I need is a formula that based on the number in B83

(1 through
17) will copy the data in the matching column (for

example if B83 were
2, then the data set would be all data in col K) into

column D.

As example;

B83 = 2
K6=2 Therefore all Col K is the data set needed.

D8 through D81 (were the formula is) returns the values

from Col K

D8 Formula based on B83 = 2 returns number from col K 8
D9 Formula based on B83 = 2 returns number from col K9
D10 Formula based on B83 = 2 returns number from col K10
and so on down to D81

So whatever the value is in B83, Col D will find the

matching col from
Col's J through Z, row 6 and return the corresponding

value.

Hope this is clearer then my earlier post
.

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 04:31 PM.


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