ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   create a formula by using text from other cells (https://www.excelbanter.com/excel-discussion-misc-queries/250210-create-formula-using-text-other-cells.html)

boardbug

create a formula by using text from other cells
 
I need to effectively use multiple If/Vlookup functions. i.e. if it's
Oranges, Lookup price history in "oranges worksheet". But I have too many
categories to search in so this is not possible. So I had another solution,
but can't make it work...

In this case I am using a VLOOKUP formula and want to use one cell to search
on (a1) and another cell to tell it which spreadsheet to search in (Sheet2)

i.e. =Vlookup(a1,'[WorkbookData.xlsx](CellA2 i.e.Worksheet Name),2,False)

So is there a way to create a formula that uses text from another cell?

מיכאל (מיקי) אבידן

create a formula by using text from other cells
 
INDIRECT is your function.
Check it out in Excels Help.
Micky


"boardbug" wrote:

I need to effectively use multiple If/Vlookup functions. i.e. if it's
Oranges, Lookup price history in "oranges worksheet". But I have too many
categories to search in so this is not possible. So I had another solution,
but can't make it work...

In this case I am using a VLOOKUP formula and want to use one cell to search
on (a1) and another cell to tell it which spreadsheet to search in (Sheet2)

i.e. =Vlookup(a1,'[WorkbookData.xlsx](CellA2 i.e.Worksheet Name),2,False)

So is there a way to create a formula that uses text from another cell?



All times are GMT +1. The time now is 09:35 AM.

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