+ Reply to Thread
Results 1 to 7 of 7

Calculate % Change Across 4 Columns when only some columns are populated

  1. #1
    Registered User
    Join Date
    03-24-2014
    Location
    Atlanta, GA
    MS-Off Ver
    Excel 2010
    Posts
    9

    Calculate % Change Across 4 Columns when only some columns are populated

    This is my first post so hope someone is helpful out there.

    This is a piece of a spreadsheet meant to track patient Range of Motion performance over a max of 4 weeks.
    How do I calculate % Improvement [write the formula for column J] to account for the fact that sometimes a patient is discharged after being seen 2 weeks OR 3 weeks or 4 weeks. I don't want to change the formula every time.

    The SUMMARY % Improvement in J7 - will be changed to the average of each individual patient % Improvement from column J.

    Looks like I need a dynamic range from what I can see from Googling. Do I need to use Offset ?
    Appreciate the help in advance.
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Calculate % Change Across 4 Columns when only some columns are populated

    Not necessarily
    in J11, try
    =(LOOKUP(100, Table145[@[Wk 1 H Flex]:[Wk 4 H Flex]])- E11)/E11

    Assumes you are always looking for last value. Otherwise, you could use MAX
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Registered User
    Join Date
    03-24-2014
    Location
    Atlanta, GA
    MS-Off Ver
    Excel 2010
    Posts
    9

    Re: Calculate % Change Across 4 Columns when only some columns are populated

    Thanks for the quick response. I popped the formula into J11 but received a formula error.
    Not sure why?

  4. #4
    Registered User
    Join Date
    03-24-2014
    Location
    Atlanta, GA
    MS-Off Ver
    Excel 2010
    Posts
    9

    Re: Calculate % Change Across 4 Columns when only some columns are populated

    Thanks for the quick response. I popped the formula into J11 but received a formula error.
    Not sure why?

  5. #5
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Calculate % Change Across 4 Columns when only some columns are populated

    I miss-posted the formula initially, did you use my edited one. See attachment.
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    03-24-2014
    Location
    Atlanta, GA
    MS-Off Ver
    Excel 2010
    Posts
    9

    Re: Calculate % Change Across 4 Columns when only some columns are populated

    Thanks I see you are finding the largest value from the last column with data. thanks but I still need to calculate % improvement from the Week1 column. I tried a couple of things but it didn't work.

  7. #7
    Registered User
    Join Date
    03-24-2014
    Location
    Atlanta, GA
    MS-Off Ver
    Excel 2010
    Posts
    9

    Re: Calculate % Change Across 4 Columns when only some columns are populated

    1000 pardons -- I see you solved the equation in column J.
    Many thanks for the assistance

+ 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] Calculate NETWORKDAYS from multiple columns and return NA if columns not populated yet
    By Cdavies in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-16-2014, 10:51 AM
  2. [SOLVED] Checking if columns are populated based on other columns in vba
    By EM1987 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-06-2013, 11:03 AM
  3. Need to loop through all populated columns
    By Analyst_Jim in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-30-2011, 07:46 PM
  4. Problem to calculate differences in cell values when columns change.
    By chrisjc19 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-09-2011, 11:03 AM
  5. 3 columns, show value of last one populated...
    By JPD in forum Excel General
    Replies: 16
    Last Post: 06-24-2011, 01:32 PM

Tags for this Thread

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