ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   VLOOKUP and return formula (https://www.excelbanter.com/excel-worksheet-functions/219733-vlookup-return-formula.html)

JE

VLOOKUP and return formula
 
Is it possible to use VLOOKUP and return a formula? Here is my situation:

Spreadsheet 1

Column A Column B Column C
Equity C ABC123
Muni 912822xd
Moneymkt 8145332x
Option


Spreadsheet 2

Column A Column B Column C Column D
Equity concatenate(B2,"
","EQUITY")
Muni concatenate(C2,"
","GOVT")
Moneymkt concatenate(C2,"
","GOVT")
Option concatenate(B2,"
","OPT")


My goal is to vlookup spreadsheet 1 on Column a to spreadsheet 2 (matching
on column a) and return the formula in column d.

Many thanks.

Pete_UK

VLOOKUP and return formula
 
Please do not double-post - see your other thread for one approach.

Pete

On Feb 8, 8:54*pm, JE wrote:
Is it possible to use VLOOKUP and return a formula? *Here is my situation:

Spreadsheet 1

Column A * * * Column B * * *Column C * * *
Equity * * * * * * * *C * * * * * * ABC123 * * * * *
Muni * * * * * * * * * * * * * * * * 912822xd * * *
Moneymkt * * * * * * * * * * * * 8145332x * * *
Option * * * * * * * * * * * * * * * * * * * * * * * * *

Spreadsheet 2

Column A * * * Column B * * *Column C * * *Column D
Equity * * * * * * * * * * * * * * * * * * * * * * * * * *concatenate(B2,"
","EQUITY")
Muni * * * * * * * * * * * * * * * * * * * * * * * * * * *concatenate(C2,"
","GOVT")
Moneymkt * * * * * * * * * * * * * * * * * * * * * * *concatenate(C2,"
","GOVT")
Option * * * * * * * * * * * * * * * * * * * * * * * * * concatenate(B2,"
","OPT")

My goal is to vlookup spreadsheet 1 on Column a to spreadsheet 2 (matching
on column a) and return the formula in column d.

Many thanks.



JE

VLOOKUP and return formula
 
Thanks Pete - I received an error message that my post was not succssful
which prompted the second. Appreciate the "gentle reminder"

"Pete_UK" wrote:

Please do not double-post - see your other thread for one approach.

Pete

On Feb 8, 8:54 pm, JE wrote:
Is it possible to use VLOOKUP and return a formula? Here is my situation:

Spreadsheet 1

Column A Column B Column C
Equity C ABC123
Muni 912822xd
Moneymkt 8145332x
Option

Spreadsheet 2

Column A Column B Column C Column D
Equity concatenate(B2,"
","EQUITY")
Muni concatenate(C2,"
","GOVT")
Moneymkt concatenate(C2,"
","GOVT")
Option concatenate(B2,"
","OPT")

My goal is to vlookup spreadsheet 1 on Column a to spreadsheet 2 (matching
on column a) and return the formula in column d.

Many thanks



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

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