Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 31
Default Row_Index_Num Increment

Is there a way when doing a HLookup and pulling the formula down, to have the
row_index_num automatically increment by 1? Perhaps i'm not using the best
function. Here's my formula:
=HLOOKUP($C$1,$G$4:$T$316,27,FALSE). This is used to get the date for the
month as specified in C1, from the appropriate data in G4:T316. It's taking
way to much time to edit each formula!

Thanks so much! Jani
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 176
Default Row_Index_Num Increment

Create a helper column to the right or left of your formula that increments
each time, i.e. in A1 have 1, and then A2=A1+1, and drag this down. Then
change the hard coded row_index_num in your formula to this new column, e.g.:

=HLOOKUP($C$1,$G$4:$T$316,A1,FALSE)

--
Regards,
Dave


"Jani" wrote:

Is there a way when doing a HLookup and pulling the formula down, to have the
row_index_num automatically increment by 1? Perhaps i'm not using the best
function. Here's my formula:
=HLOOKUP($C$1,$G$4:$T$316,27,FALSE). This is used to get the date for the
month as specified in C1, from the appropriate data in G4:T316. It's taking
way to much time to edit each formula!

Thanks so much! Jani

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 31
Default Row_Index_Num Increment

Worked perfectly and thanks for the quick response! Jani

"David Billigmeier" wrote:

Create a helper column to the right or left of your formula that increments
each time, i.e. in A1 have 1, and then A2=A1+1, and drag this down. Then
change the hard coded row_index_num in your formula to this new column, e.g.:

=HLOOKUP($C$1,$G$4:$T$316,A1,FALSE)

--
Regards,
Dave


"Jani" wrote:

Is there a way when doing a HLookup and pulling the formula down, to have the
row_index_num automatically increment by 1? Perhaps i'm not using the best
function. Here's my formula:
=HLOOKUP($C$1,$G$4:$T$316,27,FALSE). This is used to get the date for the
month as specified in C1, from the appropriate data in G4:T316. It's taking
way to much time to edit each formula!

Thanks so much! Jani

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,886
Default Row_Index_Num Increment

Hi Jani

Try using the Row() function which will increment as you copy down.
=HLOOKUP($C$1,$G$4:$T$316,ROW(27:27),FALSE)

If you wanted to increment when copying across the page,
you can use COLUMN(AA:AA) (for 27) in the same way.


--
Regards

Roger Govier


"Jani" wrote in message
...
Is there a way when doing a HLookup and pulling the formula down, to
have the
row_index_num automatically increment by 1? Perhaps i'm not using the
best
function. Here's my formula:
=HLOOKUP($C$1,$G$4:$T$316,27,FALSE). This is used to get the date for
the
month as specified in C1, from the appropriate data in G4:T316. It's
taking
way to much time to edit each formula!

Thanks so much! Jani



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 37
Default Row_Index_Num Increment

=HLOOKUP(C1,$G$4:$T$316,27,FALSE). Iow, make C1 relative, not absolute.
You can also use $C1

--
kassie

never stop learning




"Jani" wrote in message
...
Is there a way when doing a HLookup and pulling the formula down, to have
the
row_index_num automatically increment by 1? Perhaps i'm not using the best
function. Here's my formula:
=HLOOKUP($C$1,$G$4:$T$316,27,FALSE). This is used to get the date for the
month as specified in C1, from the appropriate data in G4:T316. It's
taking
way to much time to edit each formula!

Thanks so much! Jani





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
'Scroll bar' - to increment btwn MIN and MAX value. jay Charts and Charting in Excel 1 April 28th 06 02:15 AM
How do you force a copy to increment by 1 in Excel? L May Excel Discussion (Misc queries) 3 February 1st 06 10:15 AM
check cell val, increment val DJS Excel Worksheet Functions 0 January 30th 06 10:29 PM
need to increment value Tom Excel Discussion (Misc queries) 5 June 24th 05 12:54 PM
Relative reference autofill increment other than +1 SteveB Excel Discussion (Misc queries) 3 June 14th 05 07:40 PM


All times are GMT +1. The time now is 04:34 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"