Help with formula to check changes between numbers

johnwright

New Member
Joined
Dec 14, 2022
Messages
1
Hi, hope you all are doing well. I need help building a formula, if someone can be so kind to help me I would be very grateful.

Per the image, I have a data series on column "A", on column "B" I need a formula that checks how many "x" it takes, until there is a inverse 2x change of "x".


So, for example, if "x" = 0,10 ; 2x = 0,20 ;

From our inputs, the lowest number is "1" (A1) and the highest is "2" (A7) , on cell (A10) we have a 2x change of "x" (2-0,20 = 1,80) ; So it took 10x to reach there. (2-1 = 1) / 0,10 = 10

So "10" should be displayed on (B10), until there is a new 2x change of "x" again. Example two: (2,5-1,8 = 0.7) / 0,10 = 7 on cell (B14)

Thank you for the help and time
 

Attachments

  • excel.PNG
    excel.PNG
    13.1 KB · Views: 20

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.

Forum statistics

Threads
1,214,925
Messages
6,122,303
Members
449,078
Latest member
nonnakkong

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