Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 62
Default Adding values within multiply columns

I have a spreadsheet with 26 columns. In one columns A I have cost center
information. In Column B I have a A or L indicator. I want to add how many
times a certain groupings of cost centers appear with "A". It could be
anywhere from 1 to 7 cost centers per group. I have been using Sumproduct,
but it does not work in this case for me.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,696
Default Adding values within multiply columns

Maybe a pivot table
cost center as rows
column b as columns
anything that shows in all rows as your data
right-click in the data section and field settings are count.

"Scott@CW" wrote:

I have a spreadsheet with 26 columns. In one columns A I have cost center
information. In Column B I have a A or L indicator. I want to add how many
times a certain groupings of cost centers appear with "A". It could be
anywhere from 1 to 7 cost centers per group. I have been using Sumproduct,
but it does not work in this case for me.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,345
Default Adding values within multiply columns

Scott.

What do you mean by

I have a spreadsheet with 26 columns. In one columns A I have cost center
information.


What information?

and how are the cost centre grouped? By names? concatenated? by numbers?
--
Regards,

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings


with @tiscali.co.uk


"Scott@CW" wrote in message
...
I have a spreadsheet with 26 columns. In one columns A I have cost center
information. In Column B I have a A or L indicator. I want to add how many
times a certain groupings of cost centers appear with "A". It could be
anywhere from 1 to 7 cost centers per group. I have been using Sumproduct,
but it does not work in this case for me.



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 62
Default Adding values within multiply columns

Sorry about that here is a breakdown.Lets say column N has one of three
options (A, T, or LOA), then the column that has cost centers in it is just a
9 to 11 digit number. The groups are set on another workshhet that I need
filled out. I can use Countif with AND to get a total of teh cost centers but
it is when I add the condition of "A" in column N that everything gets
messed up.

"Sandy Mann" wrote:

Scott.

What do you mean by

I have a spreadsheet with 26 columns. In one columns A I have cost center
information.


What information?

and how are the cost centre grouped? By names? concatenated? by numbers?
--
Regards,

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings


with @tiscali.co.uk


"Scott@CW" wrote in message
...
I have a spreadsheet with 26 columns. In one columns A I have cost center
information. In Column B I have a A or L indicator. I want to add how many
times a certain groupings of cost centers appear with "A". It could be
anywhere from 1 to 7 cost centers per group. I have been using Sumproduct,
but it does not work in this case for me.




  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,345
Default Adding values within multiply columns

Hi Scott,

You still do not say how the Cost Centres are grouped and you also say the
you ave tried SUMPRODUCT () but that it did not work.

If a cost centre is 123456789 what do you get when you try:

=SUMPRODUCT((A1:A100=123456789)*(N1:N100="A"))

or something similar
--
HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings


with @tiscali.co.uk


"Scott@CW" wrote in message
...
Sorry about that here is a breakdown.Lets say column N has one of three
options (A, T, or LOA), then the column that has cost centers in it is
just a
9 to 11 digit number. The groups are set on another workshhet that I need
filled out. I can use Countif with AND to get a total of teh cost centers
but
it is when I add the condition of "A" in column N that everything gets
messed up.

"Sandy Mann" wrote:

Scott.

What do you mean by

I have a spreadsheet with 26 columns. In one columns A I have cost
center
information.


What information?

and how are the cost centre grouped? By names? concatenated? by numbers?
--
Regards,

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings


with @tiscali.co.uk


"Scott@CW" wrote in message
...
I have a spreadsheet with 26 columns. In one columns A I have cost
center
information. In Column B I have a A or L indicator. I want to add how
many
times a certain groupings of cost centers appear with "A". It could be
anywhere from 1 to 7 cost centers per group. I have been using
Sumproduct,
but it does not work in this case for me.






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
Formula to count values in two columns JBurlage Excel Discussion (Misc queries) 6 August 31st 06 12:59 PM
Comparing values between columns only when there are values in bot Mark K Excel Worksheet Functions 1 February 19th 06 06:47 PM
Conditional Formulae with non-numeric values across two columns kbear Excel Discussion (Misc queries) 2 January 29th 06 08:40 PM
Finding Min Cell values excluding zero in alternate columns bpeltzer Excel Worksheet Functions 0 November 5th 05 01:41 AM
Multipying columns that contail null values ChuckW Excel Discussion (Misc queries) 1 September 7th 05 01:13 AM


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