Results 1 to 11 of 11

Excel 2007 : How to append zeroes and extract middle digits

Threaded View

  1. #1
    Registered User
    Join Date
    12-27-2010
    Location
    Philippines
    MS-Off Ver
    Excel 2007
    Posts
    24

    Unhappy How to append zeroes and extract middle digits

    I'm supposed to generate random numbers using the mid square method. Initially, I have a 4-digit number which I'm supposed to square. Then I have to extract the middle digits.I square this again and extract the middle digits. The problem is, I don't always get 8 digits when I square it. I'm supposed to append zeroes to the left of the string to make it exactly 8 digits, but I don't know how to do it.

    example:

    8065 65044225
    0442 195364
    5364 28772496

    As you can see, I'm supposed to get 1953 instead of 5364. I really don't know what to do, please help. thanks!
    Last edited by whattodo; 12-29-2010 at 06:18 AM.

Thread Information

Users Browsing this Thread

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

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