+ Reply to Thread
Results 1 to 4 of 4

Formula to fill with a specific number if the rule is met

  1. #1
    Registered User
    Join Date
    04-11-2021
    Location
    Germany
    MS-Off Ver
    2021
    Posts
    10

    Formula to fill with a specific number if the rule is met

    I would like to write the formula where automatically it puts the number 120 if the number in specific cell is lower than 5 and if the number is higher than 5 just copy and paste it into this cell.

    Any idea how to do it ?
    Last edited by Juanhijuan; 07-14-2022 at 04:23 AM. Reason: Solved issue

  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. 2406 (Windows 11 23H2 64-bit)
    Posts
    82,482

    Re: Formula to fill with a specific number if the rule is met

    Welcome to the forum.

    Do you mean this?

    =IF(A1<5,120,A1)

    For a German locale:

    =WENN(A1<5;120;A1)
    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
    04-11-2021
    Location
    Germany
    MS-Off Ver
    2021
    Posts
    10

    Re: Formula to fill with a specific number if the rule is met

    Yes, exactly. Thanks!

  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. 2406 (Windows 11 23H2 64-bit)
    Posts
    82,482

    Re: Formula to fill with a specific number if the rule is met

    Bitte sehr.

    If you have not already done so, you may not be aware that you can thank those who have helped you 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 all those who offered help.

+ 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] Conditionally format certain cells based on a specific rule (formula maybe)
    By q988988 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-27-2020, 01:51 AM
  2. [SOLVED] Conditional Formatting Rule: =AND(A2>=130;A2<=301) then Color Fill
    By KeanuB in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 10-18-2016, 10:11 AM
  3. [SOLVED] Fill a formula until a specific row number
    By kasun in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-14-2015, 05:27 PM
  4. [SOLVED] Outlook Macro applies a specific rule to specific folder(s) automatically
    By mkn95u0 in forum Outlook Programming / VBA / Macros
    Replies: 2
    Last Post: 02-06-2015, 03:41 PM
  5. How to insert a row using a macro, that follows the auto fill rule
    By rhyssmith92 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-23-2013, 12:04 PM
  6. Just fill a table in order to a rule
    By godorl in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-13-2011, 12:39 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