#1   Report Post  
Brad
 
Posts: n/a
Default Sumproduct help

I have a spreadsheet that I am updating everyday with hours based on a job by
job basis and I would like summarize this into a spreadsheet for total
hours/day by installer. Here's how my detailed sheet looks. (Name of Sheet
is 'July')

Column A contains date
Column G contains Installer name
Column I contains hours

In my summary Sheet (name of sheet is 'Payroll Sumarry') I have the Date in
Column A and each installer name across the top in Row 1 so for example cell
C1 contains the name of installer I want to add. How do I do this?

I tried using the following formula =SUMPRODUCT(--(July!A:A='Payroll
Summary'!A2),--(July!G:G=C1),July!I:I) But all I get back is #NUM! error.
  #2   Report Post  
Tom Ogilvy
 
Posts: n/a
Default

Might be easier to build a pivottable to get this layout.

--
Regards,
Tom Ogilvy

"Brad" wrote in message
...
I have a spreadsheet that I am updating everyday with hours based on a job

by
job basis and I would like summarize this into a spreadsheet for total
hours/day by installer. Here's how my detailed sheet looks. (Name of

Sheet
is 'July')

Column A contains date
Column G contains Installer name
Column I contains hours

In my summary Sheet (name of sheet is 'Payroll Sumarry') I have the Date

in
Column A and each installer name across the top in Row 1 so for example

cell
C1 contains the name of installer I want to add. How do I do this?

I tried using the following formula =SUMPRODUCT(--(July!A:A='Payroll
Summary'!A2),--(July!G:G=C1),July!I:I) But all I get back is #NUM! error.



  #3   Report Post  
Bernie Deitrick
 
Posts: n/a
Default

Brad,

Use a pivot table.

HTH,
Bernie
MS Excel MVP


"Brad" wrote in message
...
I have a spreadsheet that I am updating everyday with hours based on a job by
job basis and I would like summarize this into a spreadsheet for total
hours/day by installer. Here's how my detailed sheet looks. (Name of Sheet
is 'July')

Column A contains date
Column G contains Installer name
Column I contains hours

In my summary Sheet (name of sheet is 'Payroll Sumarry') I have the Date in
Column A and each installer name across the top in Row 1 so for example cell
C1 contains the name of installer I want to add. How do I do this?

I tried using the following formula =SUMPRODUCT(--(July!A:A='Payroll
Summary'!A2),--(July!G:G=C1),July!I:I) But all I get back is #NUM! error.



  #4   Report Post  
Brad
 
Posts: n/a
Default

do pivot tables update automatically?

"Tom Ogilvy" wrote:

Might be easier to build a pivottable to get this layout.

--
Regards,
Tom Ogilvy

"Brad" wrote in message
...
I have a spreadsheet that I am updating everyday with hours based on a job

by
job basis and I would like summarize this into a spreadsheet for total
hours/day by installer. Here's how my detailed sheet looks. (Name of

Sheet
is 'July')

Column A contains date
Column G contains Installer name
Column I contains hours

In my summary Sheet (name of sheet is 'Payroll Sumarry') I have the Date

in
Column A and each installer name across the top in Row 1 so for example

cell
C1 contains the name of installer I want to add. How do I do this?

I tried using the following formula =SUMPRODUCT(--(July!A:A='Payroll
Summary'!A2),--(July!G:G=C1),July!I:I) But all I get back is #NUM! error.




  #5   Report Post  
Tom Ogilvy
 
Posts: n/a
Default

Not like a formula, but you just hit refresh data under the data menu. If
the extent of your data will change, then you can use a dynamic named range
as the source for the table.

--
Regards,
Tom Ogilvy

"Brad" wrote in message
...
do pivot tables update automatically?

"Tom Ogilvy" wrote:

Might be easier to build a pivottable to get this layout.

--
Regards,
Tom Ogilvy

"Brad" wrote in message
...
I have a spreadsheet that I am updating everyday with hours based on a

job
by
job basis and I would like summarize this into a spreadsheet for total
hours/day by installer. Here's how my detailed sheet looks. (Name of

Sheet
is 'July')

Column A contains date
Column G contains Installer name
Column I contains hours

In my summary Sheet (name of sheet is 'Payroll Sumarry') I have the

Date
in
Column A and each installer name across the top in Row 1 so for

example
cell
C1 contains the name of installer I want to add. How do I do this?

I tried using the following formula =SUMPRODUCT(--(July!A:A='Payroll
Summary'!A2),--(July!G:G=C1),July!I:I) But all I get back is #NUM!

error.







  #6   Report Post  
Brad
 
Posts: n/a
Default

I would prefer to have something that would update daily on it's own if
possible.

"Tom Ogilvy" wrote:

Not like a formula, but you just hit refresh data under the data menu. If
the extent of your data will change, then you can use a dynamic named range
as the source for the table.

--
Regards,
Tom Ogilvy

"Brad" wrote in message
...
do pivot tables update automatically?

"Tom Ogilvy" wrote:

Might be easier to build a pivottable to get this layout.

--
Regards,
Tom Ogilvy

"Brad" wrote in message
...
I have a spreadsheet that I am updating everyday with hours based on a

job
by
job basis and I would like summarize this into a spreadsheet for total
hours/day by installer. Here's how my detailed sheet looks. (Name of
Sheet
is 'July')

Column A contains date
Column G contains Installer name
Column I contains hours

In my summary Sheet (name of sheet is 'Payroll Sumarry') I have the

Date
in
Column A and each installer name across the top in Row 1 so for

example
cell
C1 contains the name of installer I want to add. How do I do this?

I tried using the following formula =SUMPRODUCT(--(July!A:A='Payroll
Summary'!A2),--(July!G:G=C1),July!I:I) But all I get back is #NUM!

error.






  #7   Report Post  
Harlan Grove
 
Posts: n/a
Default

Brad wrote...
....
I tried using the following formula =SUMPRODUCT(--(July!A:A='Payroll
Summary'!A2),--(July!G:G=C1),July!I:I) But all I get back is #NUM! error.


The problem is that SUMPRODUCT doesn't support entire-column ranges.
You can use ranges or arrays with 65,535 rows, but not ones with 65,536
rows. On the assumption you'd be using a real database if you had to
keep track of +60K records like this, I'll assume you could get by with
rows 1 through 65535. Change your formula to

=SUMPRODUCT(--(July!$A$1:$A$65535=$A2),--(July!$G$1:$G$65535=C$1),
July!$I$1:$I$65535)

  #8   Report Post  
Brad
 
Posts: n/a
Default

that seem to be working. Thanks

"Harlan Grove" wrote:

Brad wrote...
....
I tried using the following formula =SUMPRODUCT(--(July!A:A='Payroll
Summary'!A2),--(July!G:G=C1),July!I:I) But all I get back is #NUM! error.


The problem is that SUMPRODUCT doesn't support entire-column ranges.
You can use ranges or arrays with 65,535 rows, but not ones with 65,536
rows. On the assumption you'd be using a real database if you had to
keep track of +60K records like this, I'll assume you could get by with
rows 1 through 65535. Change your formula to

=SUMPRODUCT(--(July!$A$1:$A$65535=$A2),--(July!$G$1:$G$65535=C$1),
July!$I$1:$I$65535)


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 Peter B Excel Worksheet Functions 1 March 7th 05 01:59 PM
sumproduct causing memory errors? dave Excel Worksheet Functions 1 March 3rd 05 09:31 AM
Can I reference =, <, or > sign in SUMPRODUCT BobT Excel Discussion (Misc queries) 7 February 16th 05 01:58 PM
Sumproduct function not working Scott Summerlin Excel Worksheet Functions 12 December 4th 04 05:15 AM
adding two sumproduct formulas together ski2004_2005 Excel Worksheet Functions 1 November 12th 04 09:08 PM


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