+ Reply to Thread
Results 1 to 4 of 4

SUMIF formula

  1. #1
    Registered User
    Join Date
    05-15-2014
    MS-Off Ver
    Excel 2003
    Posts
    7

    SUMIF formula

    In the 'Q1 Sum' tab im trying to write a SUMIF formula, that will capture all the normal, OT1, OT2, AL and SL from the 'Jan-March'

    For example for man number A00001, he should have 24 normal hours etc

    I have done a

    =IF('Jan-March'!A:A='Q1 Sum'!D5,SUMIF('Jan-March'!$4:$4,"Normal",'Jan-March'!$5:$14))

    However, I can't drag the formula down to work for the other man numbers, even using the $ sign, it shows 24 normal hours for man number A00002, when it should be 12

    any help appreciated, attached file
    Attached Files Attached Files

  2. #2
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: SUMIF formula

    =IFERROR(SUMIF('Jan-March'!$B$4:$QI$4,E$4,(INDEX('Jan-March'!$B$4:$QI$14,MATCH($D5,'Jan-March'!$A$4:$A$14,0),))),0)
    Try this in cell "E5" of Sheet Q1 Sum and copy across
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  3. #3
    Registered User
    Join Date
    05-15-2014
    MS-Off Ver
    Excel 2003
    Posts
    7

    Re: SUMIF formula

    Excellent , worked perfectly

  4. #4
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: SUMIF formula

    Thanks for your reply and reputation points

+ 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. Replies: 2
    Last Post: 09-16-2014, 10:13 AM
  2. [SOLVED] Shorten SUMIF + SUMIF + SUMIF each with same reference range but different criteria???
    By HeyInKy in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 04-13-2014, 09:25 PM
  3. SUMIF or SUMIF's formula with multiple criteria
    By jackiemariee in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-30-2013, 06:19 PM
  4. SumIF formula with criteria is Text inside a Formula?
    By excellentlearner in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-25-2012, 06:40 PM
  5. [SOLVED] Is there a MAXIF formula similar to the SUMIF formula?
    By tlc in forum Excel General
    Replies: 2
    Last Post: 03-13-2006, 04:10 PM

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