#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 577
Default Data lookup

I am trying to find a formula that will allow me to pull data from a cell
that is contained in a set number of cells below the current cell. For
example, if I have data in cells A1:A30, I would like to have Cell B1 to
contain the data in A1, but cell B2 to contain the data in A10. Similarly, I
want cell B3 to pull the data in cell A20, and so forth.

Can anyone help?

Thanks!

Scott
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,240
Default Data lookup

scott wrote:
I am trying to find a formula that will allow me to pull data from a cell
that is contained in a set number of cells below the current cell. For
example, if I have data in cells A1:A30, I would like to have Cell B1 to
contain the data in A1, but cell B2 to contain the data in A10. Similarly, I
want cell B3 to pull the data in cell A20, and so forth.

Can anyone help?

Thanks!

Scott



B1 =A1

B2 =INDIRECT("A"&(ROW()-1)*10)

and copy down as needed.
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 577
Default Data lookup

I do not understand why that formula works, maybe I am just referencing the
cells incorrectly. When I use that formula, the data is not returned from
every 10 cells; rather, the first is returned from the 34th cell, followed by
the 38th cell, then the 36th cell. See below for the data that I have, maybe
this will be more clear.

a b
1. 0.00% =a1
2. 0.00% =indirect("a"&(row()-1)*10) returns 0.08 (contained in
cell a34)
3. 0.01%
4. 0.01%
5. 0.01%
6. 0.01%
7. 0.02%
8. 0.02%
9. 0.02%
10. 0.02%
11. 0.02%
12. 0.03%
13. 0.03%
14. 0.03%
15. 0.03%
16. 0.04%
17. 0.04%
18. 0.04%
19. 0.04%
20. 0.04%
21. 0.05%
22. 0.05%
23. 0.05%
24. 0.05%
25. 0.06%
26. 0.06%
27. 0.06%

I have 42,000 rows worth of data, so that may change the formula i need. Do
you have any other suggestion?

Thanks,

Scott

"Glenn" wrote:

scott wrote:
I am trying to find a formula that will allow me to pull data from a cell
that is contained in a set number of cells below the current cell. For
example, if I have data in cells A1:A30, I would like to have Cell B1 to
contain the data in A1, but cell B2 to contain the data in A10. Similarly, I
want cell B3 to pull the data in cell A20, and so forth.

Can anyone help?

Thanks!

Scott



B1 =A1

B2 =INDIRECT("A"&(ROW()-1)*10)

and copy down as needed.

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 data based on data comparison Dan Excel Worksheet Functions 7 November 6th 07 10:52 PM
how do I lookup data based on two columns of data bttreadwell Excel Worksheet Functions 2 November 19th 05 03:54 AM
data lookup Amazon Excel Discussion (Misc queries) 2 November 18th 05 05:45 PM
Lookup data Tosca Excel Worksheet Functions 7 May 2nd 05 06:11 PM
The match and lookup functions can find literal data but not the same data referenced from a cell Jeff Melvaine Excel Discussion (Misc queries) 3 April 30th 05 01:29 PM


All times are GMT +1. The time now is 05:19 AM.

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"