+ Reply to Thread
Results 1 to 5 of 5

Additional IF Statement - Help!

  1. #1
    Registered User
    Join Date
    03-04-2014
    Location
    Portsmouth, England
    MS-Off Ver
    Excel 2010
    Posts
    21

    Question Additional IF Statement - Help!

    Hi

    I am trying to add another IF statement into my formula and it isn't working. I currrently have

    =AVERAGE(IF(ISNUMBER('Before Oct13'!$AS$2:$AS$78),IF('Before Oct13'!$L$2:$L$78="Fratton",'Before Oct13'!$AS$2:$AS$78)))

    but I want to add in another condition. I have tried the following but it doesn't give me the current answer

    =AVERAGE(IF(ISNUMBER('Before Oct13'!$AS$2:$AS$78),IF('Before Oct13'!$K$2:$K$78="4",'Before Oct13'!$L$2:$L$78="Fratton",'Before Oct13'!$AS$2:$AS$78)))

    My answer should be 1.26 but I am getting 1.12 ???

    Data is also attached for reference, any help will be appreciated.

    Thanks
    Mack
    Attached Files Attached Files

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,791

    Re: Additional IF Statement - Help!

    Try it like this:

    =AVERAGE(IF(ISNUMBER('Before Oct13'!$AS$2:$AS$78),IF(('Before Oct13'!$K$2:$K$78="4")*('Before Oct13'!$L$2:$L$78="Fratton"),'Before Oct13'!$AS$2:$AS$78)))

    Commit using Ctrl-Shift-Enter.

    Hope this helps.

    Pete

  3. #3
    Registered User
    Join Date
    03-04-2014
    Location
    Portsmouth, England
    MS-Off Ver
    Excel 2010
    Posts
    21

    Re: Additional IF Statement - Help!

    Hi

    I have tried this but I now get #DIV/0! ??

  4. #4
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,450

    Re: Additional IF Statement - Help!

    Quote Originally Posted by Pete_UK View Post
    Try it like this:

    =AVERAGE(IF(ISNUMBER('Before Oct13'!$AS$2:$AS$78),IF(('Before Oct13'!$K$2:$K$78="4")*('Before Oct13'!$L$2:$L$78="Fratton"),'Before Oct13'!$AS$2:$AS$78)))

    Commit using Ctrl-Shift-Enter.

    Hope this helps.

    Pete
    Slight typo by Pete. Just replace "4" with 4 ( double quotes make it a text string). Works perfectly

  5. #5
    Registered User
    Join Date
    03-04-2014
    Location
    Portsmouth, England
    MS-Off Ver
    Excel 2010
    Posts
    21

    Re: Additional IF Statement - Help!

    Thank You - it's working...

+ 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: 1
    Last Post: 02-06-2014, 03:00 PM
  2. [SOLVED] Multiple IF statement with additional requirements
    By Clash in forum Excel General
    Replies: 3
    Last Post: 11-01-2012, 10:35 AM
  3. Additional row
    By wmurugan in forum Word Formatting & General
    Replies: 5
    Last Post: 09-07-2012, 06:34 PM
  4. Adding additional criterial to statement
    By rhudgins in forum Excel General
    Replies: 2
    Last Post: 03-14-2011, 04:50 PM
  5. Adding additional IF statement
    By rhudgins in forum Excel General
    Replies: 1
    Last Post: 04-13-2010, 04:59 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