i used google sheet : i need function in c2

dabielcrbyton

New Member
Joined
May 28, 2017
Messages
39
i used google sheet :

a1bcd
a22S 5D [AC KH 2S QS JS]
a3
a4


please i have this string in b2
2S 5D [AC KH 2S QS JS]
i need function in c2
to do that :
we can see that before the [ ]
are the sign "2"
i need function that determinant if inside the [ ]
their are also the sign 2
and if so i need it to writing in c2
the sign 2

the same thing i need to do with the sign:
A
K
q
J
10
9
8
7
6
5
4
3


and if the function don't find :
i want it to write "no" in c2
 
a1bcd
a29 K [9 K J 3 J]9[



that what it show in c2
9

it should show
9 k


because 9 and k
show before the [ ]
and also inside the [ ]



as i say my friend
i using google sheet

with this link you can also edit the sheet
 
Upvote 0

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
The formulas were based on the example in post 1, 2S 5D [AC KH 2S QS JS] which includes the suit. Now that you have removed the suits from the string it will not work.

It only needs a very basic edit which you should be able to do yourself if you read the help for the functions that are used in the formula.
 
Upvote 0

Forum statistics

Threads
1,223,391
Messages
6,171,820
Members
452,426
Latest member
cmachael

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