+ Reply to Thread
Results 1 to 2 of 2

Multiple IFs?

Hybrid View

  1. #1
    Valued Forum Contributor Blake 7's Avatar
    Join Date
    10-01-2010
    Location
    Bogota, Colombia
    MS-Off Ver
    Excel 2010 64 bit and Excel 2007,
    Posts
    1,377

    Re: Multiple IFs?

    Hi Mark - If i was a forum guru I would be able to give you a single formula to put into Col C - maybe something like index sum mod columns blah blah! However, if you are willing to accept a helper column then this way should work. All of these formulea have been previously posted on this forum - i have just mixed and match to meet your needs.

    Ok

    In E1 confirmed with CSE and dragged down

    =INDEX(Claim,MATCH(0,IF(MAX(NOT(COUNTIF($E$1:E1,Claim))*(COUNTIF(Claim,">"&Claim)+1))=(COUNTIF(Claim,">"&Claim)+1),0,1),0))
    This will give you a unique count of all Claim #'s from col a. You can add new claim #'s to col a and they will appear in col e

    But first you need to put this formula into the name manager

    =OFFSET(Sheet1!$A$2,0,0,COUNT(IF(Sheet1!$A$2:$A$1000="","",1)),1)
    then put

    =COUNTIF(A:A,E2)

    in F2 - it is a simple count if of the number of times a unique claim number appears in col a.

    then put

    =SUMIF(A:A,E2,B:B)/F2
    in C2

    and you have your answer.

    See attached. I would reocommend that you rearrange the worksheet to make it nicer. ie hide the helper cols.

    Any probs please ask.
    Attached Files Attached Files
    Last edited by Blake 7; 03-11-2011 at 04:07 AM.
    Blake 7

    If your question has been answered, please click EDIT in your original post, click GO ADVANCED and set the PREFIX box to SOLVED.

    If any member's response has helped to solve your problem, please consider using the scales icon on the top right of their post to show your appreciation.

    http://failblog.org/

+ 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