ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   having one more than one column index number (https://www.excelbanter.com/excel-worksheet-functions/41335-having-one-more-than-one-column-index-number.html)

Angel aAlegria

having one more than one column index number
 
Want the column index number to pull from 3 different cells and show the
three numbers?

Biff

offset

Biff

"Angel aAlegria" wrote in message
...
Want the column index number to pull from 3 different cells and show the
three numbers?




Angel aAlegria

=IF(C19="","",VLOOKUP(C19,INDIRECT(B19&"List"),2,F ALSE))
That is the formula I am using and it says to show the second column (2),
but I want it to show columns 2, 3, 4, 5, 6

"Biff" wrote:

offset

Biff

"Angel Alegria" wrote in message
...
Want the column index number to pull from 3 different cells and show the
three numbers?





Biff

=IF($C19="","",VLOOKUP($C19,INDIRECT($B19&"List"), COLUMN(B1),FALSE))

Just drag copy across to get column 3, 4, 5, and 6

If you mean that you want the results from columns 2 - 6 to all appear in
the same cell, I can't help you!

Biff

"Angel aAlegria" wrote in message
...
=IF(C19="","",VLOOKUP(C19,INDIRECT(B19&"List"),2,F ALSE))
That is the formula I am using and it says to show the second column (2),
but I want it to show columns 2, 3, 4, 5, 6

"Biff" wrote:

offset

Biff

"Angel Alegria" wrote in
message
...
Want the column index number to pull from 3 different cells and show
the
three numbers?








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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com