I have 12 columns with numbers,these numbers change very rapidly as they
are fed into the sheet from a website.
I need a formula to calculate the max of the numbers in every second
column,for the first row this would be the numbers in cells
B1,d1,f1,h1,j1,l1.
The answer will be stored in another cell,and of course will be
constantly changing as the contents of these cells change.

Signature
pytelium
Bernard Liengme - 29 Dec 2005 20:31 GMT
What is wrong with MAX(B1,D1,F1,H1,J1,I1) ?
As you copy it down the column it will adjust to (on row 2)
MAX(B2,D2,F2,H2,J2,I2)
best wishes

Signature
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email
> I have 12 columns with numbers,these numbers change very rapidly as they
> are fed into the sheet from a website.
[quoted text clipped - 3 lines]
> The answer will be stored in another cell,and of course will be
> constantly changing as the contents of these cells change.
Peo Sjoblom - 29 Dec 2005 20:33 GMT
=MAX((MOD(COLUMN(B1:L1),2)=0)*(B1:L1))
entered with ctrl + shift & enter

Signature
Regards,
Peo Sjoblom
> I have 12 columns with numbers,these numbers change very rapidly as they
> are fed into the sheet from a website.
[quoted text clipped - 3 lines]
> The answer will be stored in another cell,and of course will be
> constantly changing as the contents of these cells change.
pytelium - 29 Dec 2005 22:40 GMT
Yes,both these solutions work.Thank you. I have a related question. I
want to create an IF statement to print True if the largest of the six
cells is more than 5 times the second largest,otherwise print false.

Signature
pytelium
Bernard Liengme - 30 Dec 2005 14:11 GMT
Always better to start a new thread when you have a new question.
Either =IF(MAX(A1:A6)>5*LARGE(A1:A6,2),"True","False")
or =MAX(A1:A6)>5*LARGE(A1:A6,2)
The first gives a text result, the second a Boolean TRUE/FALSE result
BTW: formulas "return" or "display" results; not "print"
best wishes

Signature
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email
> Yes,both these solutions work.Thank you. I have a related question. I
> want to create an IF statement to print True if the largest of the six
> cells is more than 5 times the second largest,otherwise print false.
Dave Peterson - 30 Dec 2005 14:38 GMT
=large() can return the largest (max), second largest, ... value from a range.
But since your range is discontiguous, you have to be careful when you use it:
=MAX(B1,D1,F1,H1,I1,J1)>(5*LARGE((B1,D1,F1,H1,I1,J1),2))
watch those parentheses inside the large function.
> Yes,both these solutions work.Thank you. I have a related question. I
> want to create an IF statement to print True if the largest of the six
[quoted text clipped - 5 lines]
> pytelium's Profile: http://www.excelforum.com/member.php?action=getinfo&userid=25521
> View this thread: http://www.excelforum.com/showthread.php?threadid=496773

Signature
Dave Peterson
pytelium - 30 Dec 2005 22:31 GMT
Thanks Dave and Bernard

Signature
pytelium