+ Reply to Thread
Results 1 to 4 of 4

Excel IF functions

  1. #1
    Registered User
    Join Date
    10-21-2014
    Location
    Sweden
    MS-Off Ver
    Office 365 ProPlus
    Posts
    3

    Excel IF functions

    I have two tabs 'Attendance' and 'Operations'.
    In the first tab I have every day of the month running along the top. Column A, I have a list of employees.
    For each day I have put in the hours they have worked for that particular day and this automatically turns green.
    In column B I have the employees discipline i.e Installation.
    I need a formula which will allow the following:
    - Will read the rows that have ‘installation’ in column B and add up the total hours in a particular week (week x) on that row that the word ‘installation’ was found.
    This total will go into tab 2 under ‘installation’ and Week X
    Note: the days are not grouped into weeks, just have cells from Monday to Tuesday.
    Is this possible without a macro?
    I have got it working but it only adds up the first row that contain ‘installation’.

  2. #2
    Forum Expert
    Join Date
    09-11-2014
    Location
    Washington, DC
    MS-Off Ver
    2016
    Posts
    1,907

    Re: Excel IF functions

    Can you post a sample workbook?

  3. #3
    Registered User
    Join Date
    10-21-2014
    Location
    Sweden
    MS-Off Ver
    Office 365 ProPlus
    Posts
    3

    Post Re: Excel IF functions

    Here I have provided a very simple example.
    The days across the top are for the whole year however the example only includes a portion of July.
    Attached Files Attached Files

  4. #4
    Forum Expert
    Join Date
    09-11-2014
    Location
    Washington, DC
    MS-Off Ver
    2016
    Posts
    1,907

    Re: Excel IF functions

    Based on your information, as far as I know (and without getting real messy), the logical way to do this is through a mega formula that involved OFFSET, MATCH, ADDRESS, and INDIRECT. Someone more skilled may be able to add in their two cents, but I would cross post this to the VBA forum and see what help you could get there.
    Spread the love, add to the Rep

    "None of us are as smart as all of us."

+ 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. Which Excel functions work in user-defined functions ?
    By RogeratCCCC in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 04-28-2012, 06:47 PM
  2. Replies: 1
    Last Post: 02-10-2012, 05:27 PM
  3. excel functions similar/the same as VBA functions
    By FRIEL in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-21-2008, 05:39 AM
  4. Replies: 0
    Last Post: 11-15-2007, 05:24 AM
  5. [SOLVED] User-defined functions created in Excel 2000 fail in Excel 2003
    By goodguy in forum Excel General
    Replies: 1
    Last Post: 10-03-2005, 03:05 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