+ Reply to Thread
Results 1 to 12 of 12

I want numbers stored in column display like 8 Crore or 7 lakh or 20 thousand

  1. #1
    Registered User
    Join Date
    08-08-2023
    Location
    jaipur India
    MS-Off Ver
    2007
    Posts
    9

    I want numbers stored in column display like 8 Crore or 7 lakh or 20 thousand

    I want numbers stored in column display like 8 Crore or 7 lakh or 20 thousand. For example :-

    SR Basic data Data that i want
    1 625325 6 lakh
    2 21456325 2 Crore
    3 3568569 35 lakh
    4 1020 1 thousand
    5 456123456 45 crore

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,865

    Re: I want numbers stored in column display like 8 Crore or 7 lakh or 20 thousand

    In C2 copied down:

    =IF(B2>10000000,INT(B2/10000000),IF(B2>100000,INT(B2/100000),IF(B2>1000,INT(B2/1000),B2)))&" "&LOOKUP(B2,{0,1000,100000,10000000},{"","thousand","lakh","Crore"})
    Attached Files Attached Files
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    08-08-2023
    Location
    jaipur India
    MS-Off Ver
    2007
    Posts
    9

    Re: I want numbers stored in column display like 8 Crore or 7 lakh or 20 thousand

    thanks for quick reply u solved my problem

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,865

    Re: I want numbers stored in column display like 8 Crore or 7 lakh or 20 thousand

    Glad to have helped.

    If that takes care of your original question, please choose Thread Tools from the menu link above and mark this thread as SOLVED.

    Also, if you have not already done so, remember that you can reward anyone who offered you help towards a solution for your issue by clicking the small star icon (* Add Reputation) located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of each of those who offered help.

  5. #5
    Registered User
    Join Date
    08-08-2023
    Location
    jaipur India
    MS-Off Ver
    2007
    Posts
    9

    Re: I want numbers stored in column display like 8 Crore or 7 lakh or 20 thousand

    helo pls i want some extension in my query like:-
    135504210 should be shown as 13.55 crore
    29117641 should be shown as 2.91 crore
    8256824 should be shown as 82.57 lakh
    8306440 should be shown as 83.06 lakh

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,865

    Re: I want numbers stored in column display like 8 Crore or 7 lakh or 20 thousand

    Change the formula to this:

    =IF(B2>10000000,ROUND(B2/10000000,2),IF(B2>100000,ROUND(B2/100000,2),IF(B2>1000,ROUND(B2/1000,2),B2)))&" "&LOOKUP(B2,{0,1000,100000,10000000},{"","thousand","lakh","Crore"})

    or this, depending on what you want:

    =IF(B2>10000000,ROUND(B2/10000000,2),IF(B2>100000,ROUND(B2/100000,2),IF(B2>1000,INT(B2/1000),B2)))&" "&LOOKUP(B2,{0,1000,100000,10000000},{"","thousand","lakh","Crore"})
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    08-08-2023
    Location
    jaipur India
    MS-Off Ver
    2007
    Posts
    9

    Re: I want numbers stored in column display like 8 Crore or 7 lakh or 20 thousand

    thank u so much very pleased to see ur quick response

  8. #8
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,865

    Re: I want numbers stored in column display like 8 Crore or 7 lakh or 20 thousand

    Glad to have helped.

    If that takes care of your original question, please choose Thread Tools from the menu link above and mark this thread as SOLVED. You can also access the SOLVED tag by editing the opening post and choosing SOLVED from the drop-down to the left of the title box.

    Also, if you have not already done so, remember that you can reward anyone who offered you help towards a solution for your issue by clicking the small star icon (* Add Reputation) located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of each of those who offered help.

  9. #9
    Forum Expert
    Join Date
    01-05-2013
    Location
    Singapore
    MS-Off Ver
    H&B2016 & H&B2021
    Posts
    3,059

    Re: I want numbers stored in column display like 8 Crore or 7 lakh or 20 thousand

    Using LOOKUP for both parts:
    =ROUND(B2/LOOKUP(B2,{0,1000,100000,10000000},{1,1000,100000,10000000}),2)&LOOKUP(B2,{0,1000,100000,10000000},{""," thousand"," lakh"," Crore"})

  10. #10
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,865

    Re: I want numbers stored in column display like 8 Crore or 7 lakh or 20 thousand

    That's fine as long as the OP DOES want the thousands to round - at the moment, that's not entirely clear, hence my two options.

  11. #11
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,466

    Re: I want numbers stored in column display like 8 Crore or 7 lakh or 20 thousand

    Hope it looks better

    Please Login or Register  to view this content.
    Quang PT

  12. #12
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,865

    Re: I want numbers stored in column display like 8 Crore or 7 lakh or 20 thousand

    Thanks for the rep.

    If that takes care of your original question, please choose Thread Tools from the menu link above and mark this thread as SOLVED. You can also access the SOLVED tag by editing the opening post and choosing SOLVED from the drop-down to the left of the title box.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. VBA: Find and Replace several thousand words and numbers
    By Make1 in forum Word Programming / VBA / Macros
    Replies: 1
    Last Post: 12-13-2022, 06:24 PM
  2. Convert Numbers to Hundreds / Thousand
    By vandanavai in forum Excel General
    Replies: 3
    Last Post: 09-05-2022, 10:29 AM
  3. [SOLVED] Marco to convert numbers stored as text to numbers and dates stored as text to numbers
    By a2424 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 05-22-2014, 10:19 AM
  4. [SOLVED] NumberFormat: display thousand seperator and opt. decimal points
    By Klaster in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 12-19-2013, 11:17 AM
  5. [SOLVED] Using a column of numbers stored as text to count on conditions
    By CWatsonJr in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 11-07-2013, 02:54 PM
  6. Replies: 1
    Last Post: 09-14-2005, 04:05 PM
  7. Rounding numbers to the nearest thousand
    By Mark in forum Excel General
    Replies: 2
    Last Post: 03-10-2005, 09:06 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1