+ Reply to Thread
Results 1 to 5 of 5

Calculating blank cells, IF & SUM

Hybrid View

  1. #1
    Registered User
    Join Date
    01-08-2015
    Location
    Hull
    MS-Off Ver
    2013
    Posts
    6

    Calculating blank cells, IF & SUM

    Morning,

    For years I've found answers on this forum without ever needing to join and open a thread. However the day has finally come.

    Aim of the spreadsheet:
    My colleagues at work designed a simple spreadsheet to monitor participation rates for various sports events at 3 different locations. I'm trying to make it summarise these numbers over the course of 7 weeks. There are 2 summary sheets, one that summarises both male and female participation together and one that summarises only female participation, for each location. After week 2 on the summary sheet there are columns to calculate percentage rise or fall. I've attached the document, feel free to take a look.

    The problem:
    I don't want excel to calculate percentage fall between weeks before both weeks figures have been inputted. In the Female Summary section I've managed to achieve this with this formula: =IF('Week 2'!D41="","",'Week 2'!D41)

    However in the General formula I can't work it out. It's quite hard to explain so feel free to take a look and I will answer any questions.

    I'd have thought this would work: =IF('Week 2'!C41:D41="0","",'Week 2'!C41:D41)
    It doesn't though for some reason.


    Cheers

    Ollie
    Last edited by Wheats142; 01-08-2015 at 08:12 AM.

  2. #2
    Valued Forum Contributor
    Join Date
    02-05-2013
    Location
    Jakarta, Indonesia
    MS-Off Ver
    Excel 2013
    Posts
    571

    Re: Calculating blank cells, IF & SUM

    Like this?

    =IF(SUM('Week 1'!C41:D41)=0,"",SUM('Week 1'!C41:D41))
    btw on summary general cell I3 you must change a little like this:
    =IF(OR(B3="",F3=""),"",SUM((F3-B3)/B3))
    Last edited by SDCh; 01-08-2015 at 06:00 AM. Reason: add btw....
    Click (*) if you received helpful response.

    Regards,
    David

  3. #3
    Registered User
    Join Date
    01-23-2014
    Location
    Romania
    MS-Off Ver
    Excel 2016
    Posts
    54

    Re: Calculating blank cells, IF & SUM

    Maybe, you just missed the 'sum' before C41:D41?
    =IF(SUM('Week 2'!C41:D41)=0,"",SUM('Week 2'!C41:D41))

  4. #4
    Registered User
    Join Date
    01-08-2015
    Location
    Hull
    MS-Off Ver
    2013
    Posts
    6

    Re: Calculating blank cells, IF & SUM

    Awesome!

    I was so close...

    Thanks a lot for the quick reply

  5. #5
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Calculating blank cells, IF & SUM

    Try this:

    =IF(SUM('Week 1'!C41:D41)=0,"",SUM('Week 1'!C41:D41))

    but it looks like your data would benefoiit from a bit more organisation, the the formula can't be copied down, since your entries in Col A don't fall in a numerical sequence
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

+ 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. Calculating Trends while by-passing Blank Cells
    By wytske in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-13-2013, 06:35 PM
  2. Calculating due dates on possible blank cells
    By toxicatom in forum Excel General
    Replies: 2
    Last Post: 01-18-2012, 05:48 PM
  3. My formula a calculating blank cells
    By luederb in forum Excel General
    Replies: 1
    Last Post: 06-18-2010, 12:04 AM
  4. Replies: 4
    Last Post: 10-17-2008, 11:47 AM
  5. calculating average with blank cells
    By marvinks in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-07-2006, 11:34 AM

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