Home

excel problem:want solution

%3CLINGO-SUB%20id%3D%22lingo-sub-819802%22%20slang%3D%22en-US%22%3Eexcel%20problem%3Awant%20solution%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-819802%22%20slang%3D%22en-US%22%3EI%20need%20help%20from%20experts!%20I%20wanna%20write%20a%20number%20like%20(1000000)%20across%20cells%20A1%2C%20B1%26amp%3BC1.%20For%20example%20%5B10%5D%5B00%5D%5B000%5D.%20Again%20in%20the%20next%20row%20I%20wanna%20write%20another%20number%20like%20(2000000)%20across%20cells%20A2%2C%20B2%20%26amp%3B%20C2.%20Then%2C%20I%20wanna%20write%20more%20numbers%20in%20the%20below.%20At%20last%20I%20wanna%20sum%20all%20numbers%20across%203%20cells%20like%20%5B30%5D%5B00%5D%5B000%5D.%20How%20is%20it%20possible%3F%20Please%20help%20me%20with%20your%20best%20efforts!%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-819802%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EFormulas%20and%20Functions%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-820233%22%20slang%3D%22en-US%22%3ERe%3A%20excel%20problem%3Awant%20solution%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-820233%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F397293%22%20target%3D%22_blank%22%3E%40ferdaus%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhile%20there%20may%20be%20way%20to%20achive%20the%20results%20in%20the%20format%20you%20need%2C%20could%20you%20please%20share%20the%20reason%20for%20splitting%20a%20number%20in%20to%20three%20cells%20and%20adding%20%2C%20instead%20of%20simple%20addition%20in%20a%20range%3F%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-820272%22%20slang%3D%22en-US%22%3ERe%3A%20excel%20problem%3Awant%20solution%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-820272%22%20slang%3D%22en-US%22%3E%3CP%3EHello%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F397293%22%20target%3D%22_blank%22%3E%40ferdaus%3C%2FA%3E%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CEM%3EAs%20long%20as%20I%20understand%20correctly%2C%20you%20could%20do%20the%20following%3A%3C%2FEM%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIn%20cell%20A1%20put%20your%20number%20(i.e.%201000000)%3C%2FP%3E%3CP%3EIn%20cell%20C1%20put%20%3DLeft(A1%2C2)%3C%2FP%3E%3CP%3EIn%20cell%20D1%20put%20%3DMid(A1%2C3%2C2)%3C%2FP%3E%3CP%3EIn%20cell%20E1%20put%20%3DRight(A1%2C3)%3C%2FP%3E%3CP%3E%3CEM%3EThis%20will%20make%20C1%3D10%2C%20D1%3D00%2C%20E1%3D000%3C%2FEM%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIn%20cell%20A2%20put%20your%20number%20(i.e.%202000000)%3C%2FP%3E%3CP%3EHighlight%20cells%20C1%3AE1%3C%2FP%3E%3CP%3ECopy%20the%20formula%20down%20to%20C2%3AE2%3C%2FP%3E%3CP%3E%3CEM%3EThis%20will%20make%20C2%3D20%2C%20D2%3D00%2C%20E2%3D000%3C%2FEM%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIn%20cell%20C3%2C%20press%20Alt%2B%3D%3C%2FP%3E%3CP%3E%3CEM%3EThis%20will%20sum%20the%20cells%20C1%3AC2%3C%2FEM%3E%3C%2FP%3E%3CP%3ECopy%20the%20formula%20over%20to%20D3%20and%20E3%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EKeep%20in%20mind%20that%20this%20method%20only%20works%20for%20numbers%20in%20the%20format%200000000.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHope%20this%20helps!%3CBR%20%2F%3EPReagan%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-821696%22%20slang%3D%22en-US%22%3ERe%3A%20excel%20problem%3Awant%20solution%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-821696%22%20slang%3D%22en-US%22%3EMany%20many%20thanks%20for%20your%20solution.%20It%20really%20works.%20I%20am%20so%20grateful%20to%20you.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-821697%22%20slang%3D%22en-US%22%3ERe%3A%20excel%20problem%3Awant%20solution%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-821697%22%20slang%3D%22en-US%22%3EIt%20was%20necessary%20to%20make%20a%20clearing%20house%20schedule.%20Amount%20should%20be%20written%20like%20that%20here.%20I%20hope%2C%20you%20really%20understand.%20Thanks%20a%20lot!%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-821866%22%20slang%3D%22en-US%22%3ERe%3A%20excel%20problem%3Awant%20solution%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-821866%22%20slang%3D%22en-US%22%3EI%20am%20happy%20to%20help!%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-821874%22%20slang%3D%22en-US%22%3ERe%3A%20excel%20problem%3Awant%20solution%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-821874%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F397293%22%20target%3D%22_blank%22%3E%40ferdaus%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20you%20require%20numeric%20representations%20as%20opposed%20to%20text%20then%20the%20formulas%3C%2FP%3E%3CP%3E%3CSTRONG%3E%3CFONT%3E%3D%20QUOTIENT(%20amount%2C%20100000%20)%3C%2FFONT%3E%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%3CSTRONG%3E%3CFONT%3E%3D%20MOD(%20QUOTIENT(%20ABS(amount)%2C%201000%20)%2C%20100%20)%3C%2FFONT%3E%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%3CSTRONG%3E%3CFONT%3E%3D%20MOD(%20ABS(amount)%2C%20100%20)%3C%2FFONT%3E%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%3CFONT%3Ewill%20divide%20a%20currency%20amount%20into%20Lakh%2C%20Thousands%20and%20Units.%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CFONT%3EReversing%20the%20process%20to%20recombine%20the%20three%20digit%20groups%20can%20be%20done%20using%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%3CSTRONG%3E%3CFONT%3E%3D%20SUM(%20%7B100000%2C1000%2C1%7D%20*%20ABS(D)%20)%3C%2FFONT%3E%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CFONT%3ENumber%20formatting%20%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%3CSTRONG%3E%3CFONT%3E%3CFONT%20face%3D%22Verdana%2CArial%2CHelvetica%2Csans-serif%22%3E0%5C%2C%3B-0%5C%2C%3B%3B%3C%2FFONT%3E%3C%2FFONT%3E%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%3CSTRONG%3E%3CFONT%3E%3CFONT%20face%3D%22Verdana%2CArial%2CHelvetica%2Csans-serif%22%3E00%5C%2C%3C%2FFONT%3E%3C%2FFONT%3E%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%3CSTRONG%3E%3CFONT%3E%3CFONT%20face%3D%22Verdana%2CArial%2CHelvetica%2Csans-serif%22%3E000%5C%2C%3C%2FFONT%3E%3C%2FFONT%3E%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%3CFONT%3Ewould%20ensure%20non-significant%20zeros%20are%20displayed%20and%20add%20commas%20if%20wanted.%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CTABLE%3E%3CTBODY%3E%3CTR%3E%3CTD%3EAmount%3C%2FTD%3E%3CTD%3EL%3C%2FTD%3E%3CTD%3ET%3C%2FTD%3E%3CTD%3EU%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%3E2640067%3C%2FTD%3E%3CTD%3E26%2C%3C%2FTD%3E%3CTD%3E40%2C%3C%2FTD%3E%3CTD%3E067%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%3E6754900%3C%2FTD%3E%3CTD%3E67%2C%3C%2FTD%3E%3CTD%3E54%2C%3C%2FTD%3E%3CTD%3E900%3C%2FTD%3E%3C%2FTR%3E%3C%2FTBODY%3E%3C%2FTABLE%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-821929%22%20slang%3D%22en-US%22%3ERe%3A%20excel%20problem%3Awant%20solution%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-821929%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F397293%22%20target%3D%22_blank%22%3E%40ferdaus%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThis%20is%20now%20just%20play%20time!%26nbsp%3B%20I%20do%20not%20even%20know%20for%20certain%20that%20the%20problem%20is%20an%20Indian%20currency%20one.%26nbsp%3B%20However%2C%20I%20decided%20to%20try%20for%20one%20formula%20using%20dynamic%20arrays%20to%20split%20the%20amount.%3C%2FP%3E%3CP%3E%3CSTRONG%3E%3CFONT%3E%3D%20MOD(%20QUOTIENT(%20amount%2C%2010%5Eunits%20)%2C%2010%5Edigits%20)%3C%2FFONT%3E%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%3CFONT%3Eand%20another%20to%20recombine%20the%20digit%20groups%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%3CSTRONG%3E%3CFONT%3E%3D%20SUM(%2010%5Eunits%20*%20ABS(groups)%20)%3C%2FFONT%3E%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%3CFONT%3Ewhere%20the%20array%20constants%20%3C%2FFONT%3E%3CSTRONG%3E%3CFONT%3E%3CSTRONG%3E%3CFONT%3E'units%3C%2FFONT%3E%3C%2FSTRONG%3E'%3C%2FFONT%3E%3C%2FSTRONG%3E%3CFONT%3E%3CFONT%3Eand%20%3C%2FFONT%3E%3C%2FFONT%3E%3CSTRONG%3E%3CFONT%3E'digits'%20%3C%2FFONT%3E%3C%2FSTRONG%3E%3CFONT%3Eare%3C%2FFONT%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3E%3CFONT%3E%3D%7B5%2C3%2C0%7D%3C%2FFONT%3E%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%3CSTRONG%3E%3CFONT%3E%3D%7B5%2C3%2C2%7D%3C%2FFONT%3E%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%3CFONT%3Erespectively.%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
ferdaus
New Contributor
I need help from experts! I wanna write a number like (1000000) across cells A1, B1&C1. For example [10][00][000]. Again in the next row I wanna write another number like (2000000) across cells A2, B2 & C2. Then, I wanna write more numbers in the below. At last I wanna sum all numbers across 3 cells like [30][00][000]. How is it possible? Please help me with your best efforts!
7 Replies

@ferdaus 

While there may be way to achive the results in the format you need, could you please share the reason for splitting a number in to three cells and adding , instead of simple addition in a range?    

Hello @ferdaus,

 

As long as I understand correctly, you could do the following:

 

In cell A1 put your number (i.e. 1000000)

In cell C1 put =Left(A1,2)

In cell D1 put =Mid(A1,3,2)

In cell E1 put =Right(A1,3)

This will make C1=10, D1=00, E1=000

 

In cell A2 put your number (i.e. 2000000)

Highlight cells C1:E1

Copy the formula down to C2:E2

This will make C2=20, D2=00, E2=000

 

In cell C3, press Alt+=

This will sum the cells C1:C2

Copy the formula over to D3 and E3

 

Keep in mind that this method only works for numbers in the format 0000000.

 

Hope this helps!
PReagan

 

Many many thanks for your solution. It really works. I am so grateful to you.
It was necessary to make a clearing house schedule. Amount should be written like that here. I hope, you really understand. Thanks a lot!
I am happy to help!

@ferdaus 

If you require numeric representations as opposed to text then the formulas

= QUOTIENT( amount, 100000 )

= MOD( QUOTIENT( ABS(amount), 1000 ), 100 )

= MOD( ABS(amount), 100 )

will divide a currency amount into Lakh, Thousands and Units.

 

Reversing the process to recombine the three digit groups can be done using

= SUM( {100000,1000,1} * ABS(D) )

 

Number formatting

0\,;-0\,;;

00\,

000\,

would ensure non-significant zeros are displayed and add commas if wanted.

 

AmountLTU
264006726,40,067
675490067,54,900

@ferdaus 

This is now just play time!  I do not even know for certain that the problem is an Indian currency one.  However, I decided to try for one formula using dynamic arrays to split the amount.

= MOD( QUOTIENT( amount, 10^units ), 10^digits )

and another to recombine the digit groups

= SUM( 10^units * ABS(groups) )

where the array constants 'units' and 'digits' are 

={5,3,0}

={5,3,2}

respectively.

 

Related Conversations
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
flashing a white screen while open new tab
cntvertex in Discussions on
13 Replies
Tabs and Dark Mode
cjc2112 in Discussions on
22 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
28 Replies
PacketMon Components are not loading in WAC 1909
HotCakeX in Windows Admin Center on
2 Replies