+ Reply to Thread
Results 1 to 8 of 8

Divide cell by X if number is greater...

  1. #1
    Registered User
    Join Date
    02-11-2011
    Location
    Vilnius, Lithuania
    MS-Off Ver
    Excel 2016
    Posts
    83

    Divide cell by X if number is greater...

    Hello, I have a lot of cells containing numbers. Some numbers are small, some are big.

    I want to divide all numbers which are greater than 300 by 1000.

    IF cell A2 > 300 THEN divide by 1000.

    How to do that? Is it possible to convert value in the same cell like using conditional formatting principle?

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Divide cell by X if number is greater...

    Hello

    You can not do this in the same cell using formula but you can do this in another column-cell.
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  3. #3
    Registered User
    Join Date
    02-11-2011
    Location
    Vilnius, Lithuania
    MS-Off Ver
    Excel 2016
    Posts
    83

    Re: Divide cell by X if number is greater...

    Please tell me how to do it?

  4. #4
    Valued Forum Contributor AZ-XL's Avatar
    Join Date
    03-22-2013
    Location
    Azerbaijan, Baku
    MS-Off Ver
    Excel 2007
    Posts
    603

    Re: Divide cell by X if number is greater...

    Hi
    =IF(A2>300,A2/1000,A2)
    Appreciate the help? CLICK *

  5. #5
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Divide cell by X if number is greater...

    Something like this.

    In B2 and copy down.
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  6. #6
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Divide cell by X if number is greater...

    Hi without using a macro the following would work

    First filter you number column for those greater than 300. Now enter the value 1000 in a spare cell and copy that cell.
    Now select your numbers column and use F5 Goto Special and select visible cells only.
    Now with the Paste Special select the 'Divide by'
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  7. #7
    Registered User
    Join Date
    02-11-2011
    Location
    Vilnius, Lithuania
    MS-Off Ver
    Excel 2016
    Posts
    83

    Re: Divide cell by X if number is greater...

    Thanks guys for sharing the advice. I am always surprised how fast I got the answer. You save me a lot of worktime.

  8. #8
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Divide cell by X if number is greater...

    You are welcome(FROM all OF US) and thanks for the feed back.

    As that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED,as per Forum Rule #9. Thank you.

    Also, as a new member of the forum, you may not be aware that you can thank those who have helped you by clicking the small star icon 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 those who helped.

+ 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. [SOLVED] Formula to divide a number and format if greater than a 100
    By Shellybelly in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 02-10-2014, 07:04 PM
  2. Divide a number within a cell in a specific section?
    By Kapcha in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-30-2012, 03:16 PM
  3. Replies: 1
    Last Post: 07-14-2010, 04:05 PM
  4. Divide Number from data in Cell's?
    By termal in forum Excel General
    Replies: 2
    Last Post: 07-08-2009, 04:21 PM
  5. Divide number and add remainder in another cell
    By rhon101 in forum Excel General
    Replies: 4
    Last Post: 11-29-2005, 10:10 PM

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