Looking for PRODUCTIF() workaround

baseballprof

New Member
Joined
Dec 14, 2012
Messages
10
I am having a hard time coming up with a good workaround for a PRODUCTIF() function. Here's the issue I'm trying to solve.

I have over 1,000 rows of data with dates in Column A and values in Column O. I would like to multiply all of the values in Column O with the same date in Column A, and have this value return in Column P. Visually, it would look like this (ellipses used to space columns properly):

Col-A .. Col-0 .. Col-P
4/1/13 .. 2 ....... 40
4/1/13 .. 4 ....... 40
4/1/13 .. 5 ....... 40
4/2/13 .. 3 ........ 9
4/2/13 .. 3 ........ 9
4/2/13 .. 1 ........ 9

I have attempted to do this using the following array but to no avail, this one for the output in P1: {=PRODUCT(IF(A:A=A1,O:O,1))}

I would be open to a solution using Macros, but I am not very good with Macros (perhaps this is a good time to learn). Really any solution would be very welcome. Thanks in advance!
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
Try something like this.

=PRODUCT(IF($A$1:$A$1000=A2,$O$1:$O$1000))

This is an array formula.
Confirm with Ctrl+Shift+Enter
It references a fixed range instead of the entire column.
 
Upvote 0

Forum statistics

Threads
1,223,264
Messages
6,171,081
Members
452,377
Latest member
bradfordsam

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top