Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10
Default Need help with SUMPRODUCT

situation...

ColA ColD

Norton AV 78
Norton Suite 12
Norton Spy 34
Norton Anti-Virus 56


Search each row in ColA, if contains "Norton", add value from ColD to
the SUM.


What I have so far, but it is adding ecerything in ColD, even if it
does not contain "Norton"
In this case, A3 is the value "Norton", and US is the sheet name it is
searching.

=SUMPRODUCT(--(IF(ISNUMBER(SEARCH(A3,US!A:A)),US!D:D)))


thx in advance!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 964
Default Need help with SUMPRODUCT

=SUMIF(A:A,"*Norton*",B:B)

--


Regards,


Peo Sjoblom

"Livin" wrote in message
...
situation...

ColA ColD

Norton AV 78
Norton Suite 12
Norton Spy 34
Norton Anti-Virus 56


Search each row in ColA, if contains "Norton", add value from ColD to
the SUM.


What I have so far, but it is adding ecerything in ColD, even if it
does not contain "Norton"
In this case, A3 is the value "Norton", and US is the sheet name it is
searching.

=SUMPRODUCT(--(IF(ISNUMBER(SEARCH(A3,US!A:A)),US!D:D)))


thx in advance!



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10
Default Need help with SUMPRODUCT

COOL!

So I now have...

=SUMIF(US!A:A,"*"&A3&"*",US!D:D)


how do I convert the US into a value from a cell?

this value will change depending on the column and I want to use the
column header for the value.

thanks!


On Aug 18, 2:59*pm, "Peo Sjoblom" wrote:
=SUMIF(A:A,"*Norton*",B:B)

--

Regards,

Peo Sjoblom

"Livin" wrote in message

...



situation...


ColA * * * * * * * * * *ColD


Norton AV * * * * * *78
Norton Suite * * * * 12
Norton Spy * * * * * 34
Norton Anti-Virus * 56


Search each row in ColA, if contains "Norton", add value from ColD to
the SUM.


What I have so far, but it is adding ecerything in ColD, even if it
does not contain "Norton"
In this case, A3 is the value "Norton", and US is the sheet name it is
searching.


=SUMPRODUCT(--(IF(ISNUMBER(SEARCH(A3,US!A:A)),US!D:D)))


thx in advance!- Hide quoted text -


- Show quoted text -


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10
Default Need help with SUMPRODUCT

I also need to make the A:A and D:D static when I copy across cells...
I thought A$:A$ would work?

On Aug 18, 2:59*pm, "Peo Sjoblom" wrote:
=SUMIF(A:A,"*Norton*",B:B)

--

Regards,

Peo Sjoblom

"Livin" wrote in message

...



situation...


ColA * * * * * * * * * *ColD


Norton AV * * * * * *78
Norton Suite * * * * 12
Norton Spy * * * * * 34
Norton Anti-Virus * 56


Search each row in ColA, if contains "Norton", add value from ColD to
the SUM.


What I have so far, but it is adding ecerything in ColD, even if it
does not contain "Norton"
In this case, A3 is the value "Norton", and US is the sheet name it is
searching.


=SUMPRODUCT(--(IF(ISNUMBER(SEARCH(A3,US!A:A)),US!D:D)))


thx in advance!- Hide quoted text -


- Show quoted text -


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 35,218
Default Need help with SUMPRODUCT

Maybe...

=SUMIF(INDIRECT("'"&$X$1&"'!A:A"),"*"&A3&"*",INDIR ECT("'"&$X$1&"'!D:D"))

Change $x$1 to the address that contains the name of the worksheet.


Livin wrote:

COOL!

So I now have...

=SUMIF(US!A:A,"*"&A3&"*",US!D:D)

how do I convert the US into a value from a cell?

this value will change depending on the column and I want to use the
column header for the value.

thanks!

On Aug 18, 2:59 pm, "Peo Sjoblom" wrote:
=SUMIF(A:A,"*Norton*",B:B)

--

Regards,

Peo Sjoblom

"Livin" wrote in message

...



situation...


ColA ColD


Norton AV 78
Norton Suite 12
Norton Spy 34
Norton Anti-Virus 56


Search each row in ColA, if contains "Norton", add value from ColD to
the SUM.


What I have so far, but it is adding ecerything in ColD, even if it
does not contain "Norton"
In this case, A3 is the value "Norton", and US is the sheet name it is
searching.


=SUMPRODUCT(--(IF(ISNUMBER(SEARCH(A3,US!A:A)),US!D:D)))


thx in advance!- Hide quoted text -


- Show quoted text -


--

Dave Peterson


  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 964
Default Need help with SUMPRODUCT

Assume you have the first header in A1


=SUMIF(INDIRECT("'"&A1&"'!A:A"),"*"&A3&"*",US!$D:$ D)

Except for A3 it will not change when copied across

--


Regards,


Peo Sjoblom

"Livin" wrote in message
...
COOL!

So I now have...

=SUMIF(US!A:A,"*"&A3&"*",US!D:D)


how do I convert the US into a value from a cell?

this value will change depending on the column and I want to use the
column header for the value.

thanks!


On Aug 18, 2:59 pm, "Peo Sjoblom" wrote:
=SUMIF(A:A,"*Norton*",B:B)

--

Regards,

Peo Sjoblom

"Livin" wrote in message

...



situation...


ColA ColD


Norton AV 78
Norton Suite 12
Norton Spy 34
Norton Anti-Virus 56


Search each row in ColA, if contains "Norton", add value from ColD to
the SUM.


What I have so far, but it is adding ecerything in ColD, even if it
does not contain "Norton"
In this case, A3 is the value "Norton", and US is the sheet name it is
searching.


=SUMPRODUCT(--(IF(ISNUMBER(SEARCH(A3,US!A:A)),US!D:D)))


thx in advance!- Hide quoted text -


- Show quoted text -



  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 964
Default Need help with SUMPRODUCT

Doh! It would have helped if I replaced the other sheet reference as well

--


Regards,


Peo Sjoblom

"Peo Sjoblom" wrote in message
...
Assume you have the first header in A1


=SUMIF(INDIRECT("'"&A1&"'!A:A"),"*"&A3&"*",US!$D:$ D)

Except for A3 it will not change when copied across

--


Regards,


Peo Sjoblom

"Livin" wrote in message
...
COOL!

So I now have...

=SUMIF(US!A:A,"*"&A3&"*",US!D:D)


how do I convert the US into a value from a cell?

this value will change depending on the column and I want to use the
column header for the value.

thanks!


On Aug 18, 2:59 pm, "Peo Sjoblom" wrote:
=SUMIF(A:A,"*Norton*",B:B)

--

Regards,

Peo Sjoblom

"Livin" wrote in message

...



situation...


ColA ColD


Norton AV 78
Norton Suite 12
Norton Spy 34
Norton Anti-Virus 56


Search each row in ColA, if contains "Norton", add value from ColD to
the SUM.


What I have so far, but it is adding ecerything in ColD, even if it
does not contain "Norton"
In this case, A3 is the value "Norton", and US is the sheet name it is
searching.


=SUMPRODUCT(--(IF(ISNUMBER(SEARCH(A3,US!A:A)),US!D:D)))


thx in advance!- Hide quoted text -


- Show quoted text -





  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 35,218
Default Need help with SUMPRODUCT

Try $a:$a



Livin wrote:

I also need to make the A:A and D:D static when I copy across cells...
I thought A$:A$ would work?

On Aug 18, 2:59 pm, "Peo Sjoblom" wrote:
=SUMIF(A:A,"*Norton*",B:B)

--

Regards,

Peo Sjoblom

"Livin" wrote in message

...



situation...


ColA ColD


Norton AV 78
Norton Suite 12
Norton Spy 34
Norton Anti-Virus 56


Search each row in ColA, if contains "Norton", add value from ColD to
the SUM.


What I have so far, but it is adding ecerything in ColD, even if it
does not contain "Norton"
In this case, A3 is the value "Norton", and US is the sheet name it is
searching.


=SUMPRODUCT(--(IF(ISNUMBER(SEARCH(A3,US!A:A)),US!D:D)))


thx in advance!- Hide quoted text -


- Show quoted text -


--

Dave Peterson
  #9   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10
Default Need help with SUMPRODUCT

I tried

=SUMIF(INDIRECT("'"&A1&"'!$A:$A"),"*"&A3&"*",INDIR ECT("'"&A1&"'!$D:
$D"))

and

=SUMIF(INDIRECT("'"&A1&"'!A:A"),"*"&A3&"*",INDIREC T("'"&A1&"'!D:D"))

throws #REF with each

we are close, thanks for the continuing help!


On Aug 18, 3:45*pm, "Peo Sjoblom" wrote:
Assume you have the first header in A1

=SUMIF(INDIRECT("'"&A1&"'!A:A"),"*"&A3&"*",US!$D:$ D)

Except for A3 it will not change when copied across

--

Regards,

Peo Sjoblom

"Livin" wrote in message

...
COOL!

So I now have...

=SUMIF(US!A:A,"*"&A3&"*",US!D:D)

how do I convert the US into a value from a cell?

this value will change depending on the column and I want to use the
column header for the value.

thanks!

On Aug 18, 2:59 pm, "Peo Sjoblom" wrote:

=SUMIF(A:A,"*Norton*",B:B)


--


Regards,


Peo Sjoblom


"Livin" wrote in message


...


situation...


ColA ColD


Norton AV 78
Norton Suite 12
Norton Spy 34
Norton Anti-Virus 56


Search each row in ColA, if contains "Norton", add value from ColD to
the SUM.


What I have so far, but it is adding ecerything in ColD, even if it
does not contain "Norton"
In this case, A3 is the value "Norton", and US is the sheet name it is
searching.


=SUMPRODUCT(--(IF(ISNUMBER(SEARCH(A3,US!A:A)),US!D:D)))


thx in advance!- Hide quoted text -


- Show quoted text -


  #10   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10
Default Need help with SUMPRODUCT

I solved the formula with your help!

=SUMIF(INDIRECT("'"&B$2&"'!$A:$A"),"*"&$A3&"*",IND IRECT("'"&B$2&"'!$D:
$D"))

thank you!!!


On Aug 18, 3:49*pm, "Peo Sjoblom" wrote:
Doh! It would have helped if I replaced the other sheet reference as well

--

Regards,

Peo Sjoblom

"Peo Sjoblom" wrote in message

...

Assume you have the first header in A1


=SUMIF(INDIRECT("'"&A1&"'!A:A"),"*"&A3&"*",US!$D:$ D)


Except for A3 it will not change when copied across


--


Regards,


Peo Sjoblom


"Livin" wrote in message
....
COOL!


So I now have...


=SUMIF(US!A:A,"*"&A3&"*",US!D:D)


how do I convert the US into a value from a cell?


this value will change depending on the column and I want to use the
column header for the value.


thanks!


On Aug 18, 2:59 pm, "Peo Sjoblom" wrote:
=SUMIF(A:A,"*Norton*",B:B)


--


Regards,


Peo Sjoblom


"Livin" wrote in message


....


situation...


ColA ColD


Norton AV 78
Norton Suite 12
Norton Spy 34
Norton Anti-Virus 56


Search each row in ColA, if contains "Norton", add value from ColD to
the SUM.


What I have so far, but it is adding ecerything in ColD, even if it
does not contain "Norton"
In this case, A3 is the value "Norton", and US is the sheet name it is
searching.


=SUMPRODUCT(--(IF(ISNUMBER(SEARCH(A3,US!A:A)),US!D:D)))


thx in advance!- Hide quoted text -


- Show quoted text -


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
Conditional SUMPRODUCT or SUMPRODUCT with Filters Ted M H Excel Worksheet Functions 4 August 14th 08 07:50 PM
Sumproduct using and, and or Lori Excel Discussion (Misc queries) 2 July 25th 07 05:50 PM
Sumproduct again? Sandy Excel Worksheet Functions 2 July 22nd 07 08:31 AM
SUMPRODUCT except for Sapphyre New Users to Excel 7 July 18th 07 10:00 PM
sumproduct? sumif(sumproduct)? David Excel Worksheet Functions 3 July 13th 07 07:06 PM


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