+ Reply to Thread
Results 1 to 5 of 5

How to get a formula to calculate only if a certain condition is met on another sheet

Hybrid View

  1. #1
    Registered User
    Join Date
    09-21-2011
    Location
    London
    MS-Off Ver
    365
    Posts
    71

    How to get a formula to calculate only if a certain condition is met on another sheet

    Hi there,

    I have a formula that I want to calculate only if a certain condition is met on another sheet. I have attached an example with notes, which will hopefully explain in more detail what I am trying to do. Im thinking something to do with SUMIF, but any way I have tried it I am getting error messages, so I thought rather than throw my laptop out of the window in complete frustration, I would ask someone better qualified than I.

    Thanks for looking, and thanks for any help you can give me, much appreciated.

    Kate :-)
    Attached Files Attached Files
    Last edited by necht_angel; 03-08-2012 at 05:08 AM.

  2. #2
    Forum Expert Bob Phillips's Avatar
    Join Date
    09-03-2005
    Location
    Wessex
    MS-Off Ver
    Office 2003, 2010, 2013, 2016, 365
    Posts
    3,284

    Re: How to get a formula to calculate only if a certain condition is met on another sheet

    What do you want the cells to show if the condition is not met?

  3. #3
    Registered User
    Join Date
    09-21-2011
    Location
    London
    MS-Off Ver
    365
    Posts
    71

    Re: How to get a formula to calculate only if a certain condition is met on another sheet

    If the condition is not met I want it to return "0"

  4. #4
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,687

    Re: How to get a formula to calculate only if a certain condition is met on another sheet

    Ty this in H2 cell of sheet2.

    =IF(Sheet1!C2=1,SUM(H3:I4)*$D$5,0)

  5. #5
    Registered User
    Join Date
    09-21-2011
    Location
    London
    MS-Off Ver
    365
    Posts
    71

    Re: How to get a formula to calculate only if a certain condition is met on another sheet

    Thanks so much , that worked a treat. :-)

    Kate

+ 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