Forum

Notifications
Clear all

Excel spreadsheet formula

6 Posts
3 Users
0 Reactions
66 Views
(@mymalone)
Posts: 103
Estimable Member
Topic starter
 

Sunny

I am not sure where to start on this one.  I would like to list the next 5 letters in line based on a particular occurrence.

 
Posted : 28/12/2018 5:16 pm
Philip Treacy
(@philipt)
Posts: 1629
Member Admin
 

Hi,

Can you supply some example data and the result you expect. As much detail and info as possible 🙂

Thanks

Phil

 
Posted : 28/12/2018 6:39 pm
(@mymalone)
Posts: 103
Estimable Member
Topic starter
 

Sorry,  here is the file.

 
Posted : 29/12/2018 9:21 am
Philip Treacy
(@philipt)
Posts: 1629
Member Admin
 

Hi,

Can you provide the context for this, it might make it easier to work out a solution.  Why are you trying to do this?

In your examples, you state that you want the letters to the right of the letter in Col Q, but to exclude the letters in Cols R and S.

In your first example the only letters to the right of A, is G, but your expected result is GCBFE.

In the 2nd example, the letters to the right F are EJDG but your expected result is EJDGC.

In the 3rd example there are no letters to the right of G but your expected result is ACDEJ

So I'm not understanding your requirements as the result you state you want does not match up with the expected results you provide.

Regards

Phil

 
Posted : 29/12/2018 7:01 pm
(@sunnykow)
Posts: 1417
Noble Member
 

Hi Melinda

Perhaps something like this?

What I am doing is :

1) Join the range 2 times using CONCATENATE(). This will allow me to "loop" back to repeat the extraction.

2) Remove the unwanted texts from the concatenated string using SUBSTITUTE()

3) Find the position of the required letter

4) Extract the words from the concatenated string using MID().

Hope this helps

Sunny

 
Posted : 29/12/2018 9:38 pm
(@mymalone)
Posts: 103
Estimable Member
Topic starter
 

Sunny

 

Thanks for coming through.  I really do appreciate the explanation! Thank you so very much.

Happy New Year

 
Posted : 01/01/2019 1:12 am
Share: