Hi,
In a column I've values like below.
What I want to achieve is to add the values in the brackets in column T like below,Please Login or Register to view this content.
ThanksPlease Login or Register to view this content.
Hi,
In a column I've values like below.
What I want to achieve is to add the values in the brackets in column T like below,Please Login or Register to view this content.
ThanksPlease Login or Register to view this content.
So... is your expected result 354, or the string 15+56+103+90+45+45 ???
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
@Glenn Kennedy
The expected values I want in column T would be the string 15+56+103+90+45+45
Assume that data is at A1
Not sure you will like this but, please try B1 drag to the right
=IFERROR(REPLACE(A1,FIND("(",A1),FIND(")",A1)-FIND("(",A1)+1,SUMPRODUCT(--MID(SUBSTITUTE(MID(A1,FIND("(",A1)+1,FIND(")",A1)-FIND("(",A1)-1),"+"," "),{1,5},5))),"")
@Bo_Ry
I've try your formula but I can't seem to get it to work.
When you said B1 drag to the right do you mean down instead?
HXIO,
Your files is a lot more complex than you Post#1,
Please see attached,
This method require many helper columns. I have to shift final result to columns U.
@Bo_Ry
Thanks for the help care for an explanation of the formula on how it works if possible?
Thanks
UDF?
A B C 1 Input Output 217+(11+78+38)+(74+74)+(54+78)+66+33 17+127+148+132+66+33 B2: =Debracket(A2) 317+66+107+108+50+17+8 17+66+107+108+50+17+8 415+26+57+54+43+37+8 15+26+57+54+43+37+8 527+53+(72+34)+(72+33)+77+27+14 27+53+106+105+77+27+14 633+(84+15)+79+50+33+16+16 33+99+79+50+33+16+16 710+20+30+37+37+20+10 10+20+30+37+37+20+10 810+23+45+55+23+10+10 10+23+45+55+23+10+10 922+22+86+88+66+44+22 22+22+86+88+66+44+22 10120+136 120+136 1122+66+(64+66)+(64+24)+44+44+22 22+66+130+88+44+44+22 12(44+18)+(38+38+38+16)+(36+36+36+23)+(24+36+36+36)+(32+18)+17 62+130+131+132+50+17 1327+(30+30+22)+(30+30+30+30+15)+(30+30+30+30+17)+(30+24)+27 27+82+135+137+54+27 1431+(41+37+23)+(66+66+11)+(66+66+13)+(15+60)+19+10 31+101+143+145+75+19+10 1554+96+(102+54)+(78+84)+84+42+30 54+96+156+162+84+42+30
Please Login or Register to view this content.
Last edited by shg; 10-22-2018 at 07:27 PM.
Entia non sunt multiplicanda sine necessitate
I would use shg's UDF.
Formula is too complicate, find brackets, extract text in brackets, separate text in brackets with "+" and sumproduct # in brackets then replace it back to brackets, and this only for first set of brackets. Next column is for 2nd set of brackets and so on.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks