Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 102
Default Count using multiple scenarios

Hi

I have three rows that have totals across 5 cells example say

Total using cells c14:G14
Roster using c15:g15
Forecast using c16:g16

and if the totals were
C D E F G
row 14 16 1 0 5 3
row 15 14 13 1 2 13
row 16 40 35 32 30 40

I would like another cell to count so that if
row 14 is =16
row 15 is =13
row16 is = 40

It would calculate then only show total (using example would equal 5)

Thanks

Lise
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 747
Default Count using multiple scenarios

for row 14
=COUNTIF(A14:E14,"=16")

for row 15
=COUNTIF(A15:E15,"=13")

for row 16
=COUNTIF(A16:E16,"=40")



On Jan 19, 10:52*am, Lise wrote:
Hi

I have three rows that have totals across 5 cells example say

Total using cells c14:G14
Roster using c15:g15
Forecast using c16:g16

and if the totals were
* * * * * * * *C * *D * E * * F * G
row 14 * 16 * *1 * *0 * *5 * *3
row 15 * 14 *13 * *1 * *2 * 13
row 16 * 40 *35 * 32 *30 * 40

I would like another cell to count so that if
row 14 is =16
row 15 is =13
row16 is = 40

It would calculate then only show total (using example would equal 5)

Thanks

Lise


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 102
Default Count using multiple scenarios

Thanks Muddan - I did that but added * as follows as I want one cell to count
three scenarios but its not counting them??

=COUNTIF(C14:I14,"=16")*COUNTIF(C13:I15,"=13")*C OUNTIF(C16:I16,"=40")
--
Thanks

Lise


"muddan madhu" wrote:

for row 14
=COUNTIF(A14:E14,"=16")

for row 15
=COUNTIF(A15:E15,"=13")

for row 16
=COUNTIF(A16:E16,"=40")



On Jan 19, 10:52 am, Lise wrote:
Hi

I have three rows that have totals across 5 cells example say

Total using cells c14:G14
Roster using c15:g15
Forecast using c16:g16

and if the totals were
C D E F G
row 14 16 1 0 5 3
row 15 14 13 1 2 13
row 16 40 35 32 30 40

I would like another cell to count so that if
row 14 is =16
row 15 is =13
row16 is = 40

It would calculate then only show total (using example would equal 5)

Thanks

Lise



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 747
Default Count using multiple scenarios

adding multiplication symbol u wont get the result.

In any of the condition gives the result as zero then whole thing will
be termed as zero.

Add '+' symbol instead of '*'.
=COUNTIF(C14:I14,"=16")+COUNTIF(C15:I15,"=13")+C OUNTIF
(C16:I16,"=40")


On Jan 20, 2:37*am, Lise wrote:
Thanks Muddan - I did that but added * as follows as I want one cell to count
three scenarios but its not counting them??

=COUNTIF(C14:I14,"=16")*COUNTIF(C13:I15,"=13")*C OUNTIF(C16:I16,"=40")
--
Thanks

Lise

"muddan madhu" wrote:
for row 14
=COUNTIF(A14:E14,"=16")


for row 15
=COUNTIF(A15:E15,"=13")


for row 16
=COUNTIF(A16:E16,"=40")


On Jan 19, 10:52 am, Lise wrote:
Hi


I have three rows that have totals across 5 cells example say


Total using cells c14:G14
Roster using c15:g15
Forecast using c16:g16


and if the totals were
* * * * * * * *C * *D * E * * F * G
row 14 * 16 * *1 * *0 * *5 * *3
row 15 * 14 *13 * *1 * *2 * 13
row 16 * 40 *35 * 32 *30 * 40


I would like another cell to count so that if
row 14 is =16
row 15 is =13
row16 is = 40


It would calculate then only show total (using example would equal 5)


Thanks


Lise


  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 102
Default Count using multiple scenarios

Excellent - thanks Muddan
--
Kind Regards

Lise


"muddan madhu" wrote:

adding multiplication symbol u wont get the result.

In any of the condition gives the result as zero then whole thing will
be termed as zero.

Add '+' symbol instead of '*'.
=COUNTIF(C14:I14,"=16")+COUNTIF(C15:I15,"=13")+C OUNTIF
(C16:I16,"=40")


On Jan 20, 2:37 am, Lise wrote:
Thanks Muddan - I did that but added * as follows as I want one cell to count
three scenarios but its not counting them??

=COUNTIF(C14:I14,"=16")*COUNTIF(C13:I15,"=13")*C OUNTIF(C16:I16,"=40")
--
Thanks

Lise

"muddan madhu" wrote:
for row 14
=COUNTIF(A14:E14,"=16")


for row 15
=COUNTIF(A15:E15,"=13")


for row 16
=COUNTIF(A16:E16,"=40")


On Jan 19, 10:52 am, Lise wrote:
Hi


I have three rows that have totals across 5 cells example say


Total using cells c14:G14
Roster using c15:g15
Forecast using c16:g16


and if the totals were
C D E F G
row 14 16 1 0 5 3
row 15 14 13 1 2 13
row 16 40 35 32 30 40


I would like another cell to count so that if
row 14 is =16
row 15 is =13
row16 is = 40


It would calculate then only show total (using example would equal 5)


Thanks


Lise



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
calculating multiple scenarios CMD Excel Discussion (Misc queries) 1 February 5th 08 11:51 AM
IF statement - multiple scenarios Laz Excel Worksheet Functions 4 October 11th 07 04:45 AM
IF statement with multiple scenarios. AMS Excel Discussion (Misc queries) 3 May 21st 07 09:47 PM
How to do if/then formula with multiple scenarios. JudyK Excel Discussion (Misc queries) 1 October 16th 06 05:39 PM
Return multiple scenarios Casey D Excel Worksheet Functions 3 March 7th 06 09:45 PM


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