A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Looking for formula for lowest costs, excluding zero



 
 
Thread Tools Display Modes
  #1  
Old September 19th, 2005, 06:16 PM
Pipeladylu
external usenet poster
 
Posts: n/a
Default Looking for formula for lowest costs, excluding zero

I found a formula for determining the lowest costs from several columns, but
I cannot get it to work in my worksheet. This is nearly 1000 lines long. I
want to search 4 columns and get the lowest cost excluding 0. Any
suggestions would be greatly appreciated. Thanks!!
  #2  
Old September 19th, 2005, 06:52 PM
KL
external usenet poster
 
Posts: n/a
Default

Try this array formula (confirm with Ctrl+Shift+Enter, not just Enter):

=MIN(IF(A11000,A11000))

Regards,
KL


"Pipeladylu" wrote in message
...
I found a formula for determining the lowest costs from several columns,
but
I cannot get it to work in my worksheet. This is nearly 1000 lines long.
I
want to search 4 columns and get the lowest cost excluding 0. Any
suggestions would be greatly appreciated. Thanks!!



  #3  
Old September 19th, 2005, 08:04 PM
Pipeladylu
external usenet poster
 
Posts: n/a
Default

I tried the formula with the array, but it still did not work. The formula
that I used was =MIN(IF(MOD(COLUMN(B5:G5),3)=1,IF(B5:G5)))
Do you think this is correct?

"KL" wrote:

Try this array formula (confirm with Ctrl+Shift+Enter, not just Enter):

=MIN(IF(A11000,A11000))

Regards,
KL


"Pipeladylu" wrote in message
...
I found a formula for determining the lowest costs from several columns,
but
I cannot get it to work in my worksheet. This is nearly 1000 lines long.
I
want to search 4 columns and get the lowest cost excluding 0. Any
suggestions would be greatly appreciated. Thanks!!




  #4  
Old September 19th, 2005, 08:20 PM
KL
external usenet poster
 
Posts: n/a
Default

Hi,

Your formula makes no sense to me, can you explain what you are trying to
achieve and which columns you want to evaluate.

REgards,
KL


"Pipeladylu" wrote in message
...
I tried the formula with the array, but it still did not work. The formula
that I used was =MIN(IF(MOD(COLUMN(B5:G5),3)=1,IF(B5:G5)))
Do you think this is correct?

"KL" wrote:

Try this array formula (confirm with Ctrl+Shift+Enter, not just Enter):

=MIN(IF(A11000,A11000))

Regards,
KL


"Pipeladylu" wrote in message
...
I found a formula for determining the lowest costs from several columns,
but
I cannot get it to work in my worksheet. This is nearly 1000 lines
long.
I
want to search 4 columns and get the lowest cost excluding 0. Any
suggestions would be greatly appreciated. Thanks!!






  #5  
Old September 19th, 2005, 09:05 PM
KL
external usenet poster
 
Posts: n/a
Default

Maybe this:

=MIN(IF((MOD(COLUMN(B5:G5),3)=1)*(B5:G50),B5:G5) )

Enter as ARRAY formula

Regards,
KL


"KL" wrote in message
...
Hi,

Your formula makes no sense to me, can you explain what you are trying to
achieve and which columns you want to evaluate.

REgards,
KL


"Pipeladylu" wrote in message
...
I tried the formula with the array, but it still did not work. The
formula
that I used was =MIN(IF(MOD(COLUMN(B5:G5),3)=1,IF(B5:G5)))
Do you think this is correct?

"KL" wrote:

Try this array formula (confirm with Ctrl+Shift+Enter, not just Enter):

=MIN(IF(A11000,A11000))

Regards,
KL


"Pipeladylu" wrote in message
...
I found a formula for determining the lowest costs from several
columns,
but
I cannot get it to work in my worksheet. This is nearly 1000 lines
long.
I
want to search 4 columns and get the lowest cost excluding 0. Any
suggestions would be greatly appreciated. Thanks!!







  #6  
Old September 19th, 2005, 09:09 PM
Pipeladylu
external usenet poster
 
Posts: n/a
Default

I have a large quote that I am working on and have pricing from several
vendors. I am nearly complete and would like to create a formula to
determine the lowest cost per line. The costs appear in lines H, L, T & U.
I don't want zero to become a part of the lowest pricing. Thanks KL!!!

"KL" wrote:

Hi,

Your formula makes no sense to me, can you explain what you are trying to
achieve and which columns you want to evaluate.

REgards,
KL


"Pipeladylu" wrote in message
...
I tried the formula with the array, but it still did not work. The formula
that I used was =MIN(IF(MOD(COLUMN(B5:G5),3)=1,IF(B5:G5)))
Do you think this is correct?

"KL" wrote:

Try this array formula (confirm with Ctrl+Shift+Enter, not just Enter):

=MIN(IF(A11000,A11000))

Regards,
KL


"Pipeladylu" wrote in message
...
I found a formula for determining the lowest costs from several columns,
but
I cannot get it to work in my worksheet. This is nearly 1000 lines
long.
I
want to search 4 columns and get the lowest cost excluding 0. Any
suggestions would be greatly appreciated. Thanks!!






  #7  
Old September 19th, 2005, 10:39 PM
Cutter
external usenet poster
 
Posts: n/a
Default


If you want to determine only the lowest cost for each column (and not
the number of times the lowest cost appears) then try this:

=IF(MIN(H2:H200)0,SMALL(H2:H200,COUNTIF(H2:H200,0 )+1),MIN(H2:H200))

This example is for column H (range H2:H200) so adjust as necessary and
then copy it to to your other columns.

It is not an array formula so just enter in normal way


--
Cutter
------------------------------------------------------------------------
Cutter's Profile: http://www.excelforum.com/member.php...fo&userid=9848
View this thread: http://www.excelforum.com/showthread...hreadid=468906

  #8  
Old September 20th, 2005, 10:42 PM
Pipeladylu
external usenet poster
 
Posts: n/a
Default

Thanks... It works great!! I really appreciate your help

"Cutter" wrote:


If you want to determine only the lowest cost for each column (and not
the number of times the lowest cost appears) then try this:

=IF(MIN(H2:H200)0,SMALL(H2:H200,COUNTIF(H2:H200,0 )+1),MIN(H2:H200))

This example is for column H (range H2:H200) so adjust as necessary and
then copy it to to your other columns.

It is not an array formula so just enter in normal way


--
Cutter
------------------------------------------------------------------------
Cutter's Profile: http://www.excelforum.com/member.php...fo&userid=9848
View this thread: http://www.excelforum.com/showthread...hreadid=468906


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Profit & Loss Account Costs shown as a percentage of Sales Dritz General Discussion 2 September 9th, 2005 10:17 AM
Working out costs per trainee Garry Running & Setting Up Queries 0 November 23rd, 2004 12:18 PM
Importing updated costs and new items simultaneously Jack Boards Worksheet Functions 1 August 24th, 2004 10:58 PM


All times are GMT +1. The time now is 06:34 AM.


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