Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 184
Default Sumproduct Offset with an If

Hi everyone. Is there a way to have a sumproduct embedded with an
offset function. Essentially, I will write the formula in Column C.
I need to scan column D, and for ever instance of the word "Sales"
multiply the cell directly to the right in column E by the cell in
column A, BUT 2 rows above! Possible? Thanks!!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,311
Default Sumproduct Offset with an If

You should be able to just offset your range without using the OFFSET
function.
Example:

=SUMPRODUCT(--(D3:D13="Sales"),(C1:C11)*(E3:E13))

HTH,
Paul

--

"Steve" wrote in message
...
Hi everyone. Is there a way to have a sumproduct embedded with an
offset function. Essentially, I will write the formula in Column C.
I need to scan column D, and for ever instance of the word "Sales"
multiply the cell directly to the right in column E by the cell in
column A, BUT 2 rows above! Possible? Thanks!!



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 109
Default Sumproduct Offset with an If

Steve

It seems like you don't really need an offset function, you just need
your arrays in the sumproduct to be offset. A formula like

=SUMPRODUCT(--(D3:D12="sales"),E3:E12,A1:A10)

will check for the word "sales" in column D, and where it finds it, it
will multiply the cell in that row in column E by the value in column
A two rows up. Usually when one sees a formula like that, something
is screwed up. In your case, it may do just what you want.

Good luck.

Ken
Norfolk, Va


On Mar 28, 4:16*pm, Steve wrote:
Hi everyone. *Is there a way to have a sumproduct embedded with an
offset function. *Essentially, I will write the formula in Column C.
I need to scan column D, and for ever instance of the word "Sales"
multiply the cell directly to the right in column E by the cell in
column A, BUT 2 rows above! *Possible? *Thanks!!


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 Indirect Named Dynamic Range using Offset Frank Hayes Excel Worksheet Functions 6 May 6th 07 06:32 AM
OFFSET() not working within a SUMPRODUCT() when refering to a range in a pivot table Conan Kelly Excel Worksheet Functions 6 April 11th 07 12:32 AM
Sumproduct and offset Maarten Excel Worksheet Functions 4 October 28th 05 10:23 AM
Sumproduct with offset? MJ Excel Worksheet Functions 3 March 15th 05 03:34 PM
SUMPRODUCT using offset from ROW if X marks the spot The Shaffer s Excel Worksheet Functions 3 November 2nd 04 06:14 AM


All times are GMT +1. The time now is 06:03 PM.

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"