Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 18
Default Count zero values before specific date

I have tried looking up other peoples questions, but they only want to count
the number that arent zero!

I need to count the number of days of zero sales up to the date I have data
for e.g. 21/4/08.

Salesperson 1
Date Product A Product B Total

18/4/08 0 0 0
19/4/08 5 1 6
20/4/08 0 0 0
21/4/08 10 4 14
22/4/08 0
23/4/08 0
etc until end of year

The Total column is a simple formula adding Prod A + B together and copied
down to the end of the year.

Ive tried using =SUMPRODUCT(--(d3:d296<1)), but obviously this just counts
every zero value formula to the end of the year.

If anyone can help, Id be forever grateful. I have 35 sales people to do
this for, on a rolling basis, all year!

Thanks in advance
Lesg46

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Count zero values before specific date

Try: =SUMPRODUCT((B3:B296<"")*(C3:C296<"")*(D3:D296=0 ))
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"lesg46" wrote:
I have tried looking up other peoples questions, but they only want to count
the number that arent zero!

I need to count the number of days of zero sales up to the date I have data
for e.g. 21/4/08.

Salesperson 1
Date Product A Product B Total

18/4/08 0 0 0
19/4/08 5 1 6
20/4/08 0 0 0
21/4/08 10 4 14
22/4/08 0
23/4/08 0
etc until end of year

The Total column is a simple formula adding Prod A + B together and copied
down to the end of the year.

Ive tried using =SUMPRODUCT(--(d3:d296<1)), but obviously this just counts
every zero value formula to the end of the year.

If anyone can help, Id be forever grateful. I have 35 sales people to do
this for, on a rolling basis, all year!

Thanks in advance
Lesg46

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 18
Default Count zero values before specific date

Hi Max,
That does work - thank you. However, by using this formula it does mean I
have to enter all the zeros in their products sold.
Ideally what I'd like to do is leave the cell empty (where they haven't sold
anything), and make the number of zeros calculation based on the zero that
then appears in the formula column. This is where I got to originally, but
then I get the wrong answer as it's looking at the whole year's worth of zero
totals. It just makes the sheet look a bit neater if I don't enter 0 where
they've sold nothing (as there can be many of these!)

Perhaps I wasn't clear in my description originally as I had to put 0's in
the product columns to demonstrate what I meant!

Gary's student reply (thank you) won't work (although I can see the logic),
as I've already pre-filled the year's dates in in Column A.

I've probably completely confused the issue now, but thanks so much for
helping me out.

Lesg

"Max" wrote:

Try: =SUMPRODUCT((B3:B296<"")*(C3:C296<"")*(D3:D296=0 ))
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"lesg46" wrote:
I have tried looking up other peoples questions, but they only want to count
the number that arent zero!

I need to count the number of days of zero sales up to the date I have data
for e.g. 21/4/08.

Salesperson 1
Date Product A Product B Total

18/4/08 0 0 0
19/4/08 5 1 6
20/4/08 0 0 0
21/4/08 10 4 14
22/4/08 0
23/4/08 0
etc until end of year

The Total column is a simple formula adding Prod A + B together and copied
down to the end of the year.

Ive tried using =SUMPRODUCT(--(d3:d296<1)), but obviously this just counts
every zero value formula to the end of the year.

If anyone can help, Id be forever grateful. I have 35 sales people to do
this for, on a rolling basis, all year!

Thanks in advance
Lesg46

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Count zero values before specific date

.. It just makes the sheet look a bit neater if I don't enter 0 where
they've sold nothing (as there can be many of these!)


In which case, this would probably suffice:
=SUMPRODUCT((B3:B296<"")*(C3:C296<""))

Take a moment to press the "Yes" button below if it helped
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"lesg46" wrote:
Hi Max,
That does work - thank you. However, by using this formula it does mean I
have to enter all the zeros in their products sold.
Ideally what I'd like to do is leave the cell empty (where they haven't sold
anything), and make the number of zeros calculation based on the zero that
then appears in the formula column. This is where I got to originally, but
then I get the wrong answer as it's looking at the whole year's worth of zero
totals. It just makes the sheet look a bit neater if I don't enter 0 where
they've sold nothing (as there can be many of these!)

Perhaps I wasn't clear in my description originally as I had to put 0's in
the product columns to demonstrate what I meant!

Gary's student reply (thank you) won't work (although I can see the logic),
as I've already pre-filled the year's dates in in Column A.

I've probably completely confused the issue now, but thanks so much for
helping me out.

Lesg


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Count zero values before specific date

Sorry, dismiss the preceding which is incorrect. Stick with the former. You
have to enter zeros in cols B and C to "denote" the extent.
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,058
Default Count zero values before specific date

You were partially correct:

=SUMPRODUCT((A3:A296<"")*(D3:D296=0))

The test on column A removes counts for which no date has been entered yet.
--
Gary''s Student - gsnu200787


"lesg46" wrote:

I have tried looking up other peoples questions, but they only want to count
the number that arent zero!

I need to count the number of days of zero sales up to the date I have data
for e.g. 21/4/08.

Salesperson 1
Date Product A Product B Total

18/4/08 0 0 0
19/4/08 5 1 6
20/4/08 0 0 0
21/4/08 10 4 14
22/4/08 0
23/4/08 0
etc until end of year

The Total column is a simple formula adding Prod A + B together and copied
down to the end of the year.

Ive tried using =SUMPRODUCT(--(d3:d296<1)), but obviously this just counts
every zero value formula to the end of the year.

If anyone can help, Id be forever grateful. I have 35 sales people to do
this for, on a rolling basis, all year!

Thanks in advance
Lesg46

  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Count zero values before specific date

GOOD DAY

CAN YOU PLEASE HELP ME WITH THE FOLLOWINFG

PLEASE ANSWER TO


how can i select all possible combinations
from list of SEVERAL columns like column a column b column c column d
column e column f AN G and more
in each column list of differant numbers -in each column could be
diffearnat quantity of numbers
i would like to define ALL variable selection OF NON REPEAABLE COMBINATIONS
from columns example
that from column a select 1 number from b 2 numbers from c 1 number
from d 2 numbers from g 3 numbers or other


coulmn a coulmn b coulmn c coulmn d coulmn e coulmn f coulmn g
coulmn h coulmn i
400 406 410 900 901 1000
10000 300 600
402 915 1001 1012 2500
20000 301 601
404 10012 1003 2501
40000 302 603
409 1010
2502 50000 303 604
405
2555 100000 605
409
RESULTS SUCH AS
400 406 410 900 901 1000 10000 300 600
402 406 410 900 901 1000 10000 300 600
404 406 410 900 901 1000 10000 300 600
AND SO ON ALL COMBINATIONS
now comination from 1 coulmn 2 numbers and mising one number from another
coulmn
400 402 410 900 901 1000 10000 300 600
402 406 410 900 1001 1000 10000 300 600
404 406 915 900 901 1000 10000 300 600
ALSO NEVER TO REPEAT SAME COMBINATION NOT TO BE REPEATED
PLEASE SEND ME YOUR SOULTION IN EXCEL FUNCTION AS I CAN NOT DEAL WITH VBA

THANKS AND BEST REGARDS MOSHE

"Gary''s Student" wrote:





You were partially correct:

=SUMPRODUCT((A3:A296<"")*(D3:D296=0))

The test on column A removes counts for which no date has been entered yet.
--
Gary''s Student - gsnu200787


"lesg46" wrote:

I have tried looking up other peoples questions, but they only want to count
the number that arent zero!

I need to count the number of days of zero sales up to the date I have data
for e.g. 21/4/08.

Salesperson 1
Date Product A Product B Total

18/4/08 0 0 0
19/4/08 5 1 6
20/4/08 0 0 0
21/4/08 10 4 14
22/4/08 0
23/4/08 0
etc until end of year

The Total column is a simple formula adding Prod A + B together and copied
down to the end of the year.

Ive tried using =SUMPRODUCT(--(d3:d296<1)), but obviously this just counts
every zero value formula to the end of the year.

If anyone can help, Id be forever grateful. I have 35 sales people to do
this for, on a rolling basis, all year!

Thanks in advance
Lesg46

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
Count number of text values in a specific row Carlee Excel Worksheet Functions 3 June 7th 07 11:47 PM
Count & Sum Consecutive (2x) appearance of Specific Numeric Values Sam via OfficeKB.com Excel Worksheet Functions 2 February 5th 07 02:44 PM
Count the number of specific values in a cell Kevin Excel Worksheet Functions 4 June 3rd 05 04:20 AM
Trying to count specific values JanetP3810 Excel Worksheet Functions 1 April 27th 05 11:46 PM
How do I count my data that are between specific values? LDC Excel Worksheet Functions 3 November 16th 04 11:14 PM


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