+ Reply to Thread
Results 1 to 4 of 4

Can anyone help me sort this IF/Countif formula

  1. #1
    Registered User
    Join Date
    11-28-2013
    Location
    Sydney
    MS-Off Ver
    Excel 2003
    Posts
    2

    Smile Can anyone help me sort this IF/Countif formula

    Hi

    I have problem with this formula in which its work fine for cells that contain values and return result accordingly (24 & 18) but I am trying to find a way for its not to return any result at all (leave the cell blank) if the targeted cell is blank

    The current formula i have is

    =IF(COUNTIF(N2,">=3334"),"24","18")

    can anyone help???


    Thank you very much

    Nat

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,156

    Re: Can anyone help me sort this IF/Countif formula

    welcome to the forum, Nat. try:
    =IF(N2="","",IF(COUNTIF(N2,">=3334"),"24","18"))

    you actually don't need countif too if it's just a single cell
    =IF(N2="","",IF(N2>=3334,"24","18"))

    and if you want the results in numbers, don't put the double quotes on 24 & 18
    =IF(N2="","",IF(N2>=3334,24,18))

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Forum Expert dredwolf's Avatar
    Join Date
    10-27-2012
    Location
    Clearwater,Canada
    MS-Off Ver
    Excel 2007
    Posts
    2,649

    Re: Can anyone help me sort this IF/Countif formula

    self deleted
    A picture may be worth a thousand words, BUT, a sample Workbook is worth a thousand screenshots!
    -Add a File - click advanced (next to quick post), scroll to manage attachments, click, select add files, click select files, select file, click upload, when file shows up at bottom left, click done (bottom right), click submit
    -To mark thread Solved- go top of thread,click Thread Tools,click Mark as Solved
    If you received helpful response, please remember to hit the * of that post

  4. #4
    Registered User
    Join Date
    11-28-2013
    Location
    Sydney
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Can anyone help me sort this IF/Countif formula

    Thank you very much

    I am learning excel atm, so many formula and confusion lol

+ 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: 3
    Last Post: 04-18-2013, 11:59 AM
  2. CountIF and Sort Function
    By keerthivasan.u in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-05-2013, 07:55 AM
  3. Countif Formula /Sort Bug???
    By orcfodder in forum Excel General
    Replies: 2
    Last Post: 01-12-2006, 06:10 AM
  4. Countif formulas change after doing a sort
    By Bob Smith in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-03-2006, 07:25 PM
  5. using sumif & countif to sort multiple cells
    By floridasurfn in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-27-2005, 06:06 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