+ Reply to Thread
Results 1 to 4 of 4

SUMIFS & Data Validation

  1. #1
    Forum Contributor
    Join Date
    02-01-2013
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    124

    SUMIFS & Data Validation

    Hi,

    I am using the formula below to sum in cell B8, when I insert a row after B7 the sum formula doesn't know to add this into the formula. Is there a way to do this?

    Please Login or Register  to view this content.
    Thanks

  2. #2
    Valued Forum Contributor AZ-XL's Avatar
    Join Date
    03-22-2013
    Location
    Azerbaijan, Baku
    MS-Off Ver
    Excel 2007
    Posts
    603

    Re: SUMIFS & Data Validation

    You can put your data into table and reference table headers in formula. After that, whenever you will add data below b7 the table range will enlarge and reference will include it.
    Appreciate the help? CLICK *

  3. #3
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: SUMIFS & Data Validation

    Here's one way

    =SUMIF($C$5:OFFSET($C$8,-1,0),"paid Sickness",$C$5:OFFSET($B$8,-1,0))+SUMIF($C$5:OFFSET($C$8,-1,0),"Unpaid Sickness",$C$5:OFFSET($B$8,-1,0))

    You also might want to look at dynamic named ranges
    http://www.contextures.com/xlNames01.html#Dynamic
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  4. #4
    Forum Contributor
    Join Date
    02-01-2013
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    124

    Re: SUMIFS & Data Validation

    I'll use tables, didn't think of that. Thanks for the responses guys!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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