Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default finding multiple non-zero values in a column

I have a sales list for a customer and I need to find all of the items they
are getting via the column that shows "amount of units". Then I need to put
that number as well as the item name that corresponds to each amount in a new
sheet for project managers. The array looks like this:

/Unit/ /#/
Unit1 0
Unit2 3
Unit3 0
Unit4 0
Unit5 450
Unit6 0

To explain more fully, I need to find the non-zero values in column B
without rearranging either of these columns and then send the value from the
corresponding value in column A, as well as the number in column B to a new
sheet entitled "Project Manager"

The problem is that I need to have this formula in place for good. I also
can't affect the columns as they are, so none of them can get hidden. Thanks
for your help.

Thanks for any help.

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,836
Default finding multiple non-zero values in a column

This tiny function will give you the cell addresses of all non zero values:
Function nonzero(R As Range) As String
nonzero = ""
For Each rr In R
If rr.Value < 0 Then
nonzero = rr.Address
Exit Function
End If
Next
End Function


Regards,
Ryan---

--
RyGuy


"ij00mini" wrote:

I have a sales list for a customer and I need to find all of the items they
are getting via the column that shows "amount of units". Then I need to put
that number as well as the item name that corresponds to each amount in a new
sheet for project managers. The array looks like this:

/Unit/ /#/
Unit1 0
Unit2 3
Unit3 0
Unit4 0
Unit5 450
Unit6 0

To explain more fully, I need to find the non-zero values in column B
without rearranging either of these columns and then send the value from the
corresponding value in column A, as well as the number in column B to a new
sheet entitled "Project Manager"

The problem is that I need to have this formula in place for good. I also
can't affect the columns as they are, so none of them can get hidden. Thanks
for your help.

Thanks for any help.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default finding multiple non-zero values in a column

A similar question was answered he

http://tinyurl.com/2y4h6t

Basically, all you should have to do is change the COUNTIF criteria to "0".


--
Biff
Microsoft Excel MVP


"ij00mini" wrote in message
...
I have a sales list for a customer and I need to find all of the items they
are getting via the column that shows "amount of units". Then I need to
put
that number as well as the item name that corresponds to each amount in a
new
sheet for project managers. The array looks like this:

/Unit/ /#/
Unit1 0
Unit2 3
Unit3 0
Unit4 0
Unit5 450
Unit6 0

To explain more fully, I need to find the non-zero values in column B
without rearranging either of these columns and then send the value from
the
corresponding value in column A, as well as the number in column B to a
new
sheet entitled "Project Manager"

The problem is that I need to have this formula in place for good. I also
can't affect the columns as they are, so none of them can get hidden.
Thanks
for your help.

Thanks for any help.



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
finding multiple non-zero values in a column ij00mini Excel Worksheet Functions 2 January 29th 08 02:55 PM
Adding multiple values in one column based on multiple values of the same value (text) in another column [email protected] Excel Discussion (Misc queries) 1 May 16th 07 06:02 PM
Finding the first and last column with values Epmo Excel Discussion (Misc queries) 1 February 6th 07 05:42 PM
Finding multiple values of a function trainerbro Excel Worksheet Functions 3 November 6th 06 08:09 PM
Finding (Multiple) Highest Values in Column Shay Hurley Excel Worksheet Functions 1 October 3rd 05 04:19 PM


All times are GMT +1. The time now is 09:12 AM.

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"