+ Reply to Thread
Results 1 to 3 of 3

Multiple Functions in Formula

  1. #1
    Registered User
    Join Date
    07-25-2012
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    48

    Multiple Functions in Formula

    I'm trying to take cells with text, convert that to a number and then summing that column or row. In the example I have the first row's cells (a1:e1) populated with either a "y" or "n". What I want to do is if the cell equals "y" then y=1 and then to sum the row (under the assumption that "n" is blank and therefore equals zero). In my example the sum should be 3 and I keep getting 1. Then to take it a step further I'd like the next formula to count a total sum of "y" + "n" and have it give me a percentage. So the example would be 3y's + 2n's = 5 and y=60%. I've done this so many times before, but it's been awhile and I can't waste anymore time trying to remember.

    Thanks in advance!
    Attached Files Attached Files

  2. #2
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Multiple Functions in Formula

    Try
    =COUNTIF(A1:E1,"y")

    Then for the %
    =F1/COUNTA(A1:E1)

    Where F1 contains the first formula using countif..

  3. #3
    Forum Expert
    Join Date
    10-09-2012
    Location
    Dallas, Texas
    MS-Off Ver
    MO 2010 & 2013
    Posts
    3,049

    Re: Multiple Functions in Formula

    I am not exactly sure on what format you wanted, but this works.

    Example 1.15.xlsx

    Edit: I basically just did what Jonmo1 did.
    Please ensure you mark your thread as Solved once it is. Click here to see how.
    If a post helps, please don't forget to add to our reputation by clicking the star icon in the bottom left-hand corner of a post.

+ 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] How to reduce multiple IF functions in formula
    By Regina HR in forum Excel Formulas & Functions
    Replies: 20
    Last Post: 09-18-2014, 07:17 AM
  2. Multiple functions in one formula
    By Dannibm in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-10-2011, 06:18 PM
  3. multiple functions in one formula
    By ErikVegas in forum Excel General
    Replies: 6
    Last Post: 05-12-2010, 12:59 PM
  4. Create a formula using multiple if and functions?
    By mollyp in forum Excel General
    Replies: 1
    Last Post: 11-11-2009, 12:25 AM
  5. Question re multiple functions in a formula...
    By doublejoy529 in forum Excel General
    Replies: 3
    Last Post: 08-02-2008, 02:39 PM

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