Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Gil Gil is offline
external usenet poster
 
Posts: 14
Default enter consecutive cells into a formula

I am trying to find a folrmula that will enable me to get the data in
consecutive cells, but the cell numbering changes every time, I am using the
Vlookup function to find the info in the first cell, but the other cells dont
have a V or an H lookup possiblility. What I'm trying to figure out is if
there's a way I can enter a "cell below" function into the formula?
Thanks in advance
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,572
Default enter consecutive cells into a formula

If I understand what you're asking, try Index and Match in place of the
Vlookup.

With this as an example of your original formula:

=VLOOKUP($C$1,$A$1:$B$20,2,0)

This is an *exact* replacement:

=INDEX($B$1:$B$20,MATCH($C$1,$A$1:$A$20,0))

However, you can now *revise* the above formula, so that copying it down
will return the consecutive rows beneath the *original matched cell*:

=INDEX($B$1:$B$20,MATCH($C$1,$A$1:$A$20,0)+ROWS($1 :1)-1)

--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------


"Gil" wrote in message
...
I am trying to find a folrmula that will enable me to get the data in
consecutive cells, but the cell numbering changes every time, I am using
the
Vlookup function to find the info in the first cell, but the other cells
dont
have a V or an H lookup possiblility. What I'm trying to figure out is if
there's a way I can enter a "cell below" function into the formula?
Thanks in advance


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 430
Default enter consecutive cells into a formula

Can you give us a sample/example of your data?

"Gil" wrote:

I am trying to find a folrmula that will enable me to get the data in
consecutive cells, but the cell numbering changes every time, I am using the
Vlookup function to find the info in the first cell, but the other cells dont
have a V or an H lookup possiblility. What I'm trying to figure out is if
there's a way I can enter a "cell below" function into the formula?
Thanks in advance

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
Is it possible? DakotaNJ Excel Worksheet Functions 25 September 18th 06 09:30 PM
Reusing formula Tony29 Excel Discussion (Misc queries) 7 September 7th 06 03:34 AM
a formula which calculates empty cells jeff lebowski Excel Discussion (Misc queries) 1 July 15th 06 12:29 AM
checking that cells have a value before the workbook will close kcdonaldson Excel Worksheet Functions 8 December 5th 05 04:57 PM
Subtraction formula for consecutive cells in a column, skipping blanks [email protected] Excel Worksheet Functions 2 September 16th 05 12:20 AM


All times are GMT +1. The time now is 09:32 PM.

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"