Add range reference to existing formula

nostradamus

Board Regular
Joined
Aug 9, 2010
Messages
143
Office Version
  1. 365
Platform
  1. Windows
Hello all,
I need help adding a range reference based on date and number of days preceding the selected date to an already developed formula
  1. Formulas are developed in cells I2 and I3
  2. Please develop formula for cell I4 with similar range reference as above (count the number of consecutive flow switches in col.C [positive to negative or negative to positive] with value greater than 4)

Below is a snippet of my data
Really appreciate any suggestions.

Sheet1.xlsx
ABCDEFGHIJKLMNOPQ
1DateFlowDeltaFlowLog10 FlowLog10 DeltaFlowdaysSelected DatesResults
210/30/2015379004.578643011/3/20151
310/31/201561600237004.789580.210943011/3/20152370000
411/1/201557700-39004.76118-0.028403011/3/20151=count number of sign ("+", "-") differences between the preceeding day in col.C
511/2/201510700-470004.02938-0.73179
611/3/20154070-66303.60959-0.41979
711/4/2015600019303.778150.16856
811/5/201565005003.812910.03476
Sheet1
Cell Formulas
RangeFormula
D2:D8D2=LOG10(B2)
C3:C8,E3:E8C3=B3-B2
I2I2=MAX(FREQUENCY(IF(C3:C6>-0.99,ROW(C3:C6)),IF(C3:C6<=-0.99,ROW(C3:C6))))
I3I3=AVERAGE(IF(C3:C6>0,C3:C6,""))*100
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,021
Latest member
Justyna P

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