+ Reply to Thread
Results 1 to 7 of 7

The Symbol to show a number range in a formula

  1. #1
    Registered User
    Join Date
    08-10-2017
    Location
    london
    MS-Off Ver
    10
    Posts
    3

    The Symbol to show a number range in a formula

    Hi everyone,

    Does anyone know the way to express a number range in a formula?

    E.G =IF(OR(A1>1, A1<4) "example1" )

    I'm trying to say if A1 is bigger than 1 and smaller than 4, so in the range of 1-4 it would equal example 1.

    I have decimal numbers like 2.2 that do not apply to the rule if I use the formula >1, <4 so i'm looking for a way to include decimal numbers too!

    Any help would be very appreciated!

    Thank you!

  2. #2
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,938

    Re: The Symbol to show a number range in a formula

    deleted due to wrong posting
    Last edited by samba_ravi; 08-10-2017 at 08:55 AM.
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  3. #3
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,077

    Re: The Symbol to show a number range in a formula

    "I'm trying to say if A1 is bigger than 1 and smaller than 4"

    Errm, nope. You've used OR() If you want and you should be using AND()
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,443

    Re: The Symbol to show a number range in a formula

    So this, maybe?

    =IF(AND(A1>1, A1<4) "example1" )
    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. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  5. #5
    Registered User
    Join Date
    08-10-2017
    Location
    london
    MS-Off Ver
    10
    Posts
    3

    Talking Re: The Symbol to show a number range in a formula

    Great thank you !

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,443

    Re: The Symbol to show a number range in a formula

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

  7. #7
    Registered User
    Join Date
    08-10-2017
    Location
    london
    MS-Off Ver
    10
    Posts
    3

    Re: The Symbol to show a number range in a formula

    You've saved me so much time, thank you very much!!

+ 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] Put a symbol after a number using a formula...
    By Losguapos1 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-15-2014, 09:07 AM
  2. Formula to find a number in a string of numbers separated by a symbol
    By cslm001 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-12-2012, 11:23 AM
  3. Find highest number of sales in a date range and show seller and sale number
    By audiofreak in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-06-2012, 03:34 AM
  4. [SOLVED] Formula returning the number of a cell that contains a number and symbol
    By thesis in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 08-08-2012, 04:14 PM
  5. Show R$ and % symbol in text box
    By Pietro Garbelini in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-01-2009, 07:09 AM
  6. Show Symbol Dialog
    By salimudheen in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 07-15-2008, 10:21 AM
  7. Show Symbol Dialog
    By salimudheen in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-15-2008, 06:46 AM

Tags for this Thread

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