ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   need information (https://www.excelbanter.com/excel-worksheet-functions/41332-need-information.html)

Angel aAlegria

need information
 
Want to know if you can have more than one number in a formula for a column
index number.

Niek Otten

Can you be a bit more specific? What exactly are you trying to achieve? What
is your input data? What are your formulas? What results did you expect?
What did you get instead?

But in general, the answer is YES
--
Kind regards,

Niek Otten

Microsoft MVP - Excel

"Angel aAlegria" wrote in message
...
Want to know if you can have more than one number in a formula for a
column
index number.




Angel aAlegria

=IF(C19="","",VLOOKUP(C19,INDIRECT(B19&"List"),2,F ALSE)) is the formula that
I am using, but i want to use columsn 2, 3, 4, 5 to bring up several prices.

"Niek Otten" wrote:

Can you be a bit more specific? What exactly are you trying to achieve? What
is your input data? What are your formulas? What results did you expect?
What did you get instead?

But in general, the answer is YES
--
Kind regards,

Niek Otten

Microsoft MVP - Excel

"Angel aAlegria" wrote in message
...
Want to know if you can have more than one number in a formula for a
column
index number.





Niek Otten

Because you probably need the prices in separate columns, you need 4
formulas.
You might take a look in HELP for the MATCH() function to avoid duplication
of your somewhat complex mechanism to find the right row and use INDEX() to
get the prices.

--
Kind regards,

Niek Otten

Microsoft MVP - Excel

"Angel aAlegria" wrote in message
...
=IF(C19="","",VLOOKUP(C19,INDIRECT(B19&"List"),2,F ALSE)) is the formula
that
I am using, but i want to use columsn 2, 3, 4, 5 to bring up several
prices.

"Niek Otten" wrote:

Can you be a bit more specific? What exactly are you trying to achieve?
What
is your input data? What are your formulas? What results did you expect?
What did you get instead?

But in general, the answer is YES
--
Kind regards,

Niek Otten

Microsoft MVP - Excel

"Angel aAlegria" wrote in
message
...
Want to know if you can have more than one number in a formula for a
column
index number.







RagDyeR

If you're talking about the ability to *copy* the formula across columns,
along a row, and *automatically increment* the column index number, just
replace the "2" with "Column(B:B)".

The "Column(B:B)" does *not* mean you're indexing Column B (although you
very well might, just as a coincidence), it's used because it equates to
"2", and will increment as it's copied along a row.

=IF(C19="","",VLOOKUP(C19,INDIRECT(B19&"List"),Col umn(B:B),FALSE))

--

HTH,

RD
================================================== ===
Please keep all correspondence within the Group, so all may benefit!
================================================== ===

"Angel aAlegria" wrote in message
...
=IF(C19="","",VLOOKUP(C19,INDIRECT(B19&"List"),2,F ALSE)) is the formula that
I am using, but i want to use columsn 2, 3, 4, 5 to bring up several prices.

"Niek Otten" wrote:

Can you be a bit more specific? What exactly are you trying to achieve?

What
is your input data? What are your formulas? What results did you expect?
What did you get instead?

But in general, the answer is YES
--
Kind regards,

Niek Otten

Microsoft MVP - Excel

"Angel aAlegria" wrote in

message
...
Want to know if you can have more than one number in a formula for a
column
index number.







Angel aAlegria

The colums I am gathering the information from are on a separate sheet. I
want 4 prices from a different sheet to appear in that cell.

"RagDyeR" wrote:

If you're talking about the ability to *copy* the formula across columns,
along a row, and *automatically increment* the column index number, just
replace the "2" with "Column(B:B)".

The "Column(B:B)" does *not* mean you're indexing Column B (although you
very well might, just as a coincidence), it's used because it equates to
"2", and will increment as it's copied along a row.

=IF(C19="","",VLOOKUP(C19,INDIRECT(B19&"List"),Col umn(B:B),FALSE))

--

HTH,

RD
================================================== ===
Please keep all correspondence within the Group, so all may benefit!
================================================== ===

"Angel aAlegria" wrote in message
...
=IF(C19="","",VLOOKUP(C19,INDIRECT(B19&"List"),2,F ALSE)) is the formula that
I am using, but i want to use columsn 2, 3, 4, 5 to bring up several prices.

"Niek Otten" wrote:

Can you be a bit more specific? What exactly are you trying to achieve?

What
is your input data? What are your formulas? What results did you expect?
What did you get instead?

But in general, the answer is YES
--
Kind regards,

Niek Otten

Microsoft MVP - Excel

"Angel aAlegria" wrote in

message
...
Want to know if you can have more than one number in a formula for a
column
index number.









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

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