https://dhexcel1.wordpress.com/2017...d-string-excel-formula-method-by-david-hager/

Convert a delimited string like, for example

a,b,c,c,d,a,e,r,h,h,t,o,x,a,b,c (in A1)

to

a,b,c,d,e,r,h,t,o,x]]>

That is, it will:

- accommodate dynamically a
**change to the number of series plotted**when a user selects**one**of the 4 measures (device, gender, age and visitor type); and - change the ranges of the plotted series (via a second user control - with multiple selection allowed).

- You may incorporate any UI controls as required to make the chart function for...

Create a dynamic chart for the number series and series ranges]]>

This time, three columns.

To find the amount of 53, as it appears in the formula in cell D13, column E is illustrative.

Without the use of volatile functions.

David]]>

Challenge light,

To find the amount of 58, as it appears in the formula in cell C13, column D is illustrative.

Without the use of volatile functions.

David]]>

Challenge is not difficult at all, the focus is to find the

Conditioning is,

Order values should be is ,18,19,16,17,20.

My solution, next Monday.

David]]>

I know i'm probably just going to tickle you a little bit, this is a fairly easy challenge, but nevertheless i'd like to know if there's an alternative solution to the problem at hand.

I'm pretty sure you know what an IMEI is. The structure of the IMEI is as follows: AA-BBBBBB-CCCCCC-D

AA-BBBBBB - is known as Type Allocation Code

CCCCC - represents the serial...

Formula Challenge 023 - IMEI Luhn Check]]>

Code (vb):

Client Amt

IBM 49

TYCO 46

E&Y 82

ORACLE 88

TVS 24

BHEL 79

ABB 29

ORACLE 89

CGL 95

AREVA 49

ABB 63

E&Y 58

IBM 61

AREVA 81

ORACLE 13

ORACLE 100

TYCO 89

CGL 22

SIEMENS 10

ACES 21

AREVA 29

TVS 78

ACES 86

SIEMENS 45

TVS 16

BHEL 69

BHEL 43

IBM 56

ABB 56

[/pre]IBM 49

TYCO 46

E&Y 82

ORACLE 88

TVS 24

BHEL 79

ABB 29

ORACLE 89

CGL 95

AREVA 49

ABB 63

E&Y 58

IBM 61

AREVA 81

ORACLE 13

ORACLE 100

TYCO 89

CGL 22

SIEMENS 10

ACES 21

AREVA 29

TVS 78

ACES 86

SIEMENS 45

TVS 16

BHEL 69

BHEL 43

IBM 56

ABB 56

Column A contains Clients in Random order

Column B Contains Amounts in Random order

Cell D1 contains the name of one Client Eg Oracle

Cell E1 should have a formula that finds out difference in amount between last...

Formula Challenge 009 -The Difference between the Latest and Earliest instance]]>

here I am uploading excel file with a solution but formulas have been deleted

as a matter of fact it took me 3 days to create such a formula]]>

In line 3, there is the investment (0),and a series of cash flows.(1-5).

In line 5 Cumulative Cash Flow for Payback,

The challenge, is to find the exact payback period for an investment.

The solution should be based on the data in line 5.

The emphasis is on the solution in the

The right solution is between 2 and 3 years.

My solution next Saturday.

good luck !

David]]>

- only one cell can be filled using the keyboard
- all other cells must be filled using the mouse only

There is one column, eight numbers in column A, find which row in the last number that complements the amount of 29

There is a formula must know a lot of friends, like this,

=MMULT(N(ROW(A1:A8)>=TRANSPOSE(ROW(A1:A8))),A1:A8).

You are invited to give a different formula,

The rule only, without volatile functions.

Next Thursday I will present my formula.

Good luck !

David]]>

A mad scientist has concocted a secret formula that makes people better at Excel. The formula has two components: x and y.

He’s already done some experiments using his children as test subject, whereby he’s given them various dosages of x (across the top) and y (down the left), and measured the result (z).

Code (text):

Dosage 2 5 8

2 7.22 6.95 7.18

4 6.06 6.20 6.61

9...

2 7.22 6.95 7.18

4 6.06 6.20 6.61

9...

Illustration:

View attachment 9604

You have a list of items and their prices in columns B and C. In column A, the levels are indicated as .[x]#, where .[x] represents...

Formula Challenge 024 - Sum Of Items Based On Hierarchy Level]]>

There are three columns, each column, 10 values, need to find the formula, which enable combinations, one value from column to give the amount to 20.

The rule is possible to use the value in Column A, only once, and in two other columns, there is no limit.

Without volatile functions,

The result should be

I came to the result, with 108 characters without character {} at the beginning and at the end of the formula.

Some values are highlighted for...

A combination of three tables gives the amount 20]]>

Find the word (GOAL) after the 6' komma (,)

always 4 character.

2009-01-15,35.80,36.50,34.30,35.30,13993900,GOAL,0,HEY,34]]>

A B C

1 3 10 10

2 20 20

3 30 30

4 40 40

5 50 50

6 10

7 20

8 30

9 40

10 50

11 10

12 20

13 30

14 40

15 50

16

Construct a formula to repeat the numbers in column B 3 times (A1)

If u put a 5...

Challenge ex.2 Repeat series of numbers]]>

I am sure this one is easy for you guys here; however, the intention is to check if there is a shorter and a better way of doing this with the help of excel formulae only

One of my colleagues approached me this morning and asked if there is any formula approach to get the unique count of matches between two lists. Though I came up with a solution which is 89 characters long without an equal “=” sign, I still think it can be improvised.

Limitations:

- Lists may or may not...

Shorter & Efficient Formula: Unique Count of Matching values between Two Variable length Lists]]>

I propose a challenge: Calculating the number of hours worked between an interval of hours, in all cases propose the attachment. The idea is to get a single formula that performs the task .

Assistant working file with the values calculated for review.

As has become tradition in these challenges , I will place the solution I have . Blessings to all!]]>

Here is an Excel challenge for you all.

If we have data as following;

D----------V

A----------1

E----------2

<blank>--3

<blank>--4

<blank>--5

<blank>--6

<blank>--7

<blank>--8

B----------9

<blank>--10

2----------11

D----------12

A----------13

<blank>--14

<blank>--15

<blank>--16

<blank>--17

<blank>--18

F----------19

<blank>--20

As you can see <blank>-- cells merged, so non blank cell above that are its merged value. So the challenge is use SUMIF to get...

Formula Challenge 021 - SUMIF in Merged cells.]]>

* Formula Challenge 007 dealt with extracting an array of distinct/duplicate/unique values from a range containing only

* Formula Challenge 008 dealt with extracting an array of distinct/duplicate/unique values from a range containing only

Can you come up with a formula that extracts an array of distinct/duplicate/unique items from a range containing numerical and

- You should assign a 1-digit named range to the original...

Formula Challenge 011 - distinct/duplicate/unique array from text AND numbers]]>

Code (vb):

Heading Col1 Col2 Col3 Col4 Col5 Col6 Col7 Col8 CC

H1 12 0 0 0 0 -5 1 0 8

H2 0 0 -7 12 13 15 16 4 6

H3 1 0 0 0 0 0 0 0 8

H4 0 1 0 1 0...

-- Calculate the number of unique characters that are common to two strings

Challenge Description

-- This is a formula challenge. As such, only formula submissions are accepted.

-- For two given strings (that may contain any number of characters -- alphabets, numbers, symbols, etc. -- the goal is to determine the number of unique characters that are common to both strings.

-- Each string could be of variable length.

-- Goal is to calculate the count without using any...

Formula Challenge 003 - Count unique characters common to two strings]]>

Add and subtract days to pre-1900 dates

* This is a formula challenge, designed to get you thinking creatively about how to solve a tricky problem using formulas only.

* Take the date in column A, add/subtract the number of days in col B, return correct date

* For simplicity, assume all dates use mm/dd/yyyy format, and all dates are greater than year 0.

* You should not use any helper cells, intermediate formulas, named ranges, or VBA

*...

Formula Challenge 004 - Add and subtract days to pre-1900 dates]]>

Good evening, Gentlemen. Your mission, should you choose to accept it, is to:

- Write three formula that respectively return the distinct, duplicate, and unique values of a numerical range.

- The output of each formula must be an array that can be used

Formula Challenge 007 - return distinct/duplicate /unique values as an array]]>

For example in the following list your formula should return

1

3

1

2

5

2

7

8

Your answer should be a single formula involving Excel functions only that refers to a single named range

You may assume numbers are positive. Good luck!]]>

Return everything in string after first block of numbers

- * This is a formula challenge, designed to get you thinking creatively about how to solve a tricky problem using formulas only.

* Split the strings in Column A with a formula that only returns the substring that you see in column B. So for instance, if the string is Monaco7190Australia1484 then we want everything to the right of that first block of numbers i.e. Australia1484....

Formula Challenge 001 - Return everything in string after first block of numbers]]>

Okay, here's an interesting one. Write a formula that you can input in cell A1 and drag down that returns the below pattern. My formula is 38 characters long.

This is relatively easy to do, but to do it in 38 characters might have you scratching your collective heads

1

2

3

4

5

6

7

11

12

13

14

15

16

17

21

22

23

24

25

26

27

...

EDITED

Check topic title: OP changed "7" by "x"]]>

Good evening, Gentlemen. Your mission, should you choose to accept it, is to:

- Write three formula that respectively return the distinct, duplicate, and unique values of a

- The output of each formula must be an array that can be used directly by other formula (such as CountA etc). That is, we're after a single formula that you can directly incorporate into other...

Formula Challenge 008 - return distinct/duplicate /unique strings as an array]]>

There is no need to use public file-sharing websites such as dropbox.com, rapidshare.com, hotfile.com, mediafire.com, 2shared.com, skydrive.live.com, docs.google.com,to upload a file ; the new forum gives members something they have been asking for, the ability to upload files. If you look to the bottom of the box in which you post your question you will see the button to upload a file from your computer to Chandoo ; this is going to save members a lot of time and trouble.]]>

What's the

Challenge Description

1. Write the shortest formula you can to find the largest prime number you can

2. This is a formula challenge. As such, only formula submissions are accepted.

3. There's a handy prime number checker/generator at http://www.numberempire.com/primenumbers.php

Sample Data

Try your formula out on these numbers:

1099513724917

1099513724941

...and whatever other primes you can think...

Formula Challenge 006 - What's the largest number you can confirm is a prime?]]>

Write a formula that displays the nth largest unique number from the Data column for items in the Item column that match the currently selected Lookup Item.

Challenge setup

Put the following data in A1:B13

[pre]

Code (vb):

Item (i) Data (d)

Cat 662100

Cat 11287

Cat 11287

Apple 9439

Apple 3090

Cat 3090

Apple 662100

Cat 11287

Cat 11287

Cat...

Cat 662100

Cat 11287

Cat 11287

Apple 9439

Apple 3090

Cat 3090

Apple 662100

Cat 11287

Cat 11287

Cat...

Formula Challenge 017 – Conditional Unique Nth Value]]>

In our last challenge, we wrote a formula to display the nth largest unique number from the Data column for items in the Item column that matched the currently selected Lookup Item.

But if N was say 6, but we only had 3 unique items, then all these formulas returned Zero.

So your challenge is to amend those approaches so that in those instances, the next smallest non-zero unique value is...

Formula Challenge 018 – Conditional Unique Nth or next smallest value]]>

Write a formula that returns a count of the largest contiguous block within a 1d array, d. By 'contiguous' I mean an array of data bounded either by a blank cell, or the edge of the range.

Put the following data in A1:A31

[pre]

Code (vb):

0

0

0

1

45

5

999

10

0

-21

5454

-1

5

4

5

0

0

0

5

4

98

4

4

0

65

4

45

74

0

0

1

45

5

999

10

0

-21

5454

-1

5

4

5

0

0

0

5

4

98

4

4

0

65

4

45

74

Assign the name 'd' to this range.

Write a formula that...

Formula Challenge 019 – Length of the largest contiguous range]]>

This challenge is lifted straight from a great formula that David Hager posted at http://dailydoseofexcel.com/archive...-number-of-unique-items-in-a-delimited-string

Although I've slightly amended the sample data.

Put this string into A1:

aa,c,d,aa,bbb,c,d,e,f,g,h,I,jjjjjjjj,a

Write one formula that returns a count of how many unique items there are.

David's formula is 299 characters. My first...

Formula Challenge 016 - Unique Items in a Delimited String]]>

-- Count the number of times a numeric 2-d array occurs in another 2-d array

-- This is a formula challenge. As such, only formula submissions are accepted.

-- For two lists named "nList" and "sList", count the number of times "sList" appears in "nList".

-- To keep things simple, we will assume that both nList and sList have two columns each

-- Also, to simplify things, we will assume that sList has exactly two rows

-- Also, to simplify things,...

Formula Challenge 014 - Count number of times a numeric array occurs in another]]>

Put the letter x in F7, and assign the name ‘x’ to it

Put the letter y in J6, and assign the name ‘y’ to it

Put the letter z in L18, and assign the name ‘z’ to it

Now write a formula that turns those three separate references into a 1D array

No helper cells, no VBA, no working on this at 3am.

See if you can answer this by the...

Formula Challenge 013 - Turn non-contiguous cells into a 1D range]]>

Okay, people. We’ve got the following dataset:

[pre]

Code (vb):

1 2 3 a b c

4 5 6 d e f

4 5 6 d e f

…which you could also represent like this:

{1,2,3,"a","b","c";4,5,6,"d","e","f"}

Give this data the named range a (a for array).

Your challenge is to dynamically turn this 2D array to a 1D array that can then be used directly by other formulas, without being entered over a range.

So your formula will evaluate to this:...

Formula Challenge 012 - Turn a mixed 2-d array into a 1-d array.]]>

-- Calculate the cumulative sum for a range of data, while meeting some conditions

-- This is a formula challenge. As such, only formula submissions are accepted.

-- If the cumulative sum equals or exceeds the threshold, then the output = sum of all values since the summation started

-- If the cumulative sum exceeds the threshold, the summation starts over

-- You may assume a different location for the data...

Formula Challenge 002 - Calculate Conditional Cumulative Sum]]>

-- Count the number of times a sublist occurs in a list

Challenge Description

-- This is a formula challenge. As such, only formula submissions are accepted.

-- For two lists named "List" and "Sublist", count the number of times "Sublist" appears in "List".

-- "List" and "Sublist" could be of variable length.

-- Goal is to calculate the count without using any helper cells.

Assumptions

-- You may assume a different location for "List" and "Sublist" than cell A1 and B1...

Formula Challenge 005 - Count Number of times a sublist occurs in a list]]>

You must have a solution

If you start a new Challenge, please offer appropriate feedback to all who take up the challenges

Please Don't post "How do I ..." questions here!

You can create a new topic by clicking here and select the appropriate forum.]]>