Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
mmock
 
Posts: n/a
Default Counting spefic cell (not a range) with a value greater than 1

I am looking for a formula to count specific cells and a range (A5, A10, A15,
A20 and so on) but only count when the value is greater than $1.00. So if
the value of cell A5 was $1.50, the value of cell A10 was $1.25, the value of
cell A15 was $0.50 and the value of cell A20 was $2.00 the total count would
be 3. I'm stumped!

  #2   Report Post  
Peo Sjoblom
 
Posts: n/a
Default

=SUMPRODUCT(--(LARGE((A5,A10,A15,A20,A25),ROW(INDIRECT("1:"&COUN T(A5,A10,A15,A20,A25))))1))


however if you want to sum every 5th cell greater than 1 you can use


=SUMPRODUCT(--(MOD(ROW(A5:A50),5)=0),--(A5:A501))

--
Regards,

Peo Sjoblom


"mmock" wrote in message
...
I am looking for a formula to count specific cells and a range (A5, A10,
A15,
A20 and so on) but only count when the value is greater than $1.00. So if
the value of cell A5 was $1.50, the value of cell A10 was $1.25, the value
of
cell A15 was $0.50 and the value of cell A20 was $2.00 the total count
would
be 3. I'm stumped!


  #3   Report Post  
mmock
 
Posts: n/a
Default

I used every 5th cell as an example. I haven't tried this yet and do not
want the product of the cells just to know if a cell is got a value in it
greater than 1. I will try and get back to you....THANKS! and sorry for the
multipul posts.

"Peo Sjoblom" wrote:

=SUMPRODUCT(--(LARGE((A5,A10,A15,A20,A25),ROW(INDIRECT("1:"&COUN T(A5,A10,A15,A20,A25))))1))


however if you want to sum every 5th cell greater than 1 you can use


=SUMPRODUCT(--(MOD(ROW(A5:A50),5)=0),--(A5:A501))

--
Regards,

Peo Sjoblom


"mmock" wrote in message
...
I am looking for a formula to count specific cells and a range (A5, A10,
A15,
A20 and so on) but only count when the value is greater than $1.00. So if
the value of cell A5 was $1.50, the value of cell A10 was $1.25, the value
of
cell A15 was $0.50 and the value of cell A20 was $2.00 the total count
would
be 3. I'm stumped!



  #4   Report Post  
mmock
 
Posts: n/a
Default

Thank you....it did work; however, there is one problem. I have 34 cells
that need to be counted and it looks like I can only get 30. I am going to
list the cells to see if you can assist again.
K17,K27,K37,K47,K57,K67,K77,K87,K102,K112,K122,K13 2,K147,K157,K172,K182,K197,K207,K217,K227,K237,K24 7,K257,K267,K277,K287,K297,K307,K322,K332,K347,K35 7,K367,K377

thanks,M

"Peo Sjoblom" wrote:

=SUMPRODUCT(--(LARGE((A5,A10,A15,A20,A25),ROW(INDIRECT("1:"&COUN T(A5,A10,A15,A20,A25))))1))


however if you want to sum every 5th cell greater than 1 you can use


=SUMPRODUCT(--(MOD(ROW(A5:A50),5)=0),--(A5:A501))

--
Regards,

Peo Sjoblom


"mmock" wrote in message
...
I am looking for a formula to count specific cells and a range (A5, A10,
A15,
A20 and so on) but only count when the value is greater than $1.00. So if
the value of cell A5 was $1.50, the value of cell A10 was $1.25, the value
of
cell A15 was $0.50 and the value of cell A20 was $2.00 the total count
would
be 3. I'm stumped!



  #5   Report Post  
L. Howard Kittle
 
Posts: n/a
Default

I believe you can put half the cells in one formula and repeat the formula
with the second half of the cells and put a + between the two formulas.
Something like this.
I only used 5 cells but you would use about 17 in each formula. I did not
test it with 17 cells.

=SUMPRODUCT(--(LARGE((A1,A2,A3,A4,A5),ROW(INDIRECT("1:"&COUNT(A1 ,A2,A3,A4,A5))))1))+SUMPRODUCT(--(LARGE((B1,B2,B3,B4,B5),ROW(INDIRECT("1:"&COUNT(B1 ,B2,B3,B4,B5))))1))

HTH
Regards,
Howard

"mmock" wrote in message
...
I am looking for a formula to count specific cells and a range (A5, A10,
A15,
A20 and so on) but only count when the value is greater than $1.00. So if
the value of cell A5 was $1.50, the value of cell A10 was $1.25, the value
of
cell A15 was $0.50 and the value of cell A20 was $2.00 the total count
would
be 3. I'm stumped!





  #6   Report Post  
mmock
 
Posts: n/a
Default

Thank you...IT WORKED!!!

"L. Howard Kittle" wrote:

I believe you can put half the cells in one formula and repeat the formula
with the second half of the cells and put a + between the two formulas.
Something like this.
I only used 5 cells but you would use about 17 in each formula. I did not
test it with 17 cells.

=SUMPRODUCT(--(LARGE((A1,A2,A3,A4,A5),ROW(INDIRECT("1:"&COUNT(A1 ,A2,A3,A4,A5))))1))+SUMPRODUCT(--(LARGE((B1,B2,B3,B4,B5),ROW(INDIRECT("1:"&COUNT(B1 ,B2,B3,B4,B5))))1))

HTH
Regards,
Howard

"mmock" wrote in message
...
I am looking for a formula to count specific cells and a range (A5, A10,
A15,
A20 and so on) but only count when the value is greater than $1.00. So if
the value of cell A5 was $1.50, the value of cell A10 was $1.25, the value
of
cell A15 was $0.50 and the value of cell A20 was $2.00 the total count
would
be 3. I'm stumped!




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
if the value of a cell in a range is not blank, then return the v. kvail Excel Worksheet Functions 2 April 8th 05 10:07 PM
Adding contents of one cell to a range of cells. CLJinVA Excel Worksheet Functions 1 February 10th 05 10:19 PM
Counting specific text in a cell Steve Excel Worksheet Functions 7 January 26th 05 05:51 PM
Searching text in a cell range ShareerIslamabadiMunda Excel Worksheet Functions 7 December 16th 04 09:55 PM
Counting instances in a cell [email protected] Excel Discussion (Misc queries) 2 December 11th 04 03:14 PM


All times are GMT +1. The time now is 12:31 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"