Thread: any ideas?
View Single Post
  #8   Report Post  
Posted to microsoft.public.excel.programming
Bernd Bernd is offline
external usenet poster
 
Posts: 92
Default any ideas?

Hello,

A suggestion without VBA:

1. Define name a:
=A1:E1
(your input area)

2. Enter into F1 (the first adjacent cell to the right from a):
=2*MAX(A1:E1)-MIN(A1:E1)

3. Select A1:E1 and enter conditional format (formula):
=MIN(LARGE(OFFSET(a,0,1);ROW(INDIRECT("1:"&COUNTA( a))))-
LARGE(a,ROW(INDIRECT("1:"&COUNTA(a)))))
with a convenient format.

Regards,
Bernd

 
ExcelBanter Database Error
Database Error Database error
The ExcelBanter database has encountered a problem.

Please try the following:
  • Load the page again by clicking the Refresh button in your web browser.
  • Open the www.excelbanter.com home page, then try to open another page.
  • Click the Back button to try another link.
The www.excelbanter.com forum technical staff have been notified of the error, though you may contact them if the problem persists.
 
We apologise for any inconvenience.