Sumif - cyrrilic letter values only

dbx

New Member
Joined
Apr 24, 2012
Messages
8
Office Version
  1. 365
Platform
  1. Windows
Hello everybody,

I have a list of multiple client names mixed latin letters and cyrillic letters. In the first column I have the client name, in the second columns I have the amounts.
I'm trying to calculate the sum of amounts only for cyrillic named clients.

Any good idea is highly appreciated.


Client​
Amount​
Comment​
Клиент 1100Cyrillic name
Клиент 2150Cyrillic name
Клиент 3200Cyrillic name
Client 4100Latin Name
Client 5300Latin Name
Total???
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
There is a ChatGPT for Excel add-in that you can utilize. Assuming your table is called Table1 and you have the ChatGPT for Excel Add-In, you can use this formula:

Excel Formula:
=SUM(IFERROR(VALUE(AI.EXTRACT(Table1[#All],"Sum Amount column where Client values have cyrillic letters")),0))


1736445575879.png
 
  • Like
Reactions: dbx
Upvote 0
Try this:

Book2
ABCD
1ClientAmountComment
2Клиент 1100Cyrillic nameTRUE
3Клиент 2150Cyrillic nameTRUE
4Клиент 3200Cyrillic nameTRUE
5Client 4100Latin NameFALSE
6Client 5300Latin NameFALSE
7
8Total450
Sheet1
Cell Formulas
RangeFormula
D2:D6D2=IF(SUMPRODUCT(--(UNICODE(MID(A2,ROW(INDIRECT("1:"&LEN(A2))),1))>=1024))>0,TRUE,FALSE)
B8B8=SUMIFS(B2:B6,D2:D6,TRUE)
 
  • Like
Reactions: dbx
Upvote 0
What version of Excel are you using?
I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)
 
Upvote 0
There is a ChatGPT for Excel add-in that you can utilize. Assuming your table is called Table1 and you have the ChatGPT for Excel Add-In, you can use this formula:

Excel Formula:
=SUM(IFERROR(VALUE(AI.EXTRACT(Table1[#All],"Sum Amount column where Client values have cyrillic letters")),0))


View attachment 121121

Thank you for your reply.
Unfortunately I don't have such Excel Add-in.
 
Upvote 0
Try this:

Book2
ABCD
1ClientAmountComment
2Клиент 1100Cyrillic nameTRUE
3Клиент 2150Cyrillic nameTRUE
4Клиент 3200Cyrillic nameTRUE
5Client 4100Latin NameFALSE
6Client 5300Latin NameFALSE
7
8Total450
Sheet1
Cell Formulas
RangeFormula
D2:D6D2=IF(SUMPRODUCT(--(UNICODE(MID(A2,ROW(INDIRECT("1:"&LEN(A2))),1))>=1024))>0,TRUE,FALSE)
B8B8=SUMIFS(B2:B6,D2:D6,TRUE)

Wow, many thanks LegendaryAxe!

Works perfect. Could you figure out how to avoid using column D checks? In my case I'm working with 20K+ rows and regulary adding more rows to the sheet.

Appreciate your support.

BR,
Nick
 
Upvote 0
What version of Excel are you using?
I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)
Hello Fluff,

Apologies, I'm new here :)
I'm using Office 365 (Apps for business), Windows 10.
 
Upvote 0
How about
Fluff.xlsm
ABC
1ClientAmountComment
2Клиент 1100Cyrillic name
3Клиент 2150Cyrillic name
4Клиент 3200Cyrillic name
5Client 4100Latin Name
6Client 5300Latin Name
7
8Total450
Data
Cell Formulas
RangeFormula
B8B8=SUM(MAP(A2:A6,B2:B6,LAMBDA(a,b,SIGN(SUM(--(UNICODE(MID(a,SEQUENCE(LEN(a)),1))>1024)))*b)))
 
Upvote 0
=SUM(MAP(A2:A6,B2:B6,LAMBDA(a,b,SIGN(SUM(--(UNICODE(MID(a,SEQUENCE(LEN(a)),1))>1024)))*b)))
Amazing solution, Fluff! (y)
Works perfect!
Many thanks for your effort - I'm going to study your formula.
 
Upvote 0

Forum statistics

Threads
1,225,738
Messages
6,186,736
Members
453,369
Latest member
juliewar

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