+ Reply to Thread
Results 1 to 11 of 11

Creating a Dynamic Graph Using Text Cell References

Hybrid View

derekjwilson Creating a Dynamic Graph... 04-01-2013, 10:55 AM
AndyLitch Re: Creating a Dynamic Graph... 04-01-2013, 11:13 AM
Andy Pope Re: Creating a Dynamic Graph... 04-01-2013, 11:16 AM
derekjwilson Re: Creating a Dynamic Graph... 04-01-2013, 11:48 AM
Andy Pope Re: Creating a Dynamic Graph... 04-01-2013, 11:52 AM
derekjwilson Re: Creating a Dynamic Graph... 04-01-2013, 12:45 PM
AndyLitch Re: Creating a Dynamic Graph... 04-01-2013, 12:50 PM
derekjwilson Re: Creating a Dynamic Graph... 04-01-2013, 01:04 PM
derekjwilson Re: Creating a Dynamic Graph... 04-01-2013, 01:06 PM
Andy Pope Re: Creating a Dynamic Graph... 04-02-2013, 06:57 AM
derekjwilson Re: Creating a Dynamic Graph... 04-02-2013, 11:43 AM
  1. #1
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,481

    Re: Creating a Dynamic Graph Using Text Cell References

    Named range xCHT_DATA
    =INDEX(INDIRECT(References!$K$4),1,1):INDEX(INDIRECT(References!$L$4),1,1)

    You will need to add additional single quote to start of cell otherwise it will be ignored.

    K4: ''Suburban (By District)'!$K$2
    L4: ''Suburban (By District)'!$U$2
    Cheers
    Andy
    www.andypope.info

  2. #2
    Registered User
    Join Date
    03-28-2013
    Location
    Calgary
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: Creating a Dynamic Graph Using Text Cell References

    Hi Andy,

    Thanks for the help. A quick question - how do I add the additional quotation mark? The text string is generated by a formula, so if I enter it, the cell turns the formula into a string.

    The formula is:

    =IF(VLOOKUP(Settings!$G$6,$B$2:$D$39,3, FALSE)="C","Suburban (By Class)","Suburban (By District)")

  3. #3
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,481

    Re: Creating a Dynamic Graph Using Text Cell References

    Something like this

    =IF(VLOOKUP(Settings!$G$6,$B$2:$D$39,3, FALSE)="C","''Suburban (By Class)","''Suburban (By District)")

    Although your formula has no single quotes so I don't know where they are coming from in the first place.

  4. #4
    Registered User
    Join Date
    03-28-2013
    Location
    Calgary
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: Creating a Dynamic Graph Using Text Cell References

    Ok - so this is what I am doing.

    =IF(VLOOKUP(Settings!$G$6,$B$2:$D$39,3, FALSE)="C","'Suburban (By Class)","'Suburban (By District)")

    [Result] >>> 'Suburban (By District)

    =ADDRESS(I4,$I$21,,,$J$2) (J2 is the previous result)

    '''Suburban (By District)'!$K$2


    For some reason, when I add in the extra ' in the first formula, the second formula outputs three 's - one that it did already, and another from who knows where.

    Essentially, 1 + 1 = 3.

    No matter what I try, I always get ', or ''', or '''', but never '' - which is apparently what I need.

    Thoughts?

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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