#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default count if

Hello, My workbook contains a worksheet for each day of the month for store
sales. What I want to do is count how many times sales are over a certain
amount for a store.
Example my chicago store daily sales are in cell e22 across worksheets 1
through 31, i want to count how many times the stores sales were over say
1000.
Sure would appreciate any help this is driving me crazy. LOL

Roger
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default count if

Assuming your sheet names are 1, 2, 3, 4 .... 31

=SUMPRODUCT(COUNTIF(INDIRECT("'"&ROW(INDIRECT("1:3 1"))&"'!E22"),"1000"))


--
Biff
Microsoft Excel MVP


"MrSpock" wrote in message
...
Hello, My workbook contains a worksheet for each day of the month for
store
sales. What I want to do is count how many times sales are over a certain
amount for a store.
Example my chicago store daily sales are in cell e22 across worksheets 1
through 31, i want to count how many times the stores sales were over say
1000.
Sure would appreciate any help this is driving me crazy. LOL

Roger



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default count if

Thank You very much for your help. When I paste this into my workbook though
I get a #REF error. The sheet names are as you assume except that sundays are
not there such as 1,2,3,4,5,7,8,9,10,11,12,14 etc.

"T. Valko" wrote:

Assuming your sheet names are 1, 2, 3, 4 .... 31

=SUMPRODUCT(COUNTIF(INDIRECT("'"&ROW(INDIRECT("1:3 1"))&"'!E22"),"1000"))


--
Biff
Microsoft Excel MVP


"MrSpock" wrote in message
...
Hello, My workbook contains a worksheet for each day of the month for
store
sales. What I want to do is count how many times sales are over a certain
amount for a store.
Example my chicago store daily sales are in cell e22 across worksheets 1
through 31, i want to count how many times the stores sales were over say
1000.
Sure would appreciate any help this is driving me crazy. LOL

Roger




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default count if

In that case I would just use an additional cell (the same cell on each
sheet) with a formula like this:

F22:

=--(E221000)

Then on your summary sheet:

=SUM('1:31'!F22)


--
Biff
Microsoft Excel MVP


"MrSpock" wrote in message
...
Thank You very much for your help. When I paste this into my workbook
though
I get a #REF error. The sheet names are as you assume except that sundays
are
not there such as 1,2,3,4,5,7,8,9,10,11,12,14 etc.

"T. Valko" wrote:

Assuming your sheet names are 1, 2, 3, 4 .... 31

=SUMPRODUCT(COUNTIF(INDIRECT("'"&ROW(INDIRECT("1:3 1"))&"'!E22"),"1000"))


--
Biff
Microsoft Excel MVP


"MrSpock" wrote in message
...
Hello, My workbook contains a worksheet for each day of the month for
store
sales. What I want to do is count how many times sales are over a
certain
amount for a store.
Example my chicago store daily sales are in cell e22 across worksheets
1
through 31, i want to count how many times the stores sales were over
say
1000.
Sure would appreciate any help this is driving me crazy. LOL

Roger






  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default count if

Thanks for all your time and help my friend.

"T. Valko" wrote:

In that case I would just use an additional cell (the same cell on each
sheet) with a formula like this:

F22:

=--(E221000)

Then on your summary sheet:

=SUM('1:31'!F22)


--
Biff
Microsoft Excel MVP


"MrSpock" wrote in message
...
Thank You very much for your help. When I paste this into my workbook
though
I get a #REF error. The sheet names are as you assume except that sundays
are
not there such as 1,2,3,4,5,7,8,9,10,11,12,14 etc.

"T. Valko" wrote:

Assuming your sheet names are 1, 2, 3, 4 .... 31

=SUMPRODUCT(COUNTIF(INDIRECT("'"&ROW(INDIRECT("1:3 1"))&"'!E22"),"1000"))


--
Biff
Microsoft Excel MVP


"MrSpock" wrote in message
...
Hello, My workbook contains a worksheet for each day of the month for
store
sales. What I want to do is count how many times sales are over a
certain
amount for a store.
Example my chicago store daily sales are in cell e22 across worksheets
1
through 31, i want to count how many times the stores sales were over
say
1000.
Sure would appreciate any help this is driving me crazy. LOL

Roger








  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default count if

You're welcome!

--
Biff
Microsoft Excel MVP


"MrSpock" wrote in message
...
Thanks for all your time and help my friend.

"T. Valko" wrote:

In that case I would just use an additional cell (the same cell on each
sheet) with a formula like this:

F22:

=--(E221000)

Then on your summary sheet:

=SUM('1:31'!F22)


--
Biff
Microsoft Excel MVP


"MrSpock" wrote in message
...
Thank You very much for your help. When I paste this into my workbook
though
I get a #REF error. The sheet names are as you assume except that
sundays
are
not there such as 1,2,3,4,5,7,8,9,10,11,12,14 etc.

"T. Valko" wrote:

Assuming your sheet names are 1, 2, 3, 4 .... 31

=SUMPRODUCT(COUNTIF(INDIRECT("'"&ROW(INDIRECT("1:3 1"))&"'!E22"),"1000"))


--
Biff
Microsoft Excel MVP


"MrSpock" wrote in message
...
Hello, My workbook contains a worksheet for each day of the month
for
store
sales. What I want to do is count how many times sales are over a
certain
amount for a store.
Example my chicago store daily sales are in cell e22 across
worksheets
1
through 31, i want to count how many times the stores sales were
over
say
1000.
Sure would appreciate any help this is driving me crazy. LOL

Roger








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 Employee Work Time - Don't Double-count Overlapping Apts. J Excel Worksheet Functions 0 April 27th 07 05:52 AM
Excel 2000, count, sort a list & count totals? sunslight Excel Worksheet Functions 1 April 9th 07 05:46 PM
Count Intervals of 1 Numeric value in a Row and Return Count down Column Sam via OfficeKB.com Excel Worksheet Functions 8 October 4th 05 04:37 PM
Count Intervals of 2 Numeric values in same Row and Return Count across Row Sam via OfficeKB.com Excel Worksheet Functions 12 September 24th 05 10:58 PM
Count Intervals of Filtered TEXT values in Column and Return Count across a Row Sam via OfficeKB.com Excel Worksheet Functions 9 July 31st 05 03:37 AM


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