From: navel151 on 19 Feb 2010 14:01 I would like to set up a formula that uses the text from an adjacent cell to determine the sheet and cell location that is used in the formula. i.e. instead of =IF(sheet1!P9>0,sheet2!A4,"") I would like the sheet1 part of the formula to be the text from a cell beside the formula cell. How do I do tell the formula to use that text rather than havin gto specify the sheet each time? Thx.
From: T. Valko on 19 Feb 2010 14:13 Try it like this... A1 = Sheet1 =IF(INDIRECT("'"&A1&"'!P9")>0,Sheet2!A4,"") -- Biff Microsoft Excel MVP "navel151" <navel151(a)discussions.microsoft.com> wrote in message news:2CD124CA-3DD8-4519-A450-631399F629C3(a)microsoft.com... >I would like to set up a formula that uses the text from an adjacent cell >to > determine the sheet and cell location that is used in the formula. i.e. > instead of =IF(sheet1!P9>0,sheet2!A4,"") I would like the sheet1 part of > the > formula to be the text from a cell beside the formula cell. How do I do > tell > the formula to use that text rather than havin gto specify the sheet each > time? > > Thx.
From: "David Biddulph" groups [at] on 19 Feb 2010 14:13 The function you need to look up in Excel help is INDIRECT. -- David Biddulph navel151 wrote: > I would like to set up a formula that uses the text from an adjacent > cell to determine the sheet and cell location that is used in the > formula. i.e. instead of =IF(sheet1!P9>0,sheet2!A4,"") I would like > the sheet1 part of the formula to be the text from a cell beside the > formula cell. How do I do tell the formula to use that text rather > than havin gto specify the sheet each time? > > Thx.
From: Jacob Skaria on 19 Feb 2010 14:23 Try with sheetname in cell C1 =IF(INDIRECT("'" & C1 & "'!P9")>0,Sheet2!A4,"") -- Jacob "navel151" wrote: > I would like to set up a formula that uses the text from an adjacent cell to > determine the sheet and cell location that is used in the formula. i.e. > instead of =IF(sheet1!P9>0,sheet2!A4,"") I would like the sheet1 part of the > formula to be the text from a cell beside the formula cell. How do I do tell > the formula to use that text rather than havin gto specify the sheet each > time? > > Thx.
From: johncaulfield on 19 Feb 2010 14:43 What about using RAnge Names. In Excel 2003 these are file specific in scope in 2007 you can set them Globablly or by sheet. When entering formulae or referring to any area on the spreadsheet, it is usual to refer to a "range". For example, B6 is a range reference; B6:B10 is also a range reference. A problem with this sort of reference is that it is not always easy to remember what cells to reference. It may be necessary to write down the range, or select it, which often means wasting time scrolling around the spreadsheet. Instead, Excel offers the chance to name ranges on the spreadsheet, and to use these names to select cells, refer to them in formulae or use them in Database, Chart or Macro commands. http://www.mousetraining.co.uk/training-manuals/Excel2007Adv.pdf page 5 begins a secion on Range Names --- frmsrcurl: http://msgroups.net/microsoft.public.excel.worksheet.functions/Reference-text-in-a-cell-inside-a-formula-to-specify
|
Next
|
Last
Pages: 1 2 Prev: SOLVED: Input calculation in specified rows and columns Next: running time |