+ Reply to Thread
Results 1 to 4 of 4

subtotal usage value problem

  1. #1
    Registered User
    Join Date
    09-10-2012
    Location
    gabarone
    MS-Off Ver
    Excel 2010
    Posts
    14

    subtotal usage value problem

    i applied the formula in colomn M but it give me an error message as it is copied downA&E usage exforum ver3.xlsx

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: subtotal usage value problem

    In M4 for example gives you an error because:

    Your formula is.

    =IF(COUNTIF($B$2:B3;B3)=1,SUMIF('A&E useage'!$A$2:$A$4,B3,'A&E useage'!$E$2:$E$4),"")

    Countif in this cell gives you 1. BUT B3 does not exist in range 'A&E useage'!$A$2:$A$4, so SUMIF, gives you an error.
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  3. #3
    Registered User
    Join Date
    09-10-2012
    Location
    gabarone
    MS-Off Ver
    Excel 2010
    Posts
    14

    Re: subtotal usage value problem

    thanks how do i correct it

  4. #4
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: subtotal usage value problem

    Try.


    =IF(COUNTIF($B$2:B3;B3)=1,SUMIF('A&E useage'!$A$2:$A$35,B3,'A&E useage'!$E$2:$E$35),"")

+ 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