+ Reply to Thread
Results 1 to 6 of 6

Need help with Offset formula

  1. #1
    Registered User
    Join Date
    12-12-2013
    Location
    Singapore
    MS-Off Ver
    Excel 2010
    Posts
    11

    Smile Need help with Offset formula

    Hi all,

    I am trying to create a dynamic Excel line chart.

    All is well, except for my x-axis (which is a text axis). It currently looks like this: Dynamic axis.jpg

    I am using the Offset formula. The formula for my x-axis is =OFFSET(Worksheet1!$D$4,0,-3,COUNT(Worksheet1!$D$4:$D$36)). This is to show the axis if cells in Column D are filled up appropriately.

    However, in the cells containing the axis name itself, this formula is used =IF(D9=0,NA(),'Worksheet2'!A6). I've tried removing the formula from these cell, but that didn't solve the problem.

    I appreciate any help provided.
    Last edited by pazuuu; 05-28-2014 at 04:00 AM.

  2. #2
    Valued Forum Contributor adyteo's Avatar
    Join Date
    01-10-2013
    Location
    Calgary
    MS-Off Ver
    Excel 2010
    Posts
    540

    Re: Need help with Offset formula

    First, I believe you need to use COUNTA instead of COUNT.
    COUNT is for numbers, COUNTA is for text.

    It would really help if you upload the file (remove any confidential info).
    Click on the star if you think I helped you

  3. #3
    Registered User
    Join Date
    12-12-2013
    Location
    Singapore
    MS-Off Ver
    Excel 2010
    Posts
    11

    Re: Need help with Offset formula

    I tried using Counta, but then the text didn't come up at all on the axis.

    Attached is the file. Thank you. ^^
    Attached Files Attached Files

  4. #4
    Valued Forum Contributor adyteo's Avatar
    Join Date
    01-10-2013
    Location
    Calgary
    MS-Off Ver
    Excel 2010
    Posts
    540

    Re: Need help with Offset formula

    In the graph, select data and for the median correct the formula: you need to add the name Median (the one you defined with Offset): =Sample.xls!Median

    then it will work (it worked for me)

  5. #5
    Valued Forum Contributor adyteo's Avatar
    Join Date
    01-10-2013
    Location
    Calgary
    MS-Off Ver
    Excel 2010
    Posts
    540

    Re: Need help with Offset formula

    and replace COUNTA with COUNT for both names (Median and Percentage)

  6. #6
    Registered User
    Join Date
    12-12-2013
    Location
    Singapore
    MS-Off Ver
    Excel 2010
    Posts
    11

    Re: Need help with Offset formula

    Oh yes! It worked!

    Thank you 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. function similar to offset to offset the offset
    By Jerseynjphillypa in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-03-2012, 03:07 PM
  2. Reformatting - insert formula with offset, then offset to next cell
    By Armitage2k in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-06-2011, 05:41 AM
  3. offset formula
    By mohan.r1980 in forum Excel General
    Replies: 2
    Last Post: 11-22-2010, 08:56 AM
  4. Replies: 2
    Last Post: 10-08-2009, 09:51 PM
  5. Replies: 2
    Last Post: 01-03-2006, 05:42 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