+ Reply to Thread
Results 1 to 6 of 6

I need to if then

  1. #1
    Registered User
    Join Date
    04-02-2012
    Location
    44691
    MS-Off Ver
    Excel 2010
    Posts
    3

    Question I need to if then

    I've got 100000+ numbers in a field.
    If the last 2 digits, and only the last 2 = 00, i want to drop the 00's.......?
    Thanks

  2. #2
    Registered User
    Join Date
    04-02-2012
    Location
    44691
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: I need to if then

    correct that....i only want to analyze the last two digits for the 00's

  3. #3
    Registered User
    Join Date
    04-02-2012
    Location
    44691
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: I need to if then

    Got it..........

  4. #4
    Forum Contributor tkowal's Avatar
    Join Date
    11-20-2010
    Location
    Miami, Fl
    MS-Off Ver
    Excel 2010
    Posts
    150

    Re: I need to if then

    Confused???

    My assumption is that if the last 2 digits of the number is "00" then use the previous two digits before the "00" and if the last two digits are not "00" then just them....


    Try this formula in a cell and copy down as needed:

    Please Login or Register  to view this content.
    Ted
    "Live Long and Prosper"

  5. #5
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: I need to if then

    =if(mod(a1, 100)=0, a1/100, a1)
    Entia non sunt multiplicanda sine necessitate

  6. #6
    Forum Contributor tkowal's Avatar
    Join Date
    11-20-2010
    Location
    Miami, Fl
    MS-Off Ver
    Excel 2010
    Posts
    150

    Re: I need to if then

    shg solution is more efficient and cleaner ---- that's why he's a guru !

+ Reply to Thread

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