+ Reply to Thread
Results 1 to 3 of 3

Get the number by replacing last 2 digits with 00

  1. #1
    Forum Contributor
    Join Date
    10-18-2019
    Location
    Mumbai
    MS-Off Ver
    OFFICE 2010
    Posts
    427

    Post Get the number by replacing last 2 digits with 00

    B2 contains 5 digit +ve integer.

    In output cell D2, I want the 5 digit number containing first 3 digits & then suffixed by 00.

    Example:
    B2=35532, D2=35500
    B2=35567, D2=35500

    How to accomplish?

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,169

    Re: Get the number by replacing last 2 digits with 00

    Hi bittubadri,

    Try in D2
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

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

    Re: Get the number by replacing last 2 digits with 00

    Use =MROUND(B2,100) to round to nearest hundreds, =CEILING(B2,100) to round-up and FLOOR(B2,100) to round-down.

+ 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. Replies: 3
    Last Post: 09-28-2022, 08:58 AM
  2. How to ID digits within a group of 8-digits that equal a specified number
    By Thunder001 in forum Excel Formulas & Functions
    Replies: 31
    Last Post: 07-04-2019, 02:49 AM
  3. Replies: 2
    Last Post: 04-13-2012, 12:21 PM
  4. Replacing first 4 digits with ****
    By PurpleBase in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 01-29-2010, 08:23 AM
  5. Replies: 3
    Last Post: 02-12-2009, 01:08 PM
  6. Replies: 5
    Last Post: 12-08-2008, 11:47 AM
  7. Data Security - Replacing first four digits of a membership number macro.
    By barksmith in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-04-2008, 11:16 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