Thread: IF Forumla help
View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.misc
Bryan
 
Posts: n/a
Default IF Forumla help

Thanks guys this has solved the issue and helped considerably.

thanks a lot.
Bryan

"Bryan" wrote:

Hi,

I wonder if there is a formula that will allow me to tell an excel
spreadsheet to look in up to 12 different cells depending on the number given
in a different cell e.g.

I would like to put the forumla in cell B1

if cell A1 has the number 1 in it, I would like B1 to look at a certain cell
in another workbook for data e.g. '[book 2.xls]sheet 1'!B1

If cell A1 has the number 2 in it, I would like B1 to look at [book
2.xls]sheet 1'!D4

Can this formula look for up to 12 different cells?

Hope this makes sense and thank you.
Bryan