View Single Post
  #7   Report Post  
Posted to microsoft.public.excel.newusers
Struggling in Sheffield[_2_] Struggling in Sheffield[_2_] is offline
external usenet poster
 
Posts: 66
Default Select max value from 9 cells, copy cell col heading to other

Hi Sheeloo,
Tried Elkar's suggestion first and that worked fine, but thanks very much
for trying to help, appreciate it.
Cheers,
Steve.

"Sheeloo" wrote:

Try in E3
=IF(BA3="","",OFFSET(DQ1,0,INDEX(DQ3:DY3,MAX(DQ3:D Y3))))

You can replace
=IF(BA3="","",MAX(DQ3,DR3,DS3,DT3,DU3,DV3,DW3,DX3, DY3))
with
=IF(BA3="","",MAX(DQ3:DY3)) since you are using ALL cells in the range...
easier to write and read

"Struggling in Sheffield" wrote:

Hi,
I've selected the maximum value from 9 cells in a row using:
=IF(BA3="","",MAX(DQ3,DR3,DS3,DT3,DU3,DV3,DW3,DX3, DY3))
and placed that max value in cell DZ3.

I now want to auto-insert the column heading from above that max value cell
(DQ3 to DY3) into cell EA3 (Again if cell BA3="" (blank), I want "" returned

Can't use a nested IF formula as 9 IFs being tested (only 7 allowed in Excel
2003).

Can anyone help with a formula please?
Regards,
Steve.