+ Reply to Thread
Results 1 to 6 of 6

Using countif and if function to populate answers

  1. #1
    Registered User
    Join Date
    09-16-2014
    Location
    Canberra
    MS-Off Ver
    MS 2003
    Posts
    2

    Using countif and if function to populate answers

    Hi,

    I have been having trouble with using the output from a countif function then based o the answer I would try to use a if function to populate another table on a separate tab based on the category it ranked.
    COUNTIF(D3:J3,$M$3)
    IF(Sheet1!K3="3",$E$3,IF(Sheet1!K3="5",$E$4,IF(Sheet1!K3="6",$E$5)))

    Sample1.xlsx

    Please help

  2. #2
    Valued Forum Contributor
    Join Date
    10-06-2008
    Location
    Norway
    MS-Off Ver
    2010
    Posts
    365

    Re: Using countif and if function to populate answers

    Hi, try without the "" around number values 3, 5 & 6.

  3. #3
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Using countif and if function to populate answers

    Like this, maybe?
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  4. #4
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,710

    Re: Using countif and if function to populate answers

    Formula for C3
    Please Login or Register  to view this content.
    Attached Files Attached Files

  5. #5
    Forum Expert boopathiraja's Avatar
    Join Date
    07-12-2013
    Location
    Coimbatore,TamilNadu, India
    MS-Off Ver
    Excel 2007, 2013, 2016, 365
    Posts
    1,455

    Re: Using countif and if function to populate answers

    Hi, Try the below in C3 and Drag it down

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Click just below left if it helps, Boo?ath?

  6. #6
    Registered User
    Join Date
    09-16-2014
    Location
    Canberra
    MS-Off Ver
    MS 2003
    Posts
    2

    Re: Using countif and if function to populate answers

    Thanks for the replies I have applied the formula and am tweaking my master sheet

+ 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. Help! 5 answers function.
    By hellokity in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-16-2014, 07:56 AM
  2. Is there a way to populate a cell with 1 of 4 possible answers?
    By pfulghum in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 10-03-2012, 10:03 AM
  3. Is there a way to populate a cell with 1 of 4 possible answers?
    By pfulghum in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-27-2012, 10:39 AM
  4. Countif formula for multiple searches and answers in one cell
    By RTrac in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-11-2012, 05:00 PM
  5. [SOLVED] Count the number of matches in a row of one word answers with a row of correct answers
    By flammer4 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-03-2012, 01:17 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