Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 108
Default SUMPRODUCT works on first cell only...

While this formula works on another sheet, it doesn't work on this sheet.
Actually it works only on first cell. I have tried copy paste special
formula, I also tried drag the formula down, but nothing seem to work. I have
checked the data format for each column, I even used 'substitute with char
160, but nothing will work. Here's my formula:

SUMPRODUCT(--(Data!$A$2:$A$12000=Report!$C$1)*(Data!$B$2:$B$120 00=Report!$A10)*(Data!$C$2:$C$12000=Report!$B10)*( Data!$E$2:$E$12000=Report!$C$2)*(Data!$F$2:$F$1200 0))

'Report' is where my formula is, and 'Data' sheet where's my data resides.

Any help is greatly appreciated.

Oz

Thanks.
--
when u change the way u look @ things, the things u look at change.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
lk lk is offline
external usenet poster
 
Posts: 39
Default SUMPRODUCT works on first cell only...

Check your absolute/relative reference, they are not consistent. Also, if
you put the "--" in front of each test (so all but the last one), I think the
formula works better.

"sahafi" wrote:

While this formula works on another sheet, it doesn't work on this sheet.
Actually it works only on first cell. I have tried copy paste special
formula, I also tried drag the formula down, but nothing seem to work. I have
checked the data format for each column, I even used 'substitute with char
160, but nothing will work. Here's my formula:

SUMPRODUCT(--(Data!$A$2:$A$12000=Report!$C$1)*(Data!$B$2:$B$120 00=Report!$A10)*(Data!$C$2:$C$12000=Report!$B10)*( Data!$E$2:$E$12000=Report!$C$2)*(Data!$F$2:$F$1200 0))

'Report' is where my formula is, and 'Data' sheet where's my data resides.

Any help is greatly appreciated.

Oz

Thanks.
--
when u change the way u look @ things, the things u look at change.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 341
Default SUMPRODUCT works on first cell only...

Does this do what you want?

=SUMPRODUCT(--(Data!$A$2:$A$12000=Report!$C$1)*(Data!$B$2:$B$120 00=Report!$A$10)*(Data!$C$2:$C$12000=Report!$B$10) *(Data!$E$2:$E$12000=Report!$C$2)*(Data!$F$2:$F$12 000))

check it carefully and you will see it is not the same as yours.
I have added two strategic $s.
(Report!$A$10, Report!$B$10)

--
Allllen


"sahafi" wrote:

While this formula works on another sheet, it doesn't work on this sheet.
Actually it works only on first cell. I have tried copy paste special
formula, I also tried drag the formula down, but nothing seem to work. I have
checked the data format for each column, I even used 'substitute with char
160, but nothing will work. Here's my formula:

SUMPRODUCT(--(Data!$A$2:$A$12000=Report!$C$1)*(Data!$B$2:$B$120 00=Report!$A10)*(Data!$C$2:$C$12000=Report!$B10)*( Data!$E$2:$E$12000=Report!$C$2)*(Data!$F$2:$F$1200 0))

'Report' is where my formula is, and 'Data' sheet where's my data resides.

Any help is greatly appreciated.

Oz

Thanks.
--
when u change the way u look @ things, the things u look at change.

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 108
Default SUMPRODUCT works on first cell only...

Thank you both. Actually (Report!$A10, Report!$B10) is how I wanted it to be.
Those are the only two variable criteria (A10, A11, A12, etc). I got it to
work simply by typing over the data on the report sheet again. Because when I
changed the data format for those columns to match the imported data (Data
sheet), the new format will not take effect (don't know why) untill I retype
the data again. Once I have done that, my original formula worked as is.

Once again thank you.

--
when u change the way u look @ things, the things u look at change.


"Allllen" wrote:

Does this do what you want?

=SUMPRODUCT(--(Data!$A$2:$A$12000=Report!$C$1)*(Data!$B$2:$B$120 00=Report!$A$10)*(Data!$C$2:$C$12000=Report!$B$10) *(Data!$E$2:$E$12000=Report!$C$2)*(Data!$F$2:$F$12 000))

check it carefully and you will see it is not the same as yours.
I have added two strategic $s.
(Report!$A$10, Report!$B$10)

--
Allllen


"sahafi" wrote:

While this formula works on another sheet, it doesn't work on this sheet.
Actually it works only on first cell. I have tried copy paste special
formula, I also tried drag the formula down, but nothing seem to work. I have
checked the data format for each column, I even used 'substitute with char
160, but nothing will work. Here's my formula:

SUMPRODUCT(--(Data!$A$2:$A$12000=Report!$C$1)*(Data!$B$2:$B$120 00=Report!$A10)*(Data!$C$2:$C$12000=Report!$B10)*( Data!$E$2:$E$12000=Report!$C$2)*(Data!$F$2:$F$1200 0))

'Report' is where my formula is, and 'Data' sheet where's my data resides.

Any help is greatly appreciated.

Oz

Thanks.
--
when u change the way u look @ things, the things u look at change.

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 issues SteveDB1 Excel Worksheet Functions 25 June 3rd 09 04:58 PM
insert date Larry Excel Worksheet Functions 28 July 15th 06 02:41 AM
Compiling macro based on cell values simonsmith Excel Discussion (Misc queries) 1 May 16th 06 08:31 PM
Urgent date/scheduling calc needed jct Excel Worksheet Functions 3 February 24th 06 01:36 AM
Possible Lookup Table Karen Excel Worksheet Functions 5 June 8th 05 09:43 PM


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