+ Reply to Thread
Results 1 to 6 of 6

If function

  1. #1
    Registered User
    Join Date
    09-09-2019
    Location
    Benfleet, England
    MS-Off Ver
    2018
    Posts
    3

    If function

    I would like a function that does the following.
    If the target cell is empty = nothing
    If between 1 and 35 = .1
    If 36 = nothing
    If 37 or over = the word "Count"
    It's just beyond me

  2. #2
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,499

    Re: If function

    how about this...
    =IF(OR(A2="",A2=36),"",IF(AND(A2>=1,A2<=35),0.1,"Count"))
    change the commas to semicolons if your regional settings require.
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  3. #3
    Registered User
    Join Date
    09-09-2019
    Location
    Benfleet, England
    MS-Off Ver
    2018
    Posts
    3

    Re: If function

    Well thank you for the extraordinarily fast response! But the cell I want to access is E3 and to be frank I'm not sure just where thr E3 should figure in the equation.
    I wonder if you might be so kind as to include E3 so I can just input the formulae as it is

  4. #4
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,499

    Re: If function

    ok, this then... =IF(OR(E3="",E3=36),"",IF(AND(E3>=1,E3<=35),0.1,"Count"))

    A1 and A2 are often used by many on this forum when we are not given the exact cell locations. I assumed (and apparently was wrong) that you knew to adjust the cell location to suit your needs.

  5. #5
    Registered User
    Join Date
    09-09-2019
    Location
    Benfleet, England
    MS-Off Ver
    2018
    Posts
    3

    Re: If function

    Mon Ami, what can I say other than thank you very much you are a star

  6. #6
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,499

    Re: If function

    you are welcome, AND thank you for the rep!

+ 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. Replies: 0
    Last Post: 07-07-2018, 04:13 AM
  2. COUNTUNIQUE Function in Google Sheets; Excel lacks a direct counterpart to this function?
    By PivotTablePSHomage in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-18-2018, 05:27 AM
  3. Calling function inside function. (aka nested function)
    By jakopak in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-02-2015, 05:58 AM
  4. Replies: 1
    Last Post: 06-10-2015, 12:56 PM
  5. Replies: 13
    Last Post: 04-08-2014, 05:46 AM
  6. Replies: 2
    Last Post: 01-15-2014, 11:40 PM
  7. Replies: 1
    Last Post: 03-21-2012, 11:22 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