+ Reply to Thread
Results 1 to 2 of 2

Appropriate Formula requird..

  1. #1
    Registered User
    Join Date
    04-18-2013
    Location
    Pakistan
    MS-Off Ver
    Excel 2010
    Posts
    1

    Question Appropriate Formula requird..

    Hi! i m Uralmi, I m working on a leave record spread sheet, the problem I m facing is that after calculating 1-type of leave ( E4:AI4), results are total in a another cell (AJ4) with a formula IF(COUNTIF(E4:AI4,"c")=0,"",COUNTIF(E4:AI4,"c")) that is simple..., and another type of leave count say (E4:AI4) in another one (AM4) entering the formula =IF(COUNTIF(F4:AJ4,"h")=0,"",COUNTIF(F4:AJ4,"h")), Now what i m trying to do is to find a way that even if there is no data in either products (AJ4) or (AM4) I get an empty cell AND if there is a data in either of the product cells (AJ4 or AM4) it returns me the value in cell (AO4), i tried the formula =IF(ISNUMBER(AJ4),AM4+(VALUE(AJ4))), problem now is that if one of the cells AJ4 or AM4 are empty the cell AO4 retuns a #### value......

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,044

    Re: Appropriate Formula requird..

    Hi and welcome to the forum

    We would love to help you with your question, but 1st, in accordance with forum rule, please rename your thread to something more meaningful, that actually describes your problem.

    Because thread titles are used in searching the forum it is vital they be written to accurately describe your thread content or overall objective using ONLY search friendly key words. That is, your title used as search terms would return relevant results.

    Also, many members will look at a thread title, and if it is of interest to them, or it falls within their area of expertese, they might only open those threads.

    Look at it this way...if you typed that title into google, what would you expect to get back?
    To change a Title on your post, click EDIT on you're 1st post, then Go Advanced and change your title
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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