Hi everyone,
I'm trying to calculate the winning streaks of my trades,
any idea on how to do it?
667788.JPG
thanks,
Yoni
Hi everyone,
I'm trying to calculate the winning streaks of my trades,
any idea on how to do it?
667788.JPG
thanks,
Yoni
Last edited by AliGW; 12-28-2017 at 01:20 PM.
Welcome to the forum!
Did you search the forums before posting? I did a search for you: https://www.excelforum.com/search.php?searchid=7648859
Ali
Enthusiastic self-taught user of MS Excel who's always learning!
Don't forget to say "thank you" in your thread to anyone who has offered you help.
You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.
Forum Rules (updated August 2023): please read them here.
Hi AliGW,
Thanks for your quick reply, i didn't find what i was looking for and the link that you added doesn't go anywhere.
what should i do?
Type "winning streak" (without the speech marks) into the search box top right.
Try something like this array formula:
=MAX(FREQUENCY(IF($A$2:$A$33="Win",ROW($A$2:$A$33)), IF($A$2:$A$33<>"Win",ROW($A$2:$A$33))))
Array Formulae are a little different from ordinary formulae in that they MUST be confirmed in the FIRST CELL ONLY by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. After that, the array can be dragged down as normal, to cover the desired range.
You will know the array is active when you see curly brackets { } - or "curly braces" for those of you in the USA, or "flower brackets" for those of you in India - appear around the outside of your formula. If you do not use CTRL+SHIFT+ENTER you will (almost always) get an error message or an incorrect answer. Press F2 on that cell and try again.
Don't type the curly brackets yourself - it won't work...
Glenn
None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.
Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh
Hi Glenn,
Thank you very much!
It works on excel perfectly but when i try it on google sheets it didn't work, do you know how to do it in google sheets also?
And, can i add to the formula to calculate it per currency?
Please post a sample sheet. I don't want to retype what you have in front of you. I don't use Google sheets.
Will you please attach a SMALL sample Excel workbook (10-20 rows of data is usually enough)? Please don't attach a picture of one (no-one will want to re-type all your stuff before starting).
Unfortunately the attachment icon doesn't work at the moment. So, to attach an Excel file you have to do the following: Just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.
ok
please see attached file
If you are using another platform to Excel, you need to say so from the start. I've moved your thread to the correct section.
I"m using both excel & google sheets.
I need this formula to a number of calculations.
here you are.
Thank you very very much!!
If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.
You're welcome.
If that takes care of your original question, please select "Thread Tools" from the menu link above and mark this thread as SOLVED.
It'd also be appreciated if you were to click the Add Reputation button at the foot of any of the posts of all members who helped you reach a solution.
Now marked as unsolved as the OP has a follow-on question.
I'm trying to create a winning streak formula like in my excel but when i press CTRL+SHIFT+ENTER it doesn't work like in excel, it only adds ARRAYFORMULA before my formula and gives me ERROR..
Any ideas what to do?
I really don't have to use ARRAYFORMULA, just want to find the formula that calculates the longest winning streak.
Streaks.JPG
Last edited by AliGW; 12-28-2017 at 01:31 PM. Reason: Detail added from dulicate thread.
does anyone know how to do it in google sheets?
Last edited by AliGW; 12-28-2017 at 01:42 PM. Reason: Unnecessary duplicate image removed.
Please be patient.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks