+ Reply to Thread
Results 1 to 20 of 20

How to use COUNT functions to subtract 1

Hybrid View

  1. #1
    Registered User
    Join Date
    08-28-2015
    Location
    Melbourne, AUS
    MS-Off Ver
    2011
    Posts
    59

    Re: How to use COUNT functions to subtract 1

    How's this?

    Formula for O3

    =SUM(INDIRECT(ADDRESS(3,2)&":"&ADDRESS(3,2+COUNTIF(B3:M3,"<>"&"")-2)))

    Formula for P3

    =INDIRECT(ADDRESS(3,2+COUNTIF(B3:M3,"<>"&"")-1))-SUM(INDIRECT(ADDRESS(3,2)&":"&ADDRESS(3,2+COUNTIF(B3:M3,"<>"&"")-2)))/(COUNTIF(B3:M3,"<>"&"")-1)

  2. #2
    Registered User
    Join Date
    08-03-2017
    Location
    wisconsin
    MS-Off Ver
    2013
    Posts
    8

    Re: How to use COUNT functions to subtract 1

    I probably didn't do the best job at the explaining. In the example, the yellow box would need to be 6 (the total of 30 divided by the previous 5 months) and the blue box would be 6.

    Putting in 20 for JUL should give the result of 7 (42 divided by 6 months) and the blue box would be 13. So the Blue looks good testing it out.

+ 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. [SOLVED] Subtract 2 sums/functions?
    By Emma Frost in forum Excel General
    Replies: 4
    Last Post: 04-01-2015, 07:51 AM
  2. userform calculations (Count, Sum, Subtract) treaky one
    By intex in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 08-17-2014, 06:42 AM
  3. Using formula for count, but not able to subtract unneeded information
    By Nina2VC in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-10-2013, 11:56 AM
  4. Replies: 1
    Last Post: 01-27-2012, 11:25 PM
  5. if functions to add and subtract values in 2 or more different cells
    By Mengo85 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-13-2010, 10:09 PM
  6. Creating a macro to add and subtract from a standing count
    By kung in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 08-06-2009, 05:02 PM
  7. Add and Subtract functions
    By Graham Moran in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-30-2006, 09:40 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