+ Reply to Thread
Results 1 to 3 of 3

Claculating % change with three conditions

  1. #1
    Registered User
    Join Date
    03-27-2017
    Location
    New Jersey
    MS-Off Ver
    2013
    Posts
    2

    Claculating % change with three conditions

    HI,

    I tried to use formulas for similar tasks already posted in this forum, but I did not work. Here is my situation:

    I have two columns with values for two periods. Let’s say it is library enrollment per county for the year 2017 and year 2016. I need to calculate percent change. Sounds simple. But for both 2017 and 2016 there are counties that had 0 enrollees. If this happened in 2017, then I can use iferror formula and add -100%. If number of enrollees was 0 in 2016, then I can add 100%. If number of enrollees was the same in 2017 and 2016, that’s 0% percent change. But I do not know how to nest all three conditions in one formula. I keep getting either "too many arguments" or #DIV, or incorrect values because one of these conditions did not work. Can anyone help please???

    Simplified table looks like this:
    COL A COL B COL C COL D
    2017 Enrollees 2016 Enrollees % Change
    Cty A 56 15
    Cty B 12 0
    Cty C 25 25
    Cty D 0 69
    Cty E 0 0

    Thanks so much!!!

  2. #2
    Forum Expert dosydos's Avatar
    Join Date
    12-09-2015
    Location
    Massachusetts
    MS-Off Ver
    365(PC) V:2308
    Posts
    1,472

    Re: Claculating % change with three conditions

    assuming your 2017 data starts in cell A2 and your 2016 data starts in B2, then use this formula:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    03-27-2017
    Location
    New Jersey
    MS-Off Ver
    2013
    Posts
    2

    Re: Claculating % change with three conditions

    This works, yeeey! Thanks so much!!!

+ 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. Change from checking if 2 conditions are true to if any of 4 conditions are true
    By tafoyavision in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-26-2014, 02:17 PM
  2. Replies: 1
    Last Post: 03-26-2014, 02:14 PM
  3. formula for claculating 24 hours before or after date/time stamp
    By rjc1971 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-24-2013, 05:08 PM
  4. Change value based on conditions
    By Vrhovni Bog in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-25-2013, 07:02 AM
  5. Background coloring change, under several conditions
    By carlosmaldonado in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-18-2011, 07:13 PM
  6. Formula for claculating all workbooks in a given directory.
    By scaffdog845 in forum Excel General
    Replies: 1
    Last Post: 10-09-2008, 10:26 PM
  7. Change color of text if conditions are met.
    By tnielsen91 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-09-2007, 11:35 AM
  8. [SOLVED] Change Colors With 5 Different Conditions
    By Minitman in forum Excel Programming / VBA / Macros
    Replies: 24
    Last Post: 07-27-2005, 05:05 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