Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 20
Default Formula To Bring The Best Name 2

I posted a question yesterday & got a good reply from Jacob & now I can't
find it.

The ? was:- I have a worksheet that has 9 suppliers names in (C4:L4), there
costs for a item in (C19:L19) I want to bring the cheapest supplier name into
cell M4.

Jacob replied:-

=INDEX(C4:L4, MATCH(MIN(C19:L19),C19:L19,0))

I now need to exclude the $0.0000 values in C19:L19
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Formula To Bring The Best Name 2

I now need to exclude the $0.0000 values in C19:L19

Try this...

=INDEX(C4:L4,MATCH(SMALL(C19:L19,COUNTIF(C19:L19,0 )+1),C19:L19,0))

--
Biff
Microsoft Excel MVP


"peterh" wrote in message
...
I posted a question yesterday & got a good reply from Jacob & now I can't
find it.

The ? was:- I have a worksheet that has 9 suppliers names in (C4:L4),
there
costs for a item in (C19:L19) I want to bring the cheapest supplier name
into
cell M4.

Jacob replied:-

=INDEX(C4:L4, MATCH(MIN(C19:L19),C19:L19,0))

I now need to exclude the $0.0000 values in C19:L19



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 7,247
Default Formula To Bring The Best Name 2

Use the following array formula:

=INDEX(C4:L4,
MATCH(MIN(IF(C19:L19<0,MAX(C19:L19)+1,C19:L19)),C1 9:L19,0))

This assumes that there is at least one value in C19:L19 that is
greater than zero.

This is an array formula, so you must press CTRL SHIFT ENTER
rather than just ENTER when you first enter the formula and whenever
you edit it later. If you do this properly, Excel will display
the formula enclosed in curly braces { }. You do not type
in the braces -- Excel puts them in automatically. The
formula will not work properly if you do not enter it with
CTRL SHIFT ENTER. For much more information about array
formulas, see http://www.cpearson.com/Excel/ArrayFormulas.aspx.



On Wed, 20 Jan 2010 13:06:01 -0800, peterh
wrote:

I posted a question yesterday & got a good reply from Jacob & now I can't
find it.

The ? was:- I have a worksheet that has 9 suppliers names in (C4:L4), there
costs for a item in (C19:L19) I want to bring the cheapest supplier name into
cell M4.

Jacob replied:-

=INDEX(C4:L4, MATCH(MIN(C19:L19),C19:L19,0))

I now need to exclude the $0.0000 values in C19:L19

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
Formula To Bring The Best Name peterh Excel Worksheet Functions 2 January 20th 10 05:38 AM
Formula to bring in the header peterh Excel Worksheet Functions 1 January 19th 10 05:31 AM
How does one use a formula to bring over the formatting as well Bud Excel Worksheet Functions 1 April 16th 09 01:50 AM
formula to bring value from another sheet with different spaces veena Excel Discussion (Misc queries) 6 July 11th 08 12:25 AM
Formula to bring up to # but not over Woody13 Excel Discussion (Misc queries) 3 October 17th 06 08:44 PM


All times are GMT +1. The time now is 09:17 PM.

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

About Us

"It's about Microsoft Excel"