+ Reply to Thread
Results 1 to 11 of 11

How to define indirect range for INDEX

  1. #1
    Registered User
    Join Date
    01-30-2022
    Location
    Germany
    MS-Off Ver
    MS Office Standard 2016
    Posts
    7

    How to define indirect range for INDEX

    I've many years with Excel but there is allways someting new.

    I'm trying to use INDEX for a diagram.
    to define the matrix for the INE

    (Sorry German Excel)
    On page Daten I use the name manager to define:
    LicenseTableAvailable -> =INDEX(Daten!$B$2:$Q$1124;0;VERGLEICH(Diagramm!$B$2;Daten!$B$1:$Q$1;0))
    LicenseTableCurrentUsage -> =INDEX(INDIREKT(Diagramm!IG1);0;VERGLEICH(Diagramm!$B$3;Daten!$B$1:$Q$1;0))

    And in the diagram I use
    =Daten!LicenseTableAvailable
    =Daten!LicenseTableCurrentUsage

    A fix matrix works (Daten!LicenseTableAvailable), but it does not work to get the matrix from a cell (Diagramm!G2)
    What is the trick?
    Attached Files Attached Files
    Last edited by hansge; 01-30-2022 at 05:11 AM.

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,986

    Re: How to define indirect range for INDEX

    I think it would be a huge help if we could see a sample file!

    A picture is worth 1,000 words. An Excel sheet is worth 1,000 non-editable pictures.

    Please read the yellow banner about sample worksheets, at the top of the screen. Act on its guidelines and post a SMALL sample sheet complete with an explanation and some expected results.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Registered User
    Join Date
    01-30-2022
    Location
    Germany
    MS-Off Ver
    MS Office Standard 2016
    Posts
    7

    Re: How to define indirect range for INDEX

    I uploaded the example spreadsheet (don't know where i can see it)

  4. #4
    Forum Expert BMV's Avatar
    Join Date
    01-13-2020
    Location
    St-Petersburg, Russia
    MS-Off Ver
    2013-2016
    Posts
    1,329

    Re: How to define indirect range for INDEX

    Diagramm!IG1 - there is no data

  5. #5
    Registered User
    Join Date
    01-30-2022
    Location
    Germany
    MS-Off Ver
    MS Office Standard 2016
    Posts
    7

    Re: How to define indirect range for INDEX

    If you lokk into the name manager, the cell is corrected to G2

  6. #6
    Forum Expert BMV's Avatar
    Join Date
    01-13-2020
    Location
    St-Petersburg, Russia
    MS-Off Ver
    2013-2016
    Posts
    1,329

    Re: How to define indirect range for INDEX

    If you select a cell and look into the name manager, select another cell and look into again. The references will be changed also. Use absolutу reference with $ in stand of relative.

    INDIRECT - it is better to replace to INDEX():INDEX()
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  7. #7
    Registered User
    Join Date
    01-30-2022
    Location
    Germany
    MS-Off Ver
    MS Office Standard 2016
    Posts
    7

    Re: How to define indirect range for INDEX

    Hello BMV, thank you very much for the help. I think I understand the principle.
    In this case I don't need the values of the A:A column but the adress of the cells for the matrix of the diagram

  8. #8
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,986

    Re: How to define indirect range for INDEX

    I'm still a bit confused. What do you want to plot as the X axis and as the Y axis?

  9. #9
    Registered User
    Join Date
    01-30-2022
    Location
    Germany
    MS-Off Ver
    MS Office Standard 2016
    Posts
    7

    Re: How to define indirect range for INDEX

    The diagram is on the second page. X axis is the Date:Time, Y axis is the number under the license value (B ... Q) preselected by Diagramm!B2 and B3

  10. #10
    Registered User
    Join Date
    01-30-2022
    Location
    Germany
    MS-Off Ver
    MS Office Standard 2016
    Posts
    7

    Re: How to define indirect range for INDEX

    Спасибо.
    Hello BMV, thank you for your help.
    As I need the Index as input for a diagram, I need the cell adresses instead of only the values.
    I tried with
    ADRESSE(VERGLEICH(INDEX(Daten!$A:$A;VERGLEICH(Diagramm!$E$2;Daten!$A:$A));Daten!$A:$A);1)

    =INDEX(ADRESSE(VERGLEICH(INDEX(Daten!$A:$A;VERGLEICH(Diagramm!$E$2;Daten!$A:$A));Daten!$A:$A);1):ADRESSE(VERGLEICH(INDEX(Daten!$A:$A;VERGLEICH(Diagramm!$E$3;Daten!$A:$A));Daten!$A:$A);1);0;VERGLEICH(Diagramm!$B$3;Daten!$B$1:$Q$1;0))

    But that does not seem to work. Any tips?

  11. #11
    Registered User
    Join Date
    01-30-2022
    Location
    Germany
    MS-Off Ver
    MS Office Standard 2016
    Posts
    7

    Re: How to define indirect range for INDEX

    OK did find a way to get the correct cell adresses for the diagram to be dynamic

+ 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. Try define indirect range for INDEX
    By hansge in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 01-30-2022, 04:43 AM
  2. [SOLVED] How to define data range index from number in another cell?
    By rcurious in forum Excel General
    Replies: 5
    Last Post: 06-21-2020, 10:14 AM
  3. [SOLVED] is it posible to define data range of a chart with a formula? (indirect for example)
    By proxima centauri in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 03-09-2020, 08:23 AM
  4. Index formula calling define name with non-adjacent range
    By haidan85 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-08-2013, 05:49 AM
  5. [SOLVED] Nest mutiple indirect functions to define a range.
    By BAVE in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 11-27-2012, 10:05 AM
  6. Define chart range using indirect reference
    By Thomas in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 05-10-2006, 04:50 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