+ Reply to Thread
Results 1 to 2 of 2

IFCOUNT formula help

Hybrid View

  1. #1
    Registered User
    Join Date
    01-24-2015
    Location
    florida
    MS-Off Ver
    2007
    Posts
    3

    IFCOUNT formula help

    I need help... I'm using Excel 2007
    I am making a Monday-Sunday employee schedule and I would like to am tring to add a Vacation Value. When I type "VAC" I have it add 8 hours to the total hours column With =IF(COUNTIF(B6,"*vac*"),8,0)

    That works perfectly


    What I'm tring to do is have a formula that will count the number of times I "VAC" in the row and multiply that by my true value of 8. Like if they take 2 "VAC" days it will add 16 to the total hours
    but cant figure out how to write it...

    The only thing I can do is add...

    =IF(COUNTIF(B6,"*vac*"),8,0)+IF(COUNTIF(C6,"*vac*"),8,0)+IF(COUNTIF(D6,"*vac*"),8,0)+IF(COUNTIF(E6,"*vac*"),8,0)+IF(COUNTIF(F6,"*vac*"),8,0)+IF(COUNTIF(G6,"*vac*"),8,0)+IF(COUNTIF(H6,"*vac*"),8,0)

    But there has to be a simple-shorter way right......Please help
    Last edited by tprivitor; 01-24-2015 at 10:14 PM. Reason: added excel version

  2. #2
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: IFCOUNT formula help

    Try it like this...

    =COUNTIF(B6:H6,"*vac*")*8
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

+ 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. Expanding IFCOUNT formula to include other variable
    By icets in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 06-26-2011, 11:36 AM
  2. Excel 2007 : VLOOKUP and IfCount
    By Bluseals in forum Excel General
    Replies: 9
    Last Post: 06-21-2010, 12:10 PM
  3. [SOLVED] Ifcount + and
    By Charles Woll in forum Excel General
    Replies: 7
    Last Post: 02-05-2006, 02:55 AM
  4. [SOLVED] multiple criteria ifcount()
    By NAGBEAR in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-15-2005, 02:40 PM
  5. Need a help with the IF/ IFCOUNT function
    By Xenos in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-23-2005, 11:47 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