+ Reply to Thread
Results 1 to 3 of 3

Hierarchy autocomplete values

  1. #1
    Registered User
    Join Date
    02-18-2013
    Location
    Romānia
    MS-Off Ver
    Excel 2010
    Posts
    2

    Exclamation Hierarchy autocomplete values

    Capture.JPG
    Hello there,
    I have a datasource linked to my excel and the structure that it provides tree-like (as seen in attachement).
    Basically, from this example:
    B1 3000000000 03.01.2013
    04.02.2013
    05.03.2013
    09.04.2013
    3000000001 03.01.2013
    05.02.2013
    05.03.2013
    09.04.2013
    I need to end up with this
    B1 3000000000 03.01.2013
    B1 3000000000 04.02.2013
    B1 3000000000 05.03.2013
    B1 3000000000 09.04.2013
    B1 3000000001 03.01.2013
    B1 3000000001 05.02.2013
    B1 3000000001 05.03.2013
    B1 3000000001 09.04.2013

    I have tried this as a formula: =IF(Cell= 0;Cell-1;Cell). It only works for the first row so I end up with this:
    B1 3000000000 03.01.2013
    B1 3000000000 04.02.2013
    05.03.2013
    09.04.2013
    3000000001 03.01.2013
    3000000001 05.02.2013
    05.03.2013
    09.04.2013
    Is there any way that i can solve this without macro?

  2. #2
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: Hierarchy autocomplete values

    If you have B1 in Cell "A1" then in Cell "A2" Just type =A1
    then copy the Cell "A2" (Ctrl + V)
    then Select the entire data

    Press Ctrl + G

    Select Special
    Then Select Blanks
    Then Press Ctrl + V
    You can find the desired data

  3. #3
    Registered User
    Join Date
    02-18-2013
    Location
    Romānia
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Hierarchy autocomplete values

    Hierarchy is dynamic. Refreshing the query with different selections will provide different data. For example:
    B1 3000000000 03.01.2013
    04.02.2013
    05.03.2013
    09.04.2013

    G1 3000000001 03.01.2013
    05.02.2013
    05.03.2013
    09.04.2013
    30000000004 09.07.2013
    or in attachmentCapture.JPG
    Copying values provides a static solution that constrains the key user to performing this task.
    Last edited by victor_livadaru; 09-25-2013 at 09:15 AM.

+ 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. Excel 2007 : Total Values in hierarchy order
    By rls1316 in forum Excel General
    Replies: 6
    Last Post: 04-25-2011, 10:20 PM
  2. Replies: 1
    Last Post: 11-16-2008, 02:54 PM
  3. Hierarchy
    By deutscher in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 04-02-2008, 01:04 AM
  4. Sum in hierarchy
    By hideki in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-23-2006, 02:24 PM
  5. Replies: 0
    Last Post: 01-04-2005, 09:35 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