Newsletter Subject

How to count consecutive wins (formula)

From

exceljet.net

Email Address

contact@exceljet.net

Sent On

Fri, Apr 26, 2024 01:03 PM

Email Preheader Text

Hi - Dave here. Happy Friday! How can you count consecutive wins in Excel? This is a traditionally c

Hi - Dave here. Happy Friday! How can you count consecutive wins in Excel? This is a traditionally challenging problem in Excel because it's not obvious how to solve it. Excel has many functions designed to count things, but none are dedicated to counting consecutive things. Until now, the simplest way to solve this problem is to create a helper column with a running count of wins, and then use the MAX function to find the maximum count. However, the SCAN function makes it easy to use one formula, as seen in the worksheet below. The formula in cell E5 is: =MAX(SCAN(0,C5:C22,LAMBDA(a,v,IF(v="w",a+1,0)))) [A formula to return the longest winning streak]( [[Download the workbook and read the full explanation](] The SCAN formula may look scary, but it is actually pretty simple. Starting at zero, SCAN runs through the list of results. When it encounters a "w", it adds 1 to a running count. When it encounters any other value, it resets the running count to zero. SCAN returns the full set of running counts to MAX, which returns the maximum number. Download the worksheet and have a look yourself. Although we are specifically counting the longest winning streak in this example, the same approach can be used to count many other things, including: - Consecutive days of exercise. - Consecutive days without symptoms. - Consecutive days practicing a language or skill. - Consecutive days not drinking, or not smoking. - Consecutive days without an accident (at a factory for example). The SCAN function requires Excel 365. However, the article above includes two approaches that will work in any version of Excel. More leap years Last week, I shared a [formula]( to test for leap years. The problem is surprisingly tricky because of quirks in our modern calendar system, and quirks in Excel. On that same topic, I wanted to share a [another formula]( you can use to generate a list of leap years. This is a nice example of how the SEQUENCE function can be used to solve interesting problems. This formula requires Excel 2021 or Excel 365. Excel formulas We maintain a list of over 500 working formulas [here](. If you need more structure, we also offer [video training](. Have a great weekend! Dave The Exceljet newsletter is free. We don't share your email with anyone and you can unsubscribe at any time. To get an idea of the topics we cover, see this [summary]( of recent emails. Sign up on our home page [here](. [View this email in a browser]( [Exceljet Logo]( Exceljet P.O. Box 4804 Salt Lake City, UT 84110 Copyright © 2024 Exceljet, All rights reserved. You received this email because you are subscribed to our newsletter. To unsubscribe, click the link below. [Unsubscribe](

Marketing emails from exceljet.net

View More
Sent On

31/05/2024

Sent On

24/05/2024

Sent On

17/05/2024

Sent On

03/05/2024

Sent On

19/04/2024

Sent On

12/04/2024

Email Content Statistics

Subscribe Now

Subject Line Length

Data shows that subject lines with 6 to 10 words generated 21 percent higher open rate.

Subscribe Now

Average in this category

Subscribe Now

Number of Words

The more words in the content, the more time the user will need to spend reading. Get straight to the point with catchy short phrases and interesting photos and graphics.

Subscribe Now

Average in this category

Subscribe Now

Number of Images

More images or large images might cause the email to load slower. Aim for a balance of words and images.

Subscribe Now

Average in this category

Subscribe Now

Time to Read

Longer reading time requires more attention and patience from users. Aim for short phrases and catchy keywords.

Subscribe Now

Average in this category

Subscribe Now

Predicted open rate

Subscribe Now

Spam Score

Spam score is determined by a large number of checks performed on the content of the email. For the best delivery results, it is advised to lower your spam score as much as possible.

Subscribe Now

Flesch reading score

Flesch reading score measures how complex a text is. The lower the score, the more difficult the text is to read. The Flesch readability score uses the average length of your sentences (measured by the number of words) and the average number of syllables per word in an equation to calculate the reading ease. Text with a very high Flesch reading ease score (about 100) is straightforward and easy to read, with short sentences and no words of more than two syllables. Usually, a reading ease score of 60-70 is considered acceptable/normal for web copy.

Subscribe Now

Technologies

What powers this email? Every email we receive is parsed to determine the sending ESP and any additional email technologies used.

Subscribe Now

Email Size (not include images)

Font Used

No. Font Name
Subscribe Now

Copyright © 2019–2024 SimilarMail.