Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
MAB
 
Posts: n/a
Default Counting Formulas -- Re-explained

I put in a question about this yesterday, but I didn't really word it too
well. Someone did offer assistance, but due to my poor explanation, the info
provided didn't work.

I'll try again... :-)

I would like the following:

Column N (N4:N8): This should show individual totals for various PC
location codes found in column F that corresponds with an N/A in the same row
from over in column A. (PC location codes are C, S, H, F, & O -- so all N/A's
for C, all N/A's for S, etc).

Column O (O4:O8): This should show individual totals for various PC location
codes found in column F that are 5000, but <=50000. (PC location codes are
C, S, H, F, & O -- so all instances of 5000, but <=50000 for C, all
instances of 5000, but <=50000 for S, etc).

Column P (P4:P8): This should show individual totals for various PC
location codes found in column F that are 50000. (PC location codes are C,
S, H, F, & O -- so all instances of 50000 for C, all instances of 50000
for S, etc).

Can this be accompplished?

Thank you.

MAB
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Duke Carey
 
Posts: n/a
Default Counting Formulas -- Re-explained

Sounds as though you mean to use "count" instead of "totals" for these, right?

To get the count of PC code C and N/As, use

=SUMPRODUCT(--(A1:A1000="C"),--(F1:F1000)="N/A")

Change the "C" to "S", etc for the other ones.

For the numeric codes, use
=SUMPRODUCT(--(A1:A1000="C"),--(F1:F1000)5000,--(F1:F1000)<=50000)

modify these to meet your other needs




"MAB" wrote:

I put in a question about this yesterday, but I didn't really word it too
well. Someone did offer assistance, but due to my poor explanation, the info
provided didn't work.

I'll try again... :-)

I would like the following:

Column N (N4:N8): This should show individual totals for various PC
location codes found in column F that corresponds with an N/A in the same row
from over in column A. (PC location codes are C, S, H, F, & O -- so all N/A's
for C, all N/A's for S, etc).

Column O (O4:O8): This should show individual totals for various PC location
codes found in column F that are 5000, but <=50000. (PC location codes are
C, S, H, F, & O -- so all instances of 5000, but <=50000 for C, all
instances of 5000, but <=50000 for S, etc).

Column P (P4:P8): This should show individual totals for various PC
location codes found in column F that are 50000. (PC location codes are C,
S, H, F, & O -- so all instances of 50000 for C, all instances of 50000
for S, etc).

Can this be accompplished?

Thank you.

MAB

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
MAB
 
Posts: n/a
Default Counting Formulas -- Re-explained

:-(

I tried it and it didn't work (I took out the --). I shouldn't say they
dind't work, but the results all come back as "0" and I know none of the
results should equal zero.

To confirm, I want to compare the codes in column F against data in colum A,
and count each N/A encountered, for each separate code. Is the code you
provided doing that?

Thanks again.

MAB

"Duke Carey" wrote:

Sounds as though you mean to use "count" instead of "totals" for these, right?

To get the count of PC code C and N/As, use

=SUMPRODUCT(--(A1:A1000="C"),--(F1:F1000)="N/A")

Change the "C" to "S", etc for the other ones.

For the numeric codes, use
=SUMPRODUCT(--(A1:A1000="C"),--(F1:F1000)5000,--(F1:F1000)<=50000)

modify these to meet your other needs




"MAB" wrote:

I put in a question about this yesterday, but I didn't really word it too
well. Someone did offer assistance, but due to my poor explanation, the info
provided didn't work.

I'll try again... :-)

I would like the following:

Column N (N4:N8): This should show individual totals for various PC
location codes found in column F that corresponds with an N/A in the same row
from over in column A. (PC location codes are C, S, H, F, & O -- so all N/A's
for C, all N/A's for S, etc).

Column O (O4:O8): This should show individual totals for various PC location
codes found in column F that are 5000, but <=50000. (PC location codes are
C, S, H, F, & O -- so all instances of 5000, but <=50000 for C, all
instances of 5000, but <=50000 for S, etc).

Column P (P4:P8): This should show individual totals for various PC
location codes found in column F that are 50000. (PC location codes are C,
S, H, F, & O -- so all instances of 50000 for C, all instances of 50000
for S, etc).

Can this be accompplished?

Thank you.

MAB

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
Countif formulas change after doing a sort Bob Smith Excel Worksheet Functions 3 January 3rd 06 11:17 PM
Counting the number of formulas on a sheet Werner Rohrmoser Excel Worksheet Functions 1 October 12th 05 10:56 AM
Need Formulas for counting multiple conditions OrdOff Excel Worksheet Functions 4 July 3rd 05 06:12 PM
Counting Rows/Columns for Copying Formulas SamDev Excel Discussion (Misc queries) 0 June 24th 05 04:13 AM
Pivot table, how do you exclude counting cells with formulas as a Greg Bobak Excel Worksheet Functions 4 November 4th 04 12:05 AM


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