#1   Report Post  
Charles Woll
 
Posts: n/a
Default vlookup

I need to increment the Col_index_num as the formula is copied accross
the row.

=IF(VLOOKUP($A95,Score_Table,3)="","",VLOOKUP(A95, Score_Table,3))

So the 3 needs to be changed to a variable reference.

--
\\\|///
\\ ~ ~ //
( @ @ )
--oOOo-(_)-oOOo---
Charlie Woll



  #2   Report Post  
Springbok
 
Posts: n/a
Default

Hi,

Is it feasible simply to insert a line above and apply index numbers to each
column? That way instead of hardcoding "3" you can have it point to a cell
reference and it will move relatively as you copy your formula across.

Cheers,
Jon

"Charles Woll" wrote:

I need to increment the Col_index_num as the formula is copied accross
the row.

=IF(VLOOKUP($A95,Score_Table,3)="","",VLOOKUP(A95, Score_Table,3))

So the 3 needs to be changed to a variable reference.

--
\\\|///
\\ ~ ~ //
( @ @ )
--oOOo-(_)-oOOo---
Charlie Woll




  #3   Report Post  
Peo Sjoblom
 
Posts: n/a
Default

replace 3 with COLUMN(C:C) and copy accross

--

Regards,

Peo Sjoblom


"Charles Woll" wrote in message
...
I need to increment the Col_index_num as the formula is copied accross
the row.

=IF(VLOOKUP($A95,Score_Table,3)="","",VLOOKUP(A95, Score_Table,3))

So the 3 needs to be changed to a variable reference.

--
\\\|///
\\ ~ ~ //
( @ @ )
--oOOo-(_)-oOOo---
Charlie Woll





  #4   Report Post  
Charles Woll
 
Posts: n/a
Default

Column(C:C) did not work, inserting a row to use for indexing did work.
Thank you, charlie

"Charles Woll" wrote in message
...
I need to increment the Col_index_num as the formula is copied accross
the row.

=IF(VLOOKUP($A95,Score_Table,3)="","",VLOOKUP(A95, Score_Table,3))

So the 3 needs to be changed to a variable reference.

--
\\\|///
\\ ~ ~ //
( @ @ )
--oOOo-(_)-oOOo---
Charlie Woll





  #5   Report Post  
Peo Sjoblom
 
Posts: n/a
Default

It works if you apply it correctly, obviously it won't work if you insert a
column
as opposed to copying it across

=COLUMN(C:C)

will return 3, if you copy it to the right it will return 4, 5 and so on

VLOOKUP($A95,Score_Table,COLUMN(C:C))

equals

VLOOKUP($A95,Score_Table,3)



Regards,

Peo Sjoblom


"Charles Woll" wrote in message
...
Column(C:C) did not work, inserting a row to use for indexing did work.
Thank you, charlie

"Charles Woll" wrote in message
...
I need to increment the Col_index_num as the formula is copied accross
the row.

=IF(VLOOKUP($A95,Score_Table,3)="","",VLOOKUP(A95, Score_Table,3))

So the 3 needs to be changed to a variable reference.

--
\\\|///
\\ ~ ~ //
( @ @ )
--oOOo-(_)-oOOo---
Charlie Woll









  #6   Report Post  
Charles Woll
 
Posts: n/a
Default

You are absolutely correct... I must have made a syntax error.
Thanks, charlie

"Peo Sjoblom" wrote in message
...
It works if you apply it correctly, obviously it won't work if you insert
a
column
as opposed to copying it across

=COLUMN(C:C)

will return 3, if you copy it to the right it will return 4, 5 and so on

VLOOKUP($A95,Score_Table,COLUMN(C:C))

equals

VLOOKUP($A95,Score_Table,3)



Regards,

Peo Sjoblom


"Charles Woll" wrote in message
...
Column(C:C) did not work, inserting a row to use for indexing did work.
Thank you, charlie

"Charles Woll" wrote in message
...
I need to increment the Col_index_num as the formula is copied
accross
the row.

=IF(VLOOKUP($A95,Score_Table,3)="","",VLOOKUP(A95, Score_Table,3))

So the 3 needs to be changed to a variable reference.

--
\\\|///
\\ ~ ~ //
( @ @ )
--oOOo-(_)-oOOo---
Charlie Woll









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
vlookup data hidden within worksheet Excel Worksheet Functions 0 January 26th 05 12:09 PM
Vlookup info being used without vlookup table attached? Excel Worksheet Functions 0 January 25th 05 10:43 AM
VLOOKUP problem Jason Excel Worksheet Functions 2 January 14th 05 10:39 PM
VLOOKUP help SamUK Excel Worksheet Functions 8 November 22nd 04 12:27 AM
VLOOKUP not working Scott Excel Worksheet Functions 3 November 12th 04 08:06 PM


All times are GMT +1. The time now is 11:12 PM.

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"