View Single Post
  #2   Report Post  
KL
 
Posts: n/a
Default

Hi Barb,

Try this:

=MIN(INDIRECT("'"&B1&"'!B:B"))

Regards,
KL


"Barb R." wrote in message
...
This is a continuation of a question from Ajay.

Let's say we have 20 sheets named sheet1-sheet20
We have a column of data with each of the sheet names.
A1=Sheet1
A2=Sheet2 and so on.

In B1, I want to calculate the MIN of the values in column B on SHeet 1
In B2, I want the MIN of values in column B on Sheet2
In B3, I want the MIN of values in column B on Sheet3

How would I write the MIN statement to use a variable SHEET name?

Thanks in advance,
Barb Reinhardt