Help with progression cells

Davebro

Board Regular
Joined
Feb 22, 2018
Messages
140
Office Version
  1. 365
  2. 2021
  3. 2016
Platform
  1. Windows
I am trying to create the Stake in column A
If column C shows L then keep stake the same
If column W increase the stake by 5
If W and highest amount so far in Column B then decrease stake to 5.
I have been using ifs and max but can't seem to get it quite right.

StakeTotalPosition(Comment)
5.5.00LLoss unchanged stake
53.64WWin so increase stake
10-6.36LLoss - unchanged stake
10-16.36LLoss. unchanged stake
10-1.54WWin so increase stake
1522.47WHighest Amount so far
528.27WDecrease stake
1018.27LLoss- unchanged stake
1042.02WHighest Amount so far
537.02LDecrease stake
532.02LLoss - unchaneed stake
538.38WWin so increase stake
1028.38LLoss. unchanged stake
1018.38LLoss - unchanged stake
108.38LLoss - unchanged stake
10.1.62LLoss- unchanged stake
10-11.62LLoss- unchanged stake
10-21.62LLoss- unchanged stake
109.73WWin so increase stake
15-5.27LLoss - unchanged stake
15-20.27LLoss - unchanged stake
15-35.27LLoss - unchanged stake
15-18.74WWin so increase stake
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
How about:

Libro1
ABCDE
1StakeTotalPosition(Comment)Resutl
255.00LLoss unchanged stake5
353.64WWin so increase stake10
410-6.36LLoss - unchanged stake10
510-16.36LLoss. unchanged stake10
610-1.54WWin so increase stake15
71522.47WHighest Amount so far10
8528.27WDecrease stake0
91018.27LLoss- unchanged stake10
101042.02WHighest Amount so far5
11537.02LDecrease stake5
12532.02LLoss - unchaneed stake5
13538.38WWin so increase stake10
141028.38LLoss. unchanged stake10
151018.38LLoss - unchanged stake10
16108.38LLoss - unchanged stake10
17101.62LLoss- unchanged stake10
1810-11.62LLoss- unchanged stake10
1910-21.62LLoss- unchanged stake10
20109.73WWin so increase stake15
2115-5.27LLoss - unchanged stake15
2215-20.27LLoss - unchanged stake15
2315-35.27LLoss - unchanged stake15
2415-18.74WWin so increase stake20
Hoja3
Cell Formulas
RangeFormula
E2:E24E2=IF(C2="L",A2,IF(MAX(B$2:B2)=B2,A2-5,A2+5))


Or this:
Excel Formula:
=A2+IF(C2="L",0,IF(MAX(B$2:B2)=B2,-5,5))

😇
 
Last edited:
Upvote 0
How about:

Libro1
ABCDE
1StakeTotalPosition(Comment)Resutl
255.00LLoss unchanged stake5
353.64WWin so increase stake10
410-6.36LLoss - unchanged stake10
510-16.36LLoss. unchanged stake10
610-1.54WWin so increase stake15
71522.47WHighest Amount so far10
8528.27WDecrease stake0
91018.27LLoss- unchanged stake10
101042.02WHighest Amount so far5
11537.02LDecrease stake5
12532.02LLoss - unchaneed stake5
13538.38WWin so increase stake10
141028.38LLoss. unchanged stake10
151018.38LLoss - unchanged stake10
16108.38LLoss - unchanged stake10
17101.62LLoss- unchanged stake10
1810-11.62LLoss- unchanged stake10
1910-21.62LLoss- unchanged stake10
20109.73WWin so increase stake15
2115-5.27LLoss - unchanged stake15
2215-20.27LLoss - unchanged stake15
2315-35.27LLoss - unchanged stake15
2415-18.74WWin so increase stake20
Hoja3
Cell Formulas
RangeFormula
E2:E24E2=IF(C2="L",A2,IF(MAX(B$2:B2)=B2,A2-5,A2+5))


Or this:
Excel Formula:
=A2+IF(C2="L",0,IF(MAX(B$2:B2)=B2,-5,5))

😇

Many thanks, I may not have explained it to clearly, I want the stake in column E to be the same as Col A
but Column A is for guidance only.
 
Upvote 0
Many thanks, I may not have explained it to clearly, I want the stake in column E to be the same as Col A
but Column A is for guidance only.

You could put the results you expect in column E, again explaining each possible case; Or column A are the results?


Why does cell A2 start with 5?
1737328486713.png


Or the value in column A already exists and you want the same value in the same column A to be modified?
 
Upvote 0
Solution
Hi again, First stake was 5 which Lost
If I use =IF(C2="L", E2, IF(C2="W", IF(B2=MAX(B$2:$B2), 5, E2+5), E2))
This seems to work for me.
Many thanks for your help.
 
Upvote 0

Forum statistics

Threads
1,226,099
Messages
6,188,902
Members
453,509
Latest member
Stepanus lejiu

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