Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
John Watson @ barkoff container
 
Posts: n/a
Default excel charting formulas - sum of 2 columns with differing data

I need help with creating a formula.

i have 2 columns in my data i need to sum in my chart, 1 column is the sales
reps name the other column is staus. when a project i work on becomes an
order i type the word "order" in the status column, but i cant get the 2
columns to add up in my chart.
what im trying to do is every time a given sales reps name appears in one
column and the word "order" appears in the other column in the same row.
i need to have a sum of how many times this appears, this gives me the
amount of orders any one sales rep has generated.

any help would be greatly appreciated, i would be glad to forward my spread
sheet to any one that would like to look it over and help me out.

John Watson
  #2   Report Post  
bj
 
Posts: n/a
Default

try
=sumproduct(--(Sales rep range = "Sales rep"),--(Status range = "Order")
the --) changes the logic true false to a numeric 1 0
the arrays in each section must be the same size, but the shorthand full
column (A:A) won't work.

"John Watson @ barkoff container" wrote:

I need help with creating a formula.

i have 2 columns in my data i need to sum in my chart, 1 column is the sales
reps name the other column is staus. when a project i work on becomes an
order i type the word "order" in the status column, but i cant get the 2
columns to add up in my chart.
what im trying to do is every time a given sales reps name appears in one
column and the word "order" appears in the other column in the same row.
i need to have a sum of how many times this appears, this gives me the
amount of orders any one sales rep has generated.

any help would be greatly appreciated, i would be glad to forward my spread
sheet to any one that would like to look it over and help me out.

John Watson

  #3   Report Post  
Jon Peltier
 
Posts: n/a
Default

Assuming your data looks like this:

Sales Rep Status
Fred Order
Bill Order
Fred No Order
Fred Order
Bill Order
Bill No Order
Fred No Order
Bill Order

Select the data and make a Pivot Table (Data menu Pivot Table Report).
Drag teh Sales Rep field to the Row area and the Status field to the
Column area (or switch the two to transpose the table). Now drag the
Status field (another copy of it) to the Data area. You should get a
pivot table like this:

Count of Status Status
Sales Rep Order No Order Grand Total
Bill 3 1 4
Fred 2 2 4
Grand Total 5 3 8

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services
Tutorials and Custom Solutions
http://PeltierTech.com/
_______


John Watson @ barkoff container wrote:

I need help with creating a formula.

i have 2 columns in my data i need to sum in my chart, 1 column is the sales
reps name the other column is staus. when a project i work on becomes an
order i type the word "order" in the status column, but i cant get the 2
columns to add up in my chart.
what im trying to do is every time a given sales reps name appears in one
column and the word "order" appears in the other column in the same row.
i need to have a sum of how many times this appears, this gives me the
amount of orders any one sales rep has generated.

any help would be greatly appreciated, i would be glad to forward my spread
sheet to any one that would like to look it over and help me out.

John Watson

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
Excel formulas and recalculation Peter Excel Discussion (Misc queries) 3 June 8th 05 10:17 PM
Excel should let me use formulas that refer to other cells w/ form Chenopod Excel Worksheet Functions 7 May 31st 05 04:21 PM
Help, Urgent Excel Formulas are not calculating maashoff Excel Discussion (Misc queries) 1 May 3rd 05 12:25 AM
sort column data with hidden columns - excel 2003 nanimadrina Excel Discussion (Misc queries) 2 April 26th 05 08:27 PM
I have Excel columns with different statements (yes, no; numbers). David Verlander Excel Worksheet Functions 2 November 26th 04 10:27 PM


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