Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 852
Default Return Min & Cell address

Can this be done to return the MIN of F2, G2 or H2 and and "F", "G" or "H" which ever is the MIN?

Where F2=1, G2=2, F2=3.

This returns 1 FALSE.

=MIN(F2:H2)&" "&IF(ADDRESS(2,6)=MIN(F2:H2),"F",IF(ADDRESS(2,7)=M IN(F2:H2),"G",IF(ADDRESS(2,8)=MIN(F2:H2),"H")))

Thanks.
Howard
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,872
Default Return Min & Cell address

Hi Howard,

Am Tue, 29 Jul 2014 00:18:53 -0700 (PDT) schrieb L. Howard:

Can this be done to return the MIN of F2, G2 or H2 and and "F", "G" or "H" which ever is the MIN?

Where F2=1, G2=2, F2=3.


try:
=MIN(F2:G2)&" in "&ADDRESS(2,MATCH(MIN(F2:G2),A2:G2,0),4)


Regards
Claus B.
--
Vista Ultimate / Windows7
Office 2007 Ultimate / 2010 Professional
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,872
Default Return Min & Cell address

Hi again,

Am Tue, 29 Jul 2014 09:27:53 +0200 schrieb Claus Busch:

=MIN(F2:G2)&" in "&ADDRESS(2,MATCH(MIN(F2:G2),A2:G2,0),4)


sorry, typo.

Try:
=MIN(F2:H2)&" in "&ADDRESS(2,MATCH(MIN(F2:H2),A2:H2,0),4)


Regards
Claus B.
--
Vista Ultimate / Windows7
Office 2007 Ultimate / 2010 Professional
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 852
Default Return Min & Cell address



Try:

=MIN(F2:H2)&" in "&ADDRESS(2,MATCH(MIN(F2:H2),A2:H2,0),4)





Regards

Claus B.


Never ceases to amaze me, thanks, Claus.

Howard
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,872
Default Return Min & Cell address

Hi Howard,

Am Tue, 29 Jul 2014 00:50:56 -0700 (PDT) schrieb L. Howard:

Never ceases to amaze me


always glad to help.

If the minimum can also occur in A2:E2 you will get a wrong cell
address.
In this case you better do the MATCH into the range for minimum:
=MIN(F2:H2)&" in "&ADDRESS(ROW(F2),MATCH(MIN(F2:H2),F2:H2,0)+COLUMN (F2)-1,4)

The formula is more versatile. You also can copy down the formula.


Regards
Claus B.
--
Vista Ultimate / Windows7
Office 2007 Ultimate / 2010 Professional


  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 852
Default Return Min & Cell address



If the minimum can also occur in A2:E2 you will get a wrong cell

address.

In this case you better do the MATCH into the range for minimum:

=MIN(F2:H2)&" in "&ADDRESS(ROW(F2),MATCH(MIN(F2:H2),F2:H2,0)+COLUMN (F2)-1,4)



The formula is more versatile. You also can copy down the formula.





Regards

Claus B.

--


I can't make that error occur with the first formula.

With 1 to 8 in A - H both seem to work fine, each returns "6 in F2".

I'll go with the latter on your advice anyway.

Thanks again.
Howard
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
return the Cell address of a value Jack_442 Excel Worksheet Functions 3 September 12th 09 03:55 AM
Return a cell address Frank Pytel Excel Worksheet Functions 5 October 31st 08 12:19 PM
return a cell address? green fox Excel Programming 6 November 20th 05 05:23 PM
How do I use a function to return the address of a cell? ren6175 Excel Worksheet Functions 6 April 21st 05 03:13 PM
Return cell address value Todd Huttenstine Excel Programming 7 April 16th 04 03:56 PM


All times are GMT +1. The time now is 05:25 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"