Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9
Default Countif and Sumif with refrence value a Cell on another Sheet in theWorkbook

Hi.
I have a workbook for sales information.
'Sheet1'!A3 I want to put a number (2000) to compare
Sheets 2 - 26 G2:G30 is the information I want to look at

Sheets 2-26 F40 Counts the values in G2:G30 that are Greater
Than 'Sheet1'!A3
Sheets 2-26 F41 Counts the values in G2:G30 that are Less
Than 'Sheet1'!A3

Sheets 2-26 G40 Sums the values in G2:G30 that are Greater
Than 'Sheet1'!A3
Sheets 2-26 G41 Sums the values in G2:G30 that are Less Than
'Sheet1'!A3

I can get the answers if I put in the 2000 into each of the following
formulas,
but is very laborsum to do it for 25 worksheets
F40 =COUNTIF(G7:G16,"2000") and G40 =SUMIF(G7:G17,"2000")
F41 =COUNTIF(G7:G16,"<2000") and G41 =SUMIF(G7:G17,"<2000")

All help would be very appreciated
Mike
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Countif and Sumif with refrence value a Cell on another Sheet in the Workbook

Try it like this:

=COUNTIF(G7:G16,""&Sheet1!A3)
=SUMIF(G7:G17,""&Sheet1!A3)


--
Biff
Microsoft Excel MVP


"Mike 215" wrote in message
...
Hi.
I have a workbook for sales information.
'Sheet1'!A3 I want to put a number (2000) to compare
Sheets 2 - 26 G2:G30 is the information I want to look at

Sheets 2-26 F40 Counts the values in G2:G30 that are Greater
Than 'Sheet1'!A3
Sheets 2-26 F41 Counts the values in G2:G30 that are Less
Than 'Sheet1'!A3

Sheets 2-26 G40 Sums the values in G2:G30 that are Greater
Than 'Sheet1'!A3
Sheets 2-26 G41 Sums the values in G2:G30 that are Less Than
'Sheet1'!A3

I can get the answers if I put in the 2000 into each of the following
formulas,
but is very laborsum to do it for 25 worksheets
F40 =COUNTIF(G7:G16,"2000") and G40 =SUMIF(G7:G17,"2000")
F41 =COUNTIF(G7:G16,"<2000") and G41 =SUMIF(G7:G17,"<2000")

All help would be very appreciated
Mike



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9
Default Countif and Sumif with refrence value a Cell on another Sheet inthe Workbook

On Sep 2, 8:33*pm, "T. Valko" wrote:
Try it like this:

=COUNTIF(G7:G16,""&Sheet1!A3)
=SUMIF(G7:G17,""&Sheet1!A3)

--
Biff
Microsoft Excel MVP

"Mike 215" wrote in message

...



Hi.
I have a workbook for sales information.
'Sheet1'!A3 * I want to put a number (2000) to compare
Sheets 2 - 26 * G2:G30 * *is the information I want to look at


Sheets 2-26 * * F40 * *Counts the values in G2:G30 that are Greater
Than * 'Sheet1'!A3
Sheets 2-26 * * F41 * *Counts the values in G2:G30 that are Less
Than * 'Sheet1'!A3


Sheets 2-26 * * G40 * *Sums the values in G2:G30 that are Greater
Than * 'Sheet1'!A3
Sheets 2-26 * * G41 * *Sums the values in G2:G30 that are Less Than
'Sheet1'!A3


I can get the answers if I put in the 2000 into each of the following
formulas,
but is very laborsum to do it for 25 worksheets
F40 *=COUNTIF(G7:G16,"2000") *and G40 *=SUMIF(G7:G17,"2000")
F41 *=COUNTIF(G7:G16,"<2000") *and *G41 *=SUMIF(G7:G17,"<2000")


All help would be very appreciated
Mike- Hide quoted text -


- Show quoted text -


These formulas produced 0 value for both Array and Regular Formula.

I am using Excel 2003.
MIke
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Countif and Sumif with refrence value a Cell on another Sheet in the Workbook

F40 =COUNTIF(G7:G16,"2000")
G40 =SUMIF(G7:G17,"2000")


If above formulas worked then these formulas have to work:

'Sheet1'!A3 I want to put a number (2000)


=COUNTIF(G7:G16,""&Sheet1!A3)
=SUMIF(G7:G17,""&Sheet1!A3)

You're just replacing the hardcoded value 2000 with a cell reference.

--
Biff
Microsoft Excel MVP


"Mike 215" wrote in message
...
On Sep 2, 8:33 pm, "T. Valko" wrote:
Try it like this:

=COUNTIF(G7:G16,""&Sheet1!A3)
=SUMIF(G7:G17,""&Sheet1!A3)

--
Biff
Microsoft Excel MVP

"Mike 215" wrote in message

...



Hi.
I have a workbook for sales information.
'Sheet1'!A3 I want to put a number (2000) to compare
Sheets 2 - 26 G2:G30 is the information I want to look at


Sheets 2-26 F40 Counts the values in G2:G30 that are Greater
Than 'Sheet1'!A3
Sheets 2-26 F41 Counts the values in G2:G30 that are Less
Than 'Sheet1'!A3


Sheets 2-26 G40 Sums the values in G2:G30 that are Greater
Than 'Sheet1'!A3
Sheets 2-26 G41 Sums the values in G2:G30 that are Less Than
'Sheet1'!A3


I can get the answers if I put in the 2000 into each of the following
formulas,
but is very laborsum to do it for 25 worksheets
F40 =COUNTIF(G7:G16,"2000") and G40 =SUMIF(G7:G17,"2000")
F41 =COUNTIF(G7:G16,"<2000") and G41 =SUMIF(G7:G17,"<2000")


All help would be very appreciated
Mike- Hide quoted text -


- Show quoted text -


These formulas produced 0 value for both Array and Regular Formula.

I am using Excel 2003.
MIke


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
Sumif / Countif - Not certain - want to extract data from cell and M.A. Clark Excel Worksheet Functions 30 January 10th 08 10:43 AM
range,cell refrence buzz Excel Worksheet Functions 3 July 8th 07 06:30 PM
COUNTIF - SUMIF don't appear to work in this sheet. Asiageek New Users to Excel 6 March 6th 07 10:12 AM
How NOT to extend formula/refrence to a cell [email protected] Excel Worksheet Functions 2 October 9th 05 10:02 AM
Wildcards in other workbook cell refrence? Pootler Excel Worksheet Functions 1 June 2nd 05 05:55 PM


All times are GMT +1. The time now is 05:25 PM.

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"