SUMPRODUCT & OFFSET for % of price drops

loudnoiseman

Board Regular
Joined
Dec 31, 2004
Messages
219
Office Version
  1. 365
Platform
  1. Windows
Hi Everyone,

I'm trying to return the % of times that the prices decrease in a range. I've adapted the formula in D column that does this but I have to make a copy of the range and offset by one. My question is: can't I replace the "B3:B11" with "A3:A11" using the OFFSET feature?

Basically I'm looking for the most efficient way to get this result.

Thanks!

COL-A COL-B COL-C COL-D
10 SUMPRODUCT(--(A3:A11<B3:B11)/ROWS(A3:A11))
9 10
8 9
7 8
6 7
5 6
4 5
3 4
2 3
1 2
0 1
0
 
Last edited:

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
sorry, everything got scrambled

the formula is:

SUMPRODUCT(--(A3:A11<B3:B11)/ROWS(A3:A11))
 
Upvote 0

Forum statistics

Threads
1,224,579
Messages
6,179,656
Members
452,934
Latest member
mm1t1

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