+ Reply to Thread
Results 1 to 8 of 8

Which Function should I use

  1. #1
    Registered User
    Join Date
    03-13-2012
    Location
    Chesterfield, England
    MS-Off Ver
    Excel 2007
    Posts
    15

    Which Function should I use

    I need a function something like =SUM(AB6)IF(F6:F6,"Complete") to show a number only if the work is complete (otherwise return a zero or blank)

    I have achieved a week for a site visit based on the row date, in the column AB so I can then count how many sites were visited each week and also get averages etc. However in the adjacent column I want to return the same week number but only if the row information in column F6 says complete. I cannot seem to find anything to do this.

    David

  2. #2
    Forum Contributor
    Join Date
    08-22-2011
    Location
    Texas, United States
    MS-Off Ver
    Excel 2007 and 2010
    Posts
    516

    Re: Which Function should I use

    David,

    I am not sure if i totally understand your question but would you need something like this =If(F6="Complete",Sum(AB6),0)??

  3. #3
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Which Function should I use

    HI Metrobus425,


    Suggest you to change the thread title to reflect the query being asked.. see the forum rules:-

    http://www.excelforum.com/forum-rule...rum-rules.html

    Regards,
    DILIPandey

    <click on below 'star' if this helps>
    DILIPandey, Excel rMVP
    +919810929744 (India), +971528225509 (Dubai), [email protected]

  4. #4
    Registered User
    Join Date
    03-13-2012
    Location
    Chesterfield, England
    MS-Off Ver
    Excel 2007
    Posts
    15

    Re: Which Function should I use

    Found it

    =SUM($AB6)*COUNTIF($F7:$F7,"Complete")
    =SUM($AB6)*COUNTIF($F7:$F7,"Cancelled") etc

    it was the * that I needed!

    Thanks if you have already started to look for an answer, sorry to waste your time

  5. #5
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,614

    Re: Which Function should I use

    Well, you should change title anyway as dilipandey ask you to...

    That would ensure you get answer quicklier in the future and avoid inconvenience that might happend.

    Please read Rule 1 (at least) of the Forum rules.

  6. #6
    Registered User
    Join Date
    03-13-2012
    Location
    Chesterfield, England
    MS-Off Ver
    Excel 2007
    Posts
    15

    Re: Which Function should I use

    Sorry, should have looked for replies before I posted my own found answer

    amotto11 Thank you. I will try that as an alternative and see if it works

    dilipandey Will do but that title came up on auto fill (must have used it previously without comment) and I thought it was exactly appropriate. Hadn't realised there were subject text rules!

    David

  7. #7
    Registered User
    Join Date
    03-13-2012
    Location
    Chesterfield, England
    MS-Off Ver
    Excel 2007
    Posts
    15

    Re: Which Function should I use

    I have apologised, shall remember for the future and fully understand the need for concise subject details. Of course to change it now would seem somewhat too late especially if retaining it discourages anyone to waste their time reading an already answered enquiry.

    Presumably there will be no further comments made.

    Not so sure quicklier is a word though. It is certainly underlined in red on my computer

    David

  8. #8
    Registered User
    Join Date
    03-13-2012
    Location
    Chesterfield, England
    MS-Off Ver
    Excel 2007
    Posts
    15

    Re: Which Function should I use

    amotto11 Your suggestion works exactly as well. Many thanks

+ 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