+ Reply to Thread
Results 1 to 7 of 7

Select cases if cell empty or contains range

  1. #1
    Registered User
    Join Date
    06-30-2015
    Location
    AA
    MS-Off Ver
    2010
    Posts
    8

    Select cases if cell empty or contains range

    Hi everyone,

    I would like to write a formula which will turn "use" in case cells are empty or contain certain value (30< and >150)

    Thanks for support, Karen

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,161

    Re: Select cases if cell empty or contains range

    What cells?
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Expert
    Join Date
    10-06-2017
    Location
    drevni ruchadlo
    MS-Off Ver
    old
    Posts
    2,251

    Re: Select cases if cell empty or contains range

    What does this condition "30< and >150" mean ?
    "Less then 30 and more then 150" or "more then 30 and more then 150" ?

  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,460

    Re: Select cases if cell empty or contains range

    Try this:

    =IF(OR(A1="",A1<30,A1>150),"Use","")

    where A1 is the cell containing data that you want to check.
    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
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,161

    Re: Select cases if cell empty or contains range

    I thought it might be between 30 and 150, thus requiring an AND in the mix.

    But the OP hasn't clarified the requirements.

  6. #6
    Registered User
    Join Date
    06-30-2015
    Location
    AA
    MS-Off Ver
    2010
    Posts
    8

    Re: Select cases if cell empty or contains range

    Thank you all very much for your support.

  7. #7
    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,460

    Re: Select cases if cell empty or contains range

    Thanks for the rep!

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

+ 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. Select next non empty cell from selected list range with VBA
    By chris.cy in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-14-2016, 01:16 PM
  2. How to select next empty cell in row for a specific range?
    By 9mouse in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-15-2016, 08:28 AM
  3. Select range until first empty cell in a column
    By Hadoushi in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-20-2015, 07:29 AM
  4. [SOLVED] Select non-empty cell range with VBA
    By mexykanu in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 12-09-2013, 10:24 AM
  5. [SOLVED] Select the last empty cell of the range specific
    By marreco in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-06-2013, 09:48 AM
  6. Select Empty Cell Within a DropDown List Box's Range
    By bdb1974 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-05-2010, 06:58 PM
  7. select first empty cell in a range
    By Shawn in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-12-2005, 08:05 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