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 Like SUMIFS, but for multiplication???

I want to multiply two cells in a row that meet multiple criteria from other
cells in that same row (like SUMIFS, but for a product). How can this be
done??

ex: A1 is X, A2 is Y, A3 is 3, A4 is 4

Multiply A3*A4 only if A1=X and A2=Y (both criteria met)

Thanks,

Eric
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,231
Default Like SUMIFS, but for multiplication???

EricC wrote...
I want to multiply two cells in a row that meet multiple criteria from other
cells in that same row (like SUMIFS, but for a product). How can this be
done??

ex: A1 is X, A2 is Y, A3 is 3, A4 is 4

Multiply A3*A4 only if A1=X and A2=Y (both criteria met)


You may have overly simplified your example because this could be done
simply as

=IF(AND(A1=X,A2=Y),A3*A4,0)
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10
Default Like SUMIFS, but for multiplication???

I appreciate your response. Thank you!

"Harlan Grove" wrote:

EricC wrote...
I want to multiply two cells in a row that meet multiple criteria from other
cells in that same row (like SUMIFS, but for a product). How can this be
done??

ex: A1 is X, A2 is Y, A3 is 3, A4 is 4

Multiply A3*A4 only if A1=X and A2=Y (both criteria met)


You may have overly simplified your example because this could be done
simply as

=IF(AND(A1=X,A2=Y),A3*A4,0)

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,624
Default Like SUMIFS, but for multiplication???

Your example is confusing, because you talk about cells in a row, but
then list cells in a column.

However, *perhaps* you're looking for something like:

=SUMPRODUCT(--(A1:A100="X"),--(B1:B100="Y"), (C1:C100)*(D1:D100))





In article ,
EricC wrote:

I want to multiply two cells in a row that meet multiple criteria from other
cells in that same row (like SUMIFS, but for a product). How can this be
done??

ex: A1 is X, A2 is Y, A3 is 3, A4 is 4

Multiply A3*A4 only if A1=X and A2=Y (both criteria met)

Thanks,

Eric

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
Like SUMIFS, but for multiplication?? EricC Excel Discussion (Misc queries) 3 January 15th 09 04:44 PM
Multiplication Danny Mac Excel Worksheet Functions 8 December 7th 06 10:28 PM
multiplication fitpeach3 Excel Worksheet Functions 2 September 19th 06 11:07 PM
Number OK in multiplication, NOT in Sum ? Shrikant Excel Discussion (Misc queries) 1 September 1st 05 11:15 AM
Multiplication Table Faehnfare Setting up and Configuration of Excel 2 January 16th 05 05:40 PM


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