Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 27
Default Using SUMPRODUCT, 3 variables, 2 types of data in 1 column

I'm having trouble using SUMPRODUCT in the following situation:

Col A Col B Col C Col D Col E
Name Ranges for Columns with Data to consider:
EmpExp ExpType ExpOwner Rate 1stQtr

Data:
Personnel O WB $500,000
(formatted in 000's)
Associated FTE $100 A formula
calcs 1.2
Personnel O WF $500,000
(formatted in 000's)
Associated FTE $100 A formula
calcs 1.2


My formulas is =SUMPRODUCT(--(EmpExp="Associated
FTE"),--(ExpType="O"),--(ExpOwner="WB"),1stQtr)

I want to get 1.2. I want the formula to add only number of Associated FTE,
not Employment Expense dollars. However, I'm getting 0. The data alternates
rows like this all down the column - first dollars, then Associated FTE.
Associated FTE is a calculated number. Employment Expense is entered. The
number formats are different - Employment Expense is in 000's - $500,000
shows as $500. FTE is formated with one digit, so shows 1.2. Hope someone
out there can help - I'm stumped. Thanks!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Using SUMPRODUCT, 3 variables, 2 types of data in 1 column

It looks like your column B and column C entries are only alternately
present, so that on the row where you have Associated FTE they are
both empty and you would need to refer to the previous row.

One quick way of filling them with the data above is to highlight
columns B and C, then press F5 (GoTo), click on Special, then select
Blanks, and only the blank cells in those columns will then be
highlighted. Then begin to enter a formula by typing =, press the up-
arrow key once, and then do CTRL-Enter - this will fill the
highlighted cells with the value from the row above.

Then see if your formula works.

Hope this helps.

Pete

On Feb 6, 10:25*pm, Dana M wrote:
*I'm having trouble using SUMPRODUCT in the following situation:

Col A * * * * * * * * Col B * * * * *Col C * * * * *Col D * * * Col E
Name Ranges for Columns with Data to consider:
EmpExp * * * * * * ExpType * * ExpOwner * Rate * * * *1stQtr

Data:
Personnel * * * * * * O * * * * * * WB * * * * * * * * * * * * * $500,000
(formatted in 000's)
Associated FTE * * * * * * * * * * * * * * * * * * * $100 * * * A formula
calcs 1.2
Personnel * * * * * * O * * * * * * WF * * * * * * * * * * * * * $500,000
(formatted in 000's)
Associated FTE * * * * * * * * * * * * * * * * * * * $100 * * * A formula
calcs 1.2

My formulas is =SUMPRODUCT(--(EmpExp="Associated
FTE"),--(ExpType="O"),--(ExpOwner="WB"),1stQtr)

I want to get 1.2. *I want the formula to add only number of Associated FTE,
not Employment Expense dollars. *However, I'm getting 0. *The data alternates
rows like this all down the column - first dollars, then Associated FTE. *
Associated FTE is a calculated number. *Employment Expense is entered. *The
number formats are different - Employment Expense is in 000's - $500,000
shows as $500. *FTE is formated with one digit, so shows 1.2. *Hope someone
out there can help - I'm stumped. *Thanks!


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 27
Default Using SUMPRODUCT, 3 variables, 2 types of data in 1 column

Thanks, Pete! 100% helpful!

"Pete_UK" wrote:

It looks like your column B and column C entries are only alternately
present, so that on the row where you have Associated FTE they are
both empty and you would need to refer to the previous row.

One quick way of filling them with the data above is to highlight
columns B and C, then press F5 (GoTo), click on Special, then select
Blanks, and only the blank cells in those columns will then be
highlighted. Then begin to enter a formula by typing =, press the up-
arrow key once, and then do CTRL-Enter - this will fill the
highlighted cells with the value from the row above.

Then see if your formula works.

Hope this helps.

Pete

On Feb 6, 10:25 pm, Dana M wrote:
I'm having trouble using SUMPRODUCT in the following situation:

Col A Col B Col C Col D Col E
Name Ranges for Columns with Data to consider:
EmpExp ExpType ExpOwner Rate 1stQtr

Data:
Personnel O WB $500,000
(formatted in 000's)
Associated FTE $100 A formula
calcs 1.2
Personnel O WF $500,000
(formatted in 000's)
Associated FTE $100 A formula
calcs 1.2

My formulas is =SUMPRODUCT(--(EmpExp="Associated
FTE"),--(ExpType="O"),--(ExpOwner="WB"),1stQtr)

I want to get 1.2. I want the formula to add only number of Associated FTE,
not Employment Expense dollars. However, I'm getting 0. The data alternates
rows like this all down the column - first dollars, then Associated FTE.
Associated FTE is a calculated number. Employment Expense is entered. The
number formats are different - Employment Expense is in 000's - $500,000
shows as $500. FTE is formated with one digit, so shows 1.2. Hope someone
out there can help - I'm stumped. Thanks!



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Using SUMPRODUCT, 3 variables, 2 types of data in 1 column

You're welcome, Dana - thanks for feeding back.

Pete

On Feb 7, 4:38*am, Dana M wrote:
Thanks, Pete! *100% helpful!


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
sumproduct with 3 variables Laury Excel Discussion (Misc queries) 3 October 4th 07 09:16 PM
Charts - Custom Types - Line Column - Data Series Spyder Excel Discussion (Misc queries) 7 May 30th 07 02:56 PM
Needed: Chart that combines clustered column and stacked column types Gerry Charts and Charting in Excel 3 February 14th 07 02:53 AM
Sun IF two data types are the same in a single column David_Williams_PG () Excel Discussion (Misc queries) 4 September 8th 06 06:24 PM
Sort column containing different data types pavlosbat Excel Discussion (Misc queries) 1 November 24th 05 08:40 PM


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